分享

求大神指导,安装CDH5.10.0错误MainThread agent INFO Triggering supervisord update

求大神指导,安装CDH5.10.0错误MainThread agent INFO Triggering supervisord update
MainThread downloader ERROR Failed rack peer update: [Errno 111] Connection refused

>>[06/May/2017 22:30:19 +0000] 32538 MainThread downloader ERROR Failed rack peer update: [Errno 111] Connection refused
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Active parcel list updated; recalculating component info.
>>[06/May/2017 22:30:19 +0000] 32538 MainThread throttling_logger INFO Identified java component java6 with full version JAVA_HOME=/usr/java/jdk1.6.0_31 java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) for requested version 6.
>>[06/May/2017 22:30:20 +0000] 32538 MainThread throttling_logger INFO Identified java component java7 with full version JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) for requested version 7.
>>[06/May/2017 22:30:49 +0000] 32538 DnsResolutionMonitor throttling_logger WARNING hostname slave1-cdh differs from the canonical name slave1_cdh
>>[06/May/2017 22:40:21 +0000] 32538 MainThread heartbeat_tracker INFO HB stats (seconds): num:42 LIFE_MIN:0.01 min:0.01 mean:0.01 max:0.04 LIFE_MAX:0.07
>>[06/May/2017 22:44:52 +0000] 32538 Monitor-HostMonitor throttling_logger ERROR Timeout with args ['chronyc', 'sources']
>>None
>>[06/May/2017 22:44:52 +0000] 32538 Monitor-HostMonitor throttling_logger ERROR Failed to collect NTP metrics



正在启动 Cloudera Manager Agent...BEGIN /sbin/service cloudera-scm-agent status
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; bad; vendor preset: disabled)
Active: active (exited) since 六 2017-05-06 22:30:15 CST; 27min ago
Docs: man:systemd-sysv-generator(8)

5月 06 22:30:13 slave1-cdh systemd[1]: Starting LSB: Cloudera SCM Agent...
5月 06 22:30:13 slave1-cdh su[32524]: (to root) root on none
5月 06 22:30:15 slave1-cdh cloudera-scm-agent[32511]: Starting cloudera-scm-agent: [ 确定 ]
5月 06 22:30:15 slave1-cdh systemd[1]: Started LSB: Cloudera SCM Agent.
END (3)
BEGIN /sbin/service cloudera-scm-agent start
Starting cloudera-scm-agent (via systemctl): [ 确定 ]
END (0)
agent logs:
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/'
>>[06/May/2017 21:50:10 +0000] 26911 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 21:50:11 +0000] 26911 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 21:50:11 +0000] 26911 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 21:59:31 +0000] 28657 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 21:59:32 +0000] 28657 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 21:59:32 +0000] 28657 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 22:30:14 +0000] 32526 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 22:30:15 +0000] 32526 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 22:30:15 +0000] 32526 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
END (0)
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/'
>>[06/May/2017 21:50:10 +0000] 26911 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 21:50:11 +0000] 26911 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 21:50:11 +0000] 26911 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 21:59:31 +0000] 28657 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 21:59:32 +0000] 28657 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 21:59:32 +0000] 28657 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 22:30:14 +0000] 32526 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 22:30:15 +0000] 32526 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 22:30:15 +0000] 32526 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent INFO SCM Agent Version: 5.11.0
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent WARNING Expected mode 0751 for /run/cloudera-scm-agent but was 0755
>>[06/May/2017 22:57:28 +0000] 36235 MainThread agent INFO Re-using pre-existing directory: /run/cloudera-scm-agent
>>[06/May/2017 22:30:19 +0000] 32538 MainThread _cplogging INFO [06/May/2017:22:30:19] ENGINE Bus STARTED
>>[06/May/2017 22:30:19 +0000] 32538 MainThread __init__ INFO New monitor: (<cmf.monitor.host.HostMonitor object at 0x38a1a90>,)
>>[06/May/2017 22:30:19 +0000] 32538 MonitorDaemon-Scheduler __init__ INFO Monitor ready to report: ('HostMonitor',)
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Setting default socket timeout to 30
>>[06/May/2017 22:30:19 +0000] 32538 MainThread heartbeat_tracker INFO HB stats (seconds): num:1 LIFE_MIN:0.07 min:0.07 mean:0.07 max:0.07 LIFE_MAX:0.07
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO CM server guid: afa82846-7e66-4519-a927-25fedf503c11
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Using parcels directory from server provided value: /opt/cloudera/parcels
>>[06/May/2017 22:30:19 +0000] 32538 MainThread parcel INFO Agent does create users/groups and apply file permissions
>>[06/May/2017 22:30:19 +0000] 32538 MainThread downloader INFO Downloader path: /opt/cloudera/parcel-cache
>>[06/May/2017 22:30:19 +0000] 32538 MainThread parcel_cache INFO Using /opt/cloudera/parcel-cache for parcel cache
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Flood daemon (re)start attempt
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Triggering supervisord update.
>>[06/May/2017 22:30:19 +0000] 32538 MainThread downloader ERROR Failed rack peer update: [Errno 111] Connection refused
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Active parcel list updated; recalculating component info.
>>[06/May/2017 22:30:19 +0000] 32538 MainThread throttling_logger INFO Identified java component java6 with full version JAVA_HOME=/usr/java/jdk1.6.0_31 java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) for requested version 6.
>>[06/May/2017 22:30:20 +0000] 32538 MainThread throttling_logger INFO Identified java component java7 with full version JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) for requested version 7.
>>[06/May/2017 22:30:49 +0000] 32538 DnsResolutionMonitor throttling_logger WARNING hostname slave1-cdh differs from the canonical name slave1_cdh
>>[06/May/2017 22:40:21 +0000] 32538 MainThread heartbeat_tracker INFO HB stats (seconds): num:42 LIFE_MIN:0.01 min:0.01 mean:0.01 max:0.04 LIFE_MAX:0.07
>>[06/May/2017 22:44:52 +0000] 32538 Monitor-HostMonitor throttling_logger ERROR Timeout with args ['chronyc', 'sources']
>>None
>>[06/May/2017 22:44:52 +0000] 32538 Monitor-HostMonitor throttling_logger ERROR Failed to collect NTP metrics
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/monitor/host/ntp_monitor.py", line 45, in collect
>> self.collect_chronyd()
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/monitor/host/ntp_monitor.py", line 55, in collect_chronyd
>> result, stdout, stderr = self._subprocess_with_timeout(args, self._timeout)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/monitor/host/ntp_monitor.py", line 38, in _subprocess_with_timeout
>> return subprocess_with_timeout(args, timeout)
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/subprocess_timeout.py", line 94, in subprocess_with_timeout
>> raise Exception("timeout with args %s" % args)
>>Exception: timeout with args ['chronyc', 'sources']

