Reply
New Contributor
Posts: 4
Registered: ‎04-16-2015

Cannot launch cloudera manager 5.3.3 through firefox.

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,

Cloudera Employee
Posts: 226
Registered: ‎01-15-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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

New Contributor
Posts: 4
Registered: ‎04-16-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

 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,

 

Cloudera Employee
Posts: 226
Registered: ‎01-15-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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.

New Contributor
Posts: 4
Registered: ‎04-16-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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

Cloudera Employee
Posts: 226
Registered: ‎01-15-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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...

Cloudera Employee
Posts: 228
Registered: ‎09-23-2013

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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. 

New Contributor
Posts: 4
Registered: ‎04-16-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

 

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

 

Cloudera Employee
Posts: 226
Registered: ‎01-15-2015

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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

Cloudera Employee
Posts: 228
Registered: ‎09-23-2013

Re: Cannot launch cloudera manager 5.3.3 through firefox.

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.

Announcements