分享

cm安装报错

zhuqitian 发表于 2016-11-26 17:42:33 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 0 12060
安装失败。 无法接收 Agent 发出的检测信号。

    请确保主机的名称已正确配置。
    请确保端口 7182 可在 Cloudera Manager Server 上访问(检查防火墙规则)。
    请确保正在添加的主机上的端口 9000 和 9001 空闲。
    检查正在添加的主机上 /var/log/cloudera-scm-agent/ 中的代理日志(某些日志可在安装详细信息中找到)。

详细log:

Failed to connect to newly launched supervisor.

无法接收 Agent 发出的检测信号。 (当前步骤)

无法接收到agent检测信号有几种可能:
1、Python文件不匹配;参考http://www.cnblogs.com/lion.net/archive/2014/09/02/3950619.html中_io的设置
2、日志文件不存在,在config.ini中把log_file放开
3、/etc/hosts/中主机和ip配置问题
4、防火墙是否关闭,ubuntu是ufw disable
5、端口配置,config.ini中端口是否配置的为7182
6、集群时间是否同步,安装ntp同步时间
7、ssh私钥的问题-----我现在正在查这个问题呢,前边都配完了,但是仍然无法检测到信号,我没有使用私钥,不知道是不是跟这个有关系
>>ProtocolError:
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agent INFOTrying to connect to newly launched supervisor (Attempt 5)
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agentERROR Failed! trying again in 1 second(s)
>>Traceback (most recent call last):
>> File"/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py",line 2133, in connect_to_new_supervisor
>> self.get_supervisor_process_info()
>> File"/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py",line 2155, in get_supervisor_process_info
>> self.identifier =self.supervisor_client.supervisor.getIdentification()
>> File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in__call__
>> return self.__send(self.__name, args)
>> File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in__request
>> verbose=self.__verbose
>> File"/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/xmlrpc.py",line 470, in request
>> '' )
>>ProtocolError:
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agentERROR Failed to connect to newly launched supervisor. Agent willexit
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agent INFOStopping agent...
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agent INFO Noextant cgroups; unmounting any cgroup roots
>>[09/Jul/2016 11:13:11 +0000] 18231 MainThread agent INFOCleaning up daemon
>>[09/Jul/2016 11:13:11 +0000] 18231 Dummy-1 agent INFOStopping agent...
>>[09/Jul/2016 11:13:11 +0000] 18231 Dummy-1 agent INFO Noextant cgroups; unmounting any cgroup roots
>>[09/Jul/2016 11:13:11 +0000] 18231 Dummy-1 agent INFOCleaning up daemon







解决办法:把cm相关的进程杀死,停止相关服务
[root@localhost cm-5.7.0]# ps aux | grep super
root     18949  0.0  0.1 223624 12996 ?        Ss   11:16   0:00 /opt/cm-5.7.0/lib64/cmf/agent/build/env/bin/python /opt/cm-5.7.0/lib64/cmf/agent/build/env/bin/supervisord
root     23390  0.0  0.0 112656   972 pts/0    S+   11:37   0:00 grep --color=auto super
[root@localhost cm-5.7.0]# kill   18949
/opt/cm-5.7.0/etc/init.d/cloudera-scm-agent stop
/opt/cm-5.7.0/etc/init.d/cloudera-scm-server stop

没找到任何评论,期待你打破沉寂

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条