Ошибки last update puppet
Ошибки last update puppet¶
В случае возникновения ошибок вида
Sep 21 14:21:16 localhost puppet-agent\[19992\]: Ignoring --listen on
onetime run Sep 21 14:21:16 localhost puppet-agent\[19992\]: Run of
Puppet configuration client already in progress; skipping
ps auxf |grep puppet
/etc/init.d/puppet restart
Ignoring --listen on onetime run
root@host \[\~\]\# puppetd --test --verbose notice: Ignoring --listen on
onetime run notice: Run of Puppet configuration client already in
progress; skipping
/var/lib/puppet/run/agent.pid
и /var/lib/puppet/state/puppetdlock
и удаляем их, после чего повторно перезапускаем puppet
/etc/init.d/puppet restart
Проверяем состояние puppet
/etc/init.d/puppet-agent status /usr/local/mon/bin/check_puppet.sh
/usr/local/mon/bin/check_puppet_last_update.sh
puppet
, выполняем
puppetd --test --verbose
puppet
делаем так
/usr/bin/puppet agent -tv --config /opt/puppet/puppet.conf
где /opt/puppet/puppet.conf
- путь к файлу конфига.
https://administratosphere.wordpress.com/2012/05/24/puppet-refuses-to-run-with/