I'm getting this problem on all the puppet client's I've been setting up and it's got me both scratching my head (because I'm not seeing anything obvious in any system logs) and pausing in my rollout until I get it solved:# puppet resource service puppet ensure=running enable=true
Error: Could not start Service[puppet]: Execution of '/sbin/service puppet start' returned 1:Error: /Service[puppet]/ensure: change from stopped to running failed: Could not start Service[puppet]: Execution of '/sbin/service puppet start' returned 1:service { 'puppet':ensure => 'stopped',enable => 'false',}# ps aux | grep 'puppet agent' | grep -v grep# puppet agent
# ps aux | grep 'puppet agent' | grep -v greproot 55055 12.4 0.1 383924 45928 ? Ssl 07:15 0:01 /usr/bin/ruby /bin/puppet agent#Where should I look first? I'm not sure why this will start for me interactively but not from the agent (this also fails if the agent is already running in exactly the same fashion).Thanks!Bret Wortman--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Craxa7MPMXUJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Bret,On 13.11.2012, at 13:18, Bret Wortman wrote:I'm getting this problem on all the puppet client's I've been setting up and it's got me both scratching my head (because I'm not seeing anything obvious in any system logs) and pausing in my rollout until I get it solved:# puppet resource service puppet ensure=running enable=truedoes the service script has a status option and does the status deliver proper results?service puppet statusSome service scripts do not check properly for the status or they deliver wrong exit codes.If this is the case you can sethasstatus => false
This is probably something to do with either
1. Puppet init script with systemd
2. Puppet's interaction with systemd.
Both are really new and honestly, I'm certain they're not bug free
yet. If you could file a bug we'll look into this. I've noticed the
issue too on one of my home systems and just haven't looked into it
yet.
http://projects.puppetlabs.com/projects/puppet-community-pkg-repo/issues/new