ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tapper, Gunnar" <>
Subject Changing ambari-server web port
Date Thu, 06 Mar 2014 05:21:20 GMT

I am trying to install ambari server 1.4.3. Port 8080 is already in use so I am trying to
change it. I *think* that the change is done by adding the following line /etc/ambari-server/conf/


ambari-server restart yields the following log messages:

05:06:25,372  INFO [main] Configuration:521 - Web App DIR test /usr/lib/ambari-server/web
05:06:25,375  INFO [main] CertificateManager:68 - Initialization of root certificate
05:06:25,376  INFO [main] CertificateManager:70 - Certificate exists:true
05:06:25,410  INFO [main] AmbariServer:340 - ********* Initializing Clusters **********
05:06:25,410  INFO [main] AmbariServer:344 - ********* Current Clusters State *********
05:06:25,410  INFO [main] AmbariServer:345 - Clusters=[  ]
05:06:25,410  INFO [main] AmbariServer:347 - ********* Initializing ActionManager **********
05:06:25,410  INFO [main] AmbariServer:349 - ********* Initializing Controller **********
05:06:25,418  INFO [main] AmbariManagementControllerImpl:161 - Initializing the AmbariManagementControllerImpl
05:06:25,424  INFO [main] Server:266 - jetty-7.6.7.v20120910
05:06:25,453  INFO [main] ContextHandler:744 - started o.e.j.s.ServletContextHandler{/,file:/usr/lib/ambari-server/web/}
05:06:26,987  INFO [main] AbstractConnector:338 - Started SelectChannelConnector@
05:06:26,987  INFO [main] Server:266 - jetty-7.6.7.v20120910
05:06:26,988  INFO [main] ContextHandler:744 - started o.e.j.s.ServletContextHandler{/,null}
05:06:27,709  INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, SSLv3, TLSv1]
of [SSLv2Hello, SSLv3, TLSv1]
05:06:27,710  INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@
05:06:27,748  INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, SSLv3, TLSv1]
of [SSLv2Hello, SSLv3, TLSv1]
05:06:27,750  INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@
05:06:27,750  INFO [main] AmbariServer:364 - ********* Started Server **********
05:06:27,750  INFO [main] ActionManager:69 - Starting scheduler thread
05:06:27,750  INFO [main] AmbariServer:367 - ********* Started ActionManager **********

netstat -tupln | grep 8000 shows no listener before starting ambari server and a listener
once it has been started:

[root@node10 ambari-server]# netstat -tupln | grep 8000
[root@node10 ambari-server]# ambari-server start
Using python  /usr/bin/python2.6
Starting ambari-server
Ambari Server running with 'root' privileges.
Server PID at: /var/run/ambari-server/
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Ambari Server 'start' completed successfully.
[root@node10 ambari-server]# netstat -tupln | grep 8000
tcp        0      0 :::8000                     :::*                        LISTEN      5820/java

A basic REST request times out:

[root@node10 ambari-server]# curl --user admin:admin
<TITLE>Network Error</TITLE>
<FONT face="Helvetica">
<TABLE border=0 cellPadding=1 width="80%">
<FONT face="Helvetica">
<big>Network Error (tcp_error)</big>
<FONT face="Helvetica">
A communication error occurred: "Operation timed out"
<FONT face="Helvetica">
The Web Server may be down, too busy, or experiencing other problems preventing it from responding
to requests. You may wish to try again at a later time.
<FONT face="Helvetica" SIZE=2>
For assistance, contact your network support team.

What am I missing? And where is the file documented?



The person that says it cannot be done should not interrupt the person doing it.

View raw message