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=true does the service script has a status option and does the status deliver proper results? service puppet status Some service scripts do not check properly for the status or they deliver wrong exit codes. If this is the case you can set hasstatus => false hth, Martin > 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 grep > root 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-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.