Created 06-08-2016 06:57 AM
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
Created 06-09-2016 03:21 AM
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
Created 06-08-2016 07:46 AM
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
Created 06-08-2016 12:08 PM
We'd also need to see the last section of /var/log/ambari-server/ambari-server.log
Created 06-08-2016 05:38 PM
Can you also run netstat -tulpn | grep 8080 (assuming that the ambari port is 8080)?
Created 06-09-2016 03:21 AM
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