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 2.7.3 Server not yet listening on http port 8080 after 90 seconds

Ambari 2.7.3 Server not yet listening on http port 8080 after 90 seconds

New Contributor

Hello

 

This is new ambari install on a clean box.

 

I tried to increased the time to 240seconds but didnt help also changed the defualt port from 8080 to 9090 but it is still failing

Server not yet listening on http port 9090 after 240 seconds. Exiting.

 

I'm using postgres db for ambari on a different server. The postgres is reachable, firewall is not  blocking the connection.

 

This is my command during the setup

ambari-server setup -v --jdbc-db=postgres --jdbc-driver=/tmp/postgresql-jdbc.jar

ambari-server install-mpack --mpack=/tmp/hdf-ambari-mpack-3.3.0.0-165.tar.gz

 

ambari-server setup -s -v --database=postgres --databasehost=$hostname --databaseport=5432 --databasename=$ambari_db --databaseusername=$ambari_user --databasepassword=$ambari_pass --postgresschema=$ambari_schema --java-home=$JAVA_HOME --enable-lzo-under-gpl-license

 

In the ambari-server logs it always stop at

2020-02-18 12:49:43,520 INFO [pool-5-thread-1] AmbariServerConfigurationProvider:98 - JPA initialized event received: JpaInitializedEvent{eventType=JPA_INITIALIZED}
2020-02-18 12:49:43,520 INFO [pool-5-thread-1] AmbariServerConfigurationProvider:122 - Loading ldap-configuration configuration data

 

Based on other server the next line should be

INFO [main] StackManager:151 - Initializing the stack manager...

but not:(

The Selinux status on ambari server

# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31

 

My ambari server version:

# ambari-server --version
2.7.3.0-139

 

Could you please advise what should I check ?

 

1 REPLY 1
Highlighted

Re: Ambari 2.7.3 Server not yet listening on http port 8080 after 90 seconds

New Contributor

The issue was that the ambari was not able to connect to the database which is running on different server.

 

I turned on the debug option in the ambari.properties file but it didnt tell me this.

Leave the ambari server running for the night and unfortunately nothing in the logs.

 

Could you please guide me if this can improved in the future and where should I report this?

I would love to see something like timeout to database or similar message in the logs.

 

Thanks.

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