已有(8)人评论

跳转到指定楼层
yuwenge 发表于 2017-5-7 09:24:11
第一:看下hostname是否有问题
第二:ntp是否安装,安装后,是否其作用。
可以执行下面操作
[mw_shl_code=bash,true]sudo apt-get update && sudo apt-get install ntp
sudo service ntp start[/mw_shl_code]
然后配置下
回复

使用道具 举报

kevin1986 发表于 2017-5-7 09:33:58
yuwenge 发表于 2017-5-7 09:24
第一:看下hostname是否有问题
第二:ntp是否安装,安装后,是否其作用。
可以执行下面操作

多谢,后面两个问题我用ntp搞定了,最后剩下这个问题。一直不太明白它什么要update,求帮助~~~
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Flood daemon (re)start attempt
>>[06/May/2017 22:30:19 +0000] 32538 MainThread agent INFO Triggering supervisord update.
>>[06/May/2017 22:30:19 +0000] 32538 MainThread downloader ERROR Failed rack peer update: [Errno 111]


回复

使用道具 举报

yuwenge 发表于 2017-5-7 09:55:41
kevin1986 发表于 2017-5-7 09:33
多谢,后面两个问题我用ntp搞定了,最后剩下这个问题。一直不太明白它什么要update,求帮助~~~

检测ssh和防火墙,是否启用ip6.
回复

使用道具 举报

kevin1986 发表于 2017-5-7 10:20:31
kevin1986 发表于 2017-5-7 09:33
多谢,后面两个问题我用ntp搞定了,最后剩下这个问题。一直不太明白它什么要update,求帮助~~~

这个问题也搞定了,出了新问题,吐血~~~
>>[07/May/2017 09:50:33 +0000] 63125 Monitor-HostMonitor throttling_logger ERROR Timed out waiting for worker process collecting filesystem usage to complete. This may occur if the host has an NFS or other remote filesystem that is not responding to requests in a timely fashion. Current nodev filesystems: /dev/shm,/run,/sys/fs/cgroup,/run/user/0,/run/user/991,/run/cloudera-scm-agent/process,/run/user/42
>>[07/May/2017 09:55:40 +0000] 63125 MainThread heartbeat_tracker INFO HB stats (seconds): num:40 LIFE_MIN:0.01 min:0.01 mean:0.01 max:0.01 LIFE_MAX:0.05
>>[07/May/2017 10:05:38 +0000] 63125 MainThread agent INFO Stopping agent...
回复

使用道具 举报

2017 发表于 2017-5-7 17:13:27
kevin1986 发表于 2017-5-7 10:20
这个问题也搞定了,出了新问题,吐血~~~
>>[07/May/2017 09:50:33 +0000] 63125 Monitor-HostMonitor th ...

跟这个有点类似
cloudera-scm-agent启动失败
http://www.aboutyun.com/forum.php?mod=viewthread&tid=20276


回复

使用道具 举报

kevin1986 发表于 2017-5-8 21:24:42
2017 发表于 2017-5-7 17:13
跟这个有点类似
cloudera-scm-agent启动失败
http://www.aboutyun.com/forum.php?mod=viewthread&tid=2 ...

我的服务已经启动了,上台都OK,防火墙也关了,就是连不上,不知道为什么,唉~~!!![root@master_cdh cdh_rpm_file_cm511]# firewall-cmd --state
not running
clouderaError3.jpg
clouderaError2.jpg
clouderaError1.jpg

回复

使用道具 举报

slikey 发表于 2017-6-16 18:39:57
kevin1986 发表于 2017-5-7 10:20
这个问题也搞定了,出了新问题,吐血~~~
>>[07/May/2017 09:50:33 +0000] 63125 Monitor-HostMonitor th ...

怎么解决的Failed rack peer update: [Errno 111] Connection refused

回复

使用道具 举报

ohano_javaee 发表于 2018-4-26 19:58:08
怎么解决的Failed rack peer update: [Errno 111] Connection refused
是不是太不负责任了!
回复

使用道具 举报

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

本版积分规则

关闭

推荐上一条 /2 下一条