Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

No socket could be created on 9000 -- [Errno 99] Cannot assign requested address

avatar
Contributor

Hi

 

I am installing latest Cloudera Express Edition on Azure using Ubuntu trusty 14.04 LTS. i am getting this error.

/etc/hosts is having public IPs defined in it. The dig command is able to forward lookup, the revese lookup is not working properly. All the ports are open in Azure portal. I kills the 9001 everytime i re-try the installation. The SCM agent is waiting for heartbeat.

 

This is frustrating. I have followed and crosschecked various links in this forum. Nothing is working. Kindly suggest how to resolve this.

1 ACCEPTED SOLUTION

avatar
Contributor

hi

 

I have resolved this by keeping /etc/hosts with only localhost entries

a) updating listening host and Ip in config.ini of all nodes

 

it worked 

View solution in original post

6 REPLIES 6

avatar
Champion
I have ran into this when the host file was incorrect. You said reverse lockups are not working, they should be.

Are you seeing an error in the CM Agent logs? Can you post your hosts file, mask it if needed?

avatar
Contributor

hi

 

I have resolved this by keeping /etc/hosts with only localhost entries

a) updating listening host and Ip in config.ini of all nodes

 

it worked 

avatar
Explorer
Hello Friends, i'm facing the same issue and i already change my /etc/hosts and i'm still getting the same error on log. Can you guys help-me please? tks

avatar
Explorer
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging ERROR [25/Apr/2017:15:48:36] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/process/servers.py", line 187, in _start_http_thread
self.httpserver.start()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/CherryPy-3.2.2-py2.7.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1825, in start
raise socket.error(msg)
error: No socket could be created on ('cloudera-2', 9000) -- [Errno -2] Name or service not known

[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE Bus STOPPING
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('cloudera-2', 9000)) already shut down
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE Stopped thread '_TimeoutMonitor'.
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE Bus STOPPED
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE Bus EXITING
[25/Apr/2017 15:48:36 +0000] 1818 HTTPServer Thread-2 _cplogging INFO [25/Apr/2017:15:48:36] ENGINE Bus EXITED

avatar
New Contributor

Hi Could you share your file (mask it if required) how you have added the entries to the config.ini file please

avatar
New Contributor

Can you share your config.ini how you added multiple entries there..... please......