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. Want to know more about what has changed? Check out the Community News blog.

cloudera manager admin console won't start or is inaccessible via http

cloudera manager admin console won't start or is inaccessible via http

New Contributor

Greetings,

 

I am trying to install Cloudera by going through the instructions posted here:

http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Instal...

 

However, I cannot browse to the cloudera manager admin console.  I used http://<my ubuntu virtual machine IP>:7180, but Google chrome could not load the page.  I did a netstat on the ubuntu VM, and saw it is listening on 12112:

unix 2 [ ACC ] STREAM LISTENING 12112 /var/run/cloudera-scm-server-db/.s.PGSQL.7432

 

But when I substituted the 12112 for the 7180 in the URL, that also did not work.

 

I am connecting to the Ubuntu virtual machine over VPN, and am assuming that browsing to the Cloudera admin app on this machine from a Chrome running on my Windows 7 should be a non-issue.

 

What else can I investigate? Thank you.

17 REPLIES 17

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

BTW, I tried restarting the service but no luck:

bitnami@sajServer:~$ sudo service cloudera-scm-server restart
[sudo] password for bitnami:
Stopping cloudera-scm-server: * cloudera-scm-server stopped
Starting cloudera-scm-server: * cloudera-scm-server started

Re: cloudera manager admin console won't start or is inaccessible via http

Hi Alex,

 

Do you have a firewall blocking access? Can you curl or telnet the URL from the machine where CM server is running?

 

7180 should be the right port. I doubt you've manually configured it otherwise.

 

Thanks,

Darren

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

Here is the curl output (anonymizing)

 

user@Server:~$ curl http://xxx.xxx.55.249:7180
<head><meta http-equiv="refresh" content="0;url=/cmf/"></head>

 

Anticipating it might be a fw issue, I specifically put an allowance explicitly for port 7180 on the MSF.  

 

I'm not sure what else to try.  The service appears to be running, no?

 

user@Server:~$ ps -ef | grep cloudera
104 4867 1 0 Nov05 ? 00:00:06 /usr/lib/postgresql/8.4/bin/postgres -D /var/lib/cloudera-scm-server-db/data -k /var/run/cloudera-scm-server-db
104 11367 1 0 Nov06 ? 00:00:00 su cloudera-scm -s /bin/bash -c nohup /usr/sbin/cmf-server
104 11369 11367 0 Nov06 ? 00:06:07 /usr/lib/jvm/j2sdk1.6-oracle/bin/java -cp .:lib/*:/usr/share/java/mysql-connector-java.jar -Dlog4j.configuration=file:/etc/cloudera-scm-server/log4j.properties -Dcmf.root.logger=INFO,LOGFILE -Dcmf.log.dir=/var/log/cloudera-scm-server -Dcmf.log.file=cloudera-scm-server.log -Dcmf.jetty.threshhold=WARN -Dcmf.schema.dir=/usr/share/cmf/schema -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dpython.home=/usr/share/cmf -Xmx2G -XX:MaxPermSize=256m com.cloudera.server.cmf.Main

 

 

Re: cloudera manager admin console won't start or is inaccessible via http

Master Collaborator

@alexx the process you found listening on 12112 is a unix domain socket connection to the local postgres database file, that's not the web UI.  What does the following command return on your CM server?

 

netstat -anp | grep 7180

 

NOTE: must be run as root.

 

If nothing is listening on 7180, can you see any errors in the /var/log/cloudera-scm-server/cloudera-scm-server.log file?  From your previous "curl" command, though, it appeared that the CM server answered the HTTP request and was running.

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

Thank you for your help!

 

It appears to be running.

 

bitnami@sajServer:~$ sudo netstat -anp | grep 7180

tcp 0 0 0.0.0.0:7180 0.0.0.0:* LISTEN 11369/java

 

I am just not sure why I cannot browse to it from my Windows browser (and I can't open X on that box to try it from there).

 

I will check with our network admin to see if the VPN is blocking traffic on that port.

 

 

 

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

Got it. This fixed the issue

 

ufw allow 7180

 

Thanks for all of your pointers!

Highlighted

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

I tried this as well still wouldn't work. I have tried possible all options but I am still unable to accesss remotely port 7180 and complete cloudera installation. Could you please help me. 

Re: cloudera manager admin console won't start or is inaccessible via http

Super Collaborator

Depending on your linux release, you need to disable your host's firewall as well as SELinux (if enabled) to be able to complete configuration, this is laid out in the requirements section covering networking, here:

 

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_cm_requirements.h...

 

You would need to check for the linux distribution you were running on what the proper steps are to do this, for RHEL/CentOS/OracleLinux 6.x you would edit /etc/sysconfig/selinux and set to disabled, as well as run lokkit or system-config-firewall-tui to disable the host firewall (or set all the ports up based on the ports described in our documentation).  Genreally speaking its easier if during install you disable, and then if you have to re-enable work through the port lists we give in the installation guide for the services you are planning to deploy on your cluster nodes. 

Re: cloudera manager admin console won't start or is inaccessible via http

New Contributor

Everything is fine for me.

I mean firewall disabled and all the other requirement's. Still the cloudera manager console is not opening for me.

 

below is what my hosts file look like.

 

127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

10.78.206.3 hadoopmaster

 

 

Please help i'm struggling from the last 10 days with no solution.