centos 5.5中CloudInsight无法启动


#1

centos 5.5,安装顺利完成,但启动时报错:
Starting Cloudinsight Agent (using supervisord):
cloudinsight-agent:collector FATAL Exited too quickly (process log may have details)
cloudinsight-agent:forwarder FATAL Exited too quickly (process log may have details)
cloudinsight-agent:jmxfetch FATAL Exited too quickly (process log may have details)
cloudinsight-agent:statsd FATAL Exited too quickly (process log may have details)
Cloudinsight Agent (supervisor) is NOT running all child pr[FAILED]

/var/log/cloudinsight-agent/supervisord.log中的错误信息为:
2016-08-18 16:22:43,739 CRIT Set uid to user 100
2016-08-18 16:22:43,791 INFO RPC interface 'supervisor' initialized
2016-08-18 16:22:43,791 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2016-08-18 16:22:43,792 INFO daemonizing the supervisord process
2016-08-18 16:22:43,793 INFO supervisord started with pid 14946
2016-08-18 16:22:43,970 INFO spawned: 'statsd' with pid 14952
2016-08-18 16:22:43,974 INFO spawned: 'forwarder' with pid 14953
2016-08-18 16:22:43,978 INFO spawned: 'collector' with pid 14955
2016-08-18 16:22:43,985 INFO spawned: 'jmxfetch' with pid 14956
2016-08-18 16:22:43,986 INFO exited: statsd (exit status 127; not expected)
2016-08-18 16:22:43,986 INFO exited: forwarder (exit status 127; not expected)
2016-08-18 16:22:43,987 INFO exited: collector (exit status 127; not expected)
2016-08-18 16:22:43,991 INFO exited: jmxfetch (exit status 127; not expected)
2016-08-18 16:22:45,000 INFO spawned: 'statsd' with pid 14965
2016-08-18 16:22:45,003 INFO spawned: 'forwarder' with pid 14966
2016-08-18 16:22:45,008 INFO spawned: 'collector' with pid 14968
2016-08-18 16:22:45,013 INFO spawned: 'jmxfetch' with pid 14969
2016-08-18 16:22:45,014 INFO exited: statsd (exit status 127; not expected)
2016-08-18 16:22:45,014 INFO exited: forwarder (exit status 127; not expected)
2016-08-18 16:22:45,015 INFO exited: collector (exit status 127; not expected)
2016-08-18 16:22:45,019 INFO exited: jmxfetch (exit status 127; not expected)
2016-08-18 16:22:47,405 INFO spawned: 'statsd' with pid 14996
2016-08-18 16:22:47,407 INFO spawned: 'forwarder' with pid 14997
2016-08-18 16:22:47,412 INFO spawned: 'collector' with pid 14998
2016-08-18 16:22:47,419 INFO spawned: 'jmxfetch' with pid 15000
2016-08-18 16:22:47,420 INFO exited: statsd (exit status 127; not expected)
2016-08-18 16:22:47,420 INFO exited: forwarder (exit status 127; not expected)
2016-08-18 16:22:47,420 INFO exited: collector (exit status 127; not expected)
2016-08-18 16:22:47,422 INFO exited: jmxfetch (exit status 127; not expected)
2016-08-18 16:22:51,026 INFO spawned: 'statsd' with pid 15040
2016-08-18 16:22:51,030 INFO spawned: 'forwarder' with pid 15041
2016-08-18 16:22:51,034 INFO spawned: 'collector' with pid 15042
2016-08-18 16:22:51,040 INFO spawned: 'jmxfetch' with pid 15044
2016-08-18 16:22:51,041 INFO exited: statsd (exit status 127; not expected)
2016-08-18 16:22:51,041 INFO exited: forwarder (exit status 127; not expected)
2016-08-18 16:22:51,041 INFO exited: collector (exit status 127; not expected)
2016-08-18 16:22:51,043 INFO gave up: statsd entered FATAL state, too many start retries too quickly
2016-08-18 16:22:51,043 INFO gave up: forwarder entered FATAL state, too many start retries too quickly
2016-08-18 16:22:51,043 INFO gave up: collector entered FATAL state, too many start retries too quickly
2016-08-18 16:22:51,044 INFO exited: jmxfetch (exit status 127; not expected)
2016-08-18 16:22:51,224 INFO gave up: jmxfetch entered FATAL state, too many start retries too quickly
2016-08-18 16:22:54,896 WARN received SIGTERM indicating exit request

请问下有解决的方案吗?


#2

您好,可以把ci的日志打包发给我吗?如果您的探针是4.7.0以前的,用/etc/init.d/oneapm-ci-agent flare;如果是4.7.0以后的,用/etc/init.d/cloudinsight-agent flare。我的邮箱是malongfei@oneapm.com。谢谢~


#3

sudo -u cloudinsight-agent /opt/cloudinsight-agent/agent/ci-forwarder,您执行下,看输出是什么


#4

已发邮件,请查收,谢谢


#5

2016-08-22 12:48:29,082 | INFO | ci.forwarder | root(emitter_manager.py:63) | Done with custom emitters
2016-08-22 12:48:29,087 | INFO | ci.forwarder | forwarder.application(application.py:132) | Listening on port 10010
2016-08-22 12:48:44,088 | INFO | ci.forwarder | forwarder.transaction(transaction.py:302) | No transaction to flush during flush #1
2016-08-22 12:48:59,088 | INFO | ci.forwarder | forwarder.transaction(transaction.py:302) | No transaction to flush during flush #2

直接执行似乎都是正常的,就是无法通过init.d目录下的service文件启动


#6

修改/etc/cloudinsight-agent/supervisord.conf,设置loglevel=debug,重启探针,然后把/var/log/cloudinsight-agent/supervisord.log发过来一下


#7

/var/log/cloudinsight-agent/supervisord.log文件已经通过邮件发给你了,希望能有帮助,谢谢


#8

您加一下cloud insight的交流群吧,433349863,方便交流。