1、故障现象
进程还在,但是已经不响应服务端请求,在客户端本机执行出现下面提示
[root@g42 ~]# puppetd --test --server master.xxx.mobi
notice: Ignoring --listen on onetime run
notice: Run of Puppet configuration client already in progress; skipping
2、检查puppetd进程
[root@g42 ~]# ps -ef |grep puppet
root 4077 1 0 2012 ? 23:01:31 /usr/bin/ruby /usr/sbin/puppetd
root 10407 10093 0 13:54 pts/0 00:00:00 grep puppet
3、查看日志,发现同故障现象
[root@g42 ~]# tail -20 /var/log/messages
Aug 18 03:15:01 g42 kernel: imklog 4.6.2, log source = /proc/kmsg started.
Aug 18 03:15:01 g42 rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1631" x-info=""] (re)start
Aug 18 16:32:45 g42 auditd[5061]: Audit daemon rotating log files
Aug 19 07:33:35 g42 auditd[5061]: Audit daemon rotating log files
Aug 19 22:34:41 g42 auditd[5061]: Audit daemon rotating log files
Aug 20 13:34:41 g42 auditd[5061]: Audit daemon rotating log files
Aug 20 13:53:32 g42 puppet-agent[10214]: Ignoring --listen on onetime run
Aug 20 13:53:32 g42 puppet-agent[10214]: Run of Puppet configuration client already in progress; skipping
4、分析
因该故障现象每隔一段时间不固定出现某一台主机上,故怀疑是puppet本身bug
5、解决
重启puppetd进程可以解决
service puppetd restart 不能解决
只能先stop,再start才行
阅读(3435) | 评论(0) | 转发(0) |