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.

Cannot launch cloudera manager 5.3.3 through firefox.

Cannot launch cloudera manager 5.3.3 through firefox.

New Contributor

I to all,

 

I have install cloudera manager 5.3.3 on my machine (OS : ubuntu 12.04 lts) . Now I have to launch cloudera manager through firefox to continue the installaion and setup , but I'm getting the error:  

 

org.hibernate.exception.GenericJDBCException: Could not open connection

 Can someone help me fix his issue, please?

 

Best Regards,

9 REPLIES 9

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Expert Contributor

Check if your CM database is running.

 

If you use the embedded Postgresql database:    # service cloudera-scm-server-db status

If you configured an external db, check manually if you can connect to it, using the user, password, host, port as set in /etc/cloudera-scm-server/db.properties

Re: Cannot launch cloudera manager 5.3.3 through firefox.

New Contributor

 Hi gzigldrum ,

Thanks for your reply. But after having looked for  long time  a solution, I have decided again uninstall cloudera manager and install.

Now I have another problem. To complete the installation I have to access to cloudera-manager through

http://localhost:7180/.  but at step 5 , I got the following error :

 

Installation failed. Failed to receive heartbeat from agent.

  • Ensure that the host's hostname is configured properly.
  • Ensure that port 7182 is accessible on the Cloudera Manager Server (check firewall rules).
  • Ensure that ports 9000 and 9001 are free on the host being added.
  • Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details).

Can you help me fix it please?

 

Best regards,

 

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Expert Contributor

What is the hostname of the host that you added?

Can you # telnet <hostname> 7182 

Does it connect?

If not, disable the firewall on this host for a test.

Re: Cannot launch cloudera manager 5.3.3 through firefox.

New Contributor

Doing #telnet <hostname> 7182
it do connect. The result is :

Trying 127.0.1.1...
Connected to bsbigdata-Server.
Escape character is '^]'.
Connection closed by foreign host

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Expert Contributor

Did you # telnet localhost 7182 or did you # telnet bsbigdata-Server 7182 ?

Is this the same host where CM is installed?

Did you run the telnet from the CM host?

 

Check host name entries in /etc/hosts, as shown in  http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_cm_requirements.h...

Re: Cannot launch cloudera manager 5.3.3 through firefox.

New Contributor

 

I did #tenet bsbigdata-Serevr 7182 first .

Doing #telnet localhost 7182  return the following result :

 

bsbigdata@bsbigdata-Server:~$ telnet localhost 7182
Trying 127.0.0.1...
Connected to bigdata-virtual-machine.
Escape character is '^]'.

 

My /etc/hosts content is : 

127.0.0.1       bigdata-virtual-machine localhost
127.0.0.1       localhost
127.0.1.1       bsbigdata-Server


# 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

 

For the installation I used the cloudera-manager-installer.bin that I found at 

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_vd.html

 

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Expert Contributor

Please do not use 127.0.1.1 for bsbigdata-Server. This should be localhost.

See explanation in this Community https://community.cloudera.com/t5/Cloudera-Manager-Installation/Issue-while-installing-Hadoop/m-p/11...

 

Your hosts file should look like this (adjust the IP address for your host):

 

# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 localhost

10.11.12.13 bsbigdata-server.yourdomain bsbigdata-server

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Super Collaborator

An from the link I gave, you would scroll down to this section

 

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

 

 We present the overview of network requirements, with an example of what hosts should look like, there.

Re: Cannot launch cloudera manager 5.3.3 through firefox.

Super Collaborator

What path are you taking through the documentation for your pre-setup check and installation... Path A?  Path B?

 

There are system requirements laid out for the systems you are going to install cluster services on, here:

 

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

 

Make sure you have addressed the networking and security requirements, especially the part about host name forward and reverse resolution as its a critical step.

 

The various approaches to installation are laid out here, with Path A being the easiest to use for Lab/Sandbox setup of CM to configure a cluster.