When I install the AGENT of CDH, encounter Failed to connect to previous supervisor
IP and HOSTS checked, no problem
Ps ax | fgrep supervisord also KILL
But the problem is not solve the
6/Nov/2018 09:59:21 + 0000] 4373 MainThread agent ERROR Failed to connect to previous supervisor.
Traceback (the most recent call last) :
The File "/opt/cloudera manager/cm - 5.15.1/lib64/CMF/agent/build/env/lib/python2.7/site - packages/CMF - 5.15.1 - py2.7. Egg/CMF/agent. Py", line 2145, in find_or_start_supervisor
Self. Get_supervisor_process_info ()
The File "/opt/cloudera manager/cm - 5.15.1/lib64/CMF/agent/build/env/lib/python2.7/site - packages/CMF - 5.15.1 - py2.7. Egg/CMF/agent. Py", line 2289, in get_supervisor_process_info
The self. The identifier=self. Supervisor_client. Supervisor. GetIdentification ()
The File "/usr/lib64/python2.7/xmlrpclib py", line 1233, in __call__
Return the self. __send (self __name, args)
The File "/usr/lib64/python2.7/xmlrpclib py", line 1587, in __request
Verbose=self. __verbose
The File "/opt/cloudera manager/cm - 5.15.1/lib64/CMF/agent/build/env/lib/python2.7/site - packages/supervisor - 3.0 - py2.7. An egg/supervisor/XMLRPC. Py", line 460, in the request
Self. Connection. The request (' POST ', handler, request_body, self. The headers)
The File "/usr/lib64/python2.7/httplib py", line 1017, in the request
Self. _send_request (method, url, body, headers)
The File "/usr/lib64/python2.7/httplib py", line 1051, in _send_request
Self. Endheaders (body)
The File "/usr/lib64/python2.7/httplib py", line 1013, in endheaders
Self. _send_output (message_body)
The File "/usr/lib64/python2.7/httplib py", line 864, in _send_output
The self. The send (MSG)
The File "/usr/lib64/python2.7/httplib py", line 826, in the send
The self. The connect ()
The File "/usr/lib64/python2.7/httplib py", line 807, in the connect
Self. A timeout, the self. Source_address)
The File "/usr/lib64/python2.7/socket. Py", line 571, in create_connection
Raise err
Error: 111] [Errno Connection refused
CodePudding user response:
Don't show and port 9001CodePudding user response:
Is solved you