Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Cloudera scm agent is not working [...starting socket.error(msg)]

avatar
Rising Star

Hello , 

 

Cloudera agent stopped working . I found the below details in the cloudera-scm-agent.log

 

[01/Jul/2014 02:23:30 +0000] 2574 MainThread tmpfs        INFO     Successfully mounted tmpfs at /var/run/cloudera-scm-agent/process
[01/Jul/2014 02:23:31 +0000] 2574 MainThread agent        INFO     Trying to connect to newly launched supervisor (Attempt 1)
[01/Jul/2014 02:23:31 +0000] 2574 MainThread agent        INFO     Successfully connected to supervisor
[01/Jul/2014 02:23:31 +0000] 2574 MainThread _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Bus STARTING
[01/Jul/2014 02:23:31 +0000] 2574 MainThread _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Started monitor thread '_TimeoutMonitor'.
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   ERROR    [01/Jul/2014:02:23:31] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/process/servers.py", line 187, in _start_http_thread
    self.httpserver.start()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1825, in start
    raise socket.error(msg)
error: No socket could be created on ('ip00958.mycomp.ad', 9000) -- [Errno 99] Cannot assign requested address

[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Bus STOPPING
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('ip00958.mycomp.ad', 9000)) already shut down
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Stopped thread '_TimeoutMonitor'.
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Bus STOPPED
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Bus EXITING
[01/Jul/2014 02:23:31 +0000] 2574 HTTPServer Thread-2 _cplogging   INFO     [01/Jul/2014:02:23:31] ENGINE Bus EXITED

 

My system details :


hostname :

ip00958.mycomp.ad

 

hostname -f :

ip00958.mycomp.ad

 

etc/hosts :

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
172.18.42.119   ip00958.mycomp.ad INCHCMPCCHE01

 

etc/sysconfig/network :

NETWORKING=yes
HOSTNAME=ip00958.mycomp.ad

 

Any help will be very appreciated 🙂

 

Thanks

Bala

 

 

 

 

Thanks
Bala
1 ACCEPTED SOLUTION

avatar
Rising Star
Hello ,

I found the issue . As i dont have a static ip address , my new ip address created problems . When i updated the new . it worked . 🙂
Thanks
Bala

View solution in original post

1 REPLY 1

avatar
Rising Star
Hello ,

I found the issue . As i dont have a static ip address , my new ip address created problems . When i updated the new . it worked . 🙂
Thanks
Bala