Support Questions

Find answers, ask questions, and share your expertise

Ambari wont work after restart Need urgent help

avatar
Rising Star

Hi All,

Ambari server started hanging .After restart it is not listening any more on port 8080 .It gives the following log while starting.

# service ambari-server start -v -g
Using python  /usr/bin/python
Starting ambari-server
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Ambari Server is not running...
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server running with administrator privileges.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Organizing resource files at /var/lib/ambari-server/resources...
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Running server: ['/bin/sh', '-c', "ulimit -n 10000 ; /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-28.b13.el6_6.x86_64/bin/java -server -XX:NewRatio=2 -XX:+UseConcMarkSweepGC   -Xms8192m -Xmx16384m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false  -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n -cp '/etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/mysql-connector-java.jar' org.apache.ambari.server.controller.AmbariServer > /var/log/ambari-server/ambari-server.out 2>&1 || echo $? > /var/run/ambari-server/ambari-server.exitcode &"]
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.

Please help

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi All fixed the issue /var/log was full .mysql was giving errors cz of this .

Port 8080 was not listening .Cleared the /var and restarted Ambari everything started working 🙂

Thanks for your support

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Abdul Shihab

Can you check the Ambari server port values in

/etc/ambari-server/conf/ambari.properties

Can you use this link to change the default port and try restarting the ambari server

avatar
Super Collaborator

We'd also need to see the last section of /var/log/ambari-server/ambari-server.log

avatar
Rising Star

Can you also run netstat -tulpn | grep 8080 (assuming that the ambari port is 8080)?

avatar
Rising Star

Hi All fixed the issue /var/log was full .mysql was giving errors cz of this .

Port 8080 was not listening .Cleared the /var and restarted Ambari everything started working 🙂

Thanks for your support