Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ambari server java process has stopped , waiting for ambari agent to connect ?

ambari server java process has stopped , waiting for ambari agent to connect ?

New Contributor

43570-capture-du-2017-11-11-140043.png

Hi everyone, I hope that all is fine with you'll, I am running HDP 2.6 docker version on ubuntu.

I was trying to start the HDP "./start_sandbox-hdp.sh"

but it look its not going to start, alot of problems and a lot of errors.

I am a beginner in Big Data, who can help me to resolve these problems.

please find screen shot below.

Thanks

2 REPLIES 2

Re: ambari server java process has stopped , waiting for ambari agent to connect ?

Super Mentor

@Aymen Rahal

The problem seems to be at the Ambari Server Startup.

Ambari-server is not starting fine and hence the agents are not able to connect to it.

So in order to findout why ambari-server process is exiting with Error code -1 we will need to check the "/var/log/ambari-server/ambari-server.log"

So please share the ambari-server.log and ambari-server.out file.

Most possible cause may be that your Postgres SQL server might not be running. So please check if your Postgres SQL server is running fine or not?

Please perform the following steps to see if it works:

0). Login to the Sandbox using port 2222 as SSH port :

# ssh root@localhost  -p 2222
Enter Password: hadoop

1). Restart Postgresql:

[root@sandbox ~]# service postgresql restart

2). Try to start ambari server and ambari agent manually one by one

[root@sandbox ~]# ambari-server restart
[root@sandbox ~]# ambari-agent restart

3). Still if it fails then please share the ambari-server .log.

.

Re: ambari server java process has stopped , waiting for ambari agent to connect ?

New Contributor

hello

I tried to connect to localhost but it was closed.

I tried to start the postgresql service but failed.

postgresql won't work.

how can i find the ambari-server.log (I am just a biginner )

find the screenshots.

42559-ssh-closed.png

42560-postgresambariserver.png