11-06-2013 07:59 PM
I am trying to install Cloudera by going through the instructions posted here:
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.
11-06-2013 08:01 PM
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
11-06-2013 09:00 PM
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.
11-07-2013 12:20 PM
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
11-12-2013 01:03 PM
@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.
11-14-2013 07:19 AM - edited 11-14-2013 07:31 AM
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.
03-30-2015 11:33 AM
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.
03-30-2015 03:14 PM
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:
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.
12-02-2015 10:34 PM
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.
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
Please help i'm struggling from the last 10 days with no solution.