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 wont work after restart Need urgent help

Solved Go to solution
Highlighted

Ambari wont work after restart Need urgent help

Contributor

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

Accepted Solutions
Highlighted

Re: Ambari wont work after restart Need urgent help

Contributor

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
Highlighted

Re: Ambari wont work after restart Need urgent help

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

Re: Ambari wont work after restart Need urgent help

Super Collaborator

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

Highlighted

Re: Ambari wont work after restart Need urgent help

Explorer

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

Highlighted

Re: Ambari wont work after restart Need urgent help

Contributor

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

Don't have an account?
Coming from Hortonworks? Activate your account here