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.

Why can't I log to the Ambari Webpage?

Highlighted

Why can't I log to the Ambari Webpage?

When I want to login at the Ambari webpage (127.0.0.1:8080) I encountered a problem: I'm unable to login to the ambari console and this message appears: "unable to connect to Ambari server. Confirm ambari server is running and you can reach ambari server from this machine"

I try to fix it by running in my sandbox VM: "service ambari start" and "ambari-server start"

I tried with different network : 4G of my phone, ethernet, wifi, but I can't fix this problem.

Please help me in fixing this issue. Thanks !

16 REPLIES 16
Highlighted

Re: Why can't I log to the Ambari Webpage?

Super Guru
Highlighted

Re: Why can't I log to the Ambari Webpage?

Contributor

Hi Nicolas,

Run the command:

ambari-server status

to check if the service has started and is running without any issues.

If the service is not running even after starting it, please check the logs under the directory:

/var/log/ambari-server/ambari-server.log

Regards,

Karthik Gopal

Highlighted

Re: Why can't I log to the Ambari Webpage?

Hi @Karthik Gopal ,

the service has started and is running without any issues, and when I check the logs under the directory:

/var/log/ambari-server/ambari-server.log

I have this :

cusersxwmr093downloads2016-02-19.png

cusersxwmr093downloads2016-02-19-1.png

And I don't find answer on the web to fix this problem,

Best regards,

Nicolas SIMON

Highlighted

Re: Why can't I log to the Ambari Webpage?

Mentor
@Karthik Gopal

run ifconfig is sandbox.Hortonworks.com in your /etc/hosts file and on windows in the hosts file?

Highlighted

Re: Why can't I log to the Ambari Webpage?

Yes, sandbox.Hortonworks.com is in your /etc/hosts fil, but it is not on Windows in the host file. But I can't add it on my Windows' host file, how can I add it?

Highlighted

Re: Why can't I log to the Ambari Webpage?

Mentor
Highlighted

Re: Why can't I log to the Ambari Webpage?

@Nicolas Simon Those messages are normal. Give sometime to processes to come up

Highlighted

Re: Why can't I log to the Ambari Webpage?

cusersxwmr093downloadsambari-server.txtI gave sometime to processes to come up, and that's my last part of ambari-server log :

Highlighted

Re: Why can't I log to the Ambari Webpage?

Contributor

Try to send us the complete ambari-server.log file if possible.. if the issue persists, as @Neeraj Sabharwal said the server might take some time to load the page, you can also try to reload the page instead of just refreshing the page which might help..

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