2009/4/6 Marcin Owsiany <mar...@owsiany.pl>

>
> On Mon, Apr 06, 2009 at 10:50:17AM +0100, Gary Law wrote:
> > + start-stop-daemon --stop --quiet --pidfile /var/run/puppet/puppetd.pid
> [...]
> > g...@dv01:~ $ ps -ef | grep [p]uppet
> > root      6774     1  0 Apr04 ?        00:06:49 ruby /usr/sbin/puppetd -w
> 5
>
> Try:
> start-stop-daemon --stop --pidfile /var/run/puppet/puppetd.pid --verbose
>

dv01:~# ps -ef  | grep [p]uppet
root     28518     1  0 18:52 ?        00:00:16 ruby /usr/sbin/puppetd -w 5
dv01:~# cat /var/puppet/run/puppetd.pid
28518dv01:~#
dv01:~# start-stop-daemon --stop --pidfile /var/run/puppet/puppetd.pid
--verbose
No process in pidfile `/var/run/puppet/puppetd.pid' found running; none
killed.
dv01:~# cat /var/puppet/run/puppetd.pid
28518dv01:~#
dv01:~# kill $(!cat)
kill $(cat /var/puppet/run/puppetd.pid )
dv01:~# ps -ef  | grep [p]uppet
dv01:~#

so it seems the start-stop-daemon doesn't like the pid file for reasons I
cannot explain. Missing trailing CR? But that's very common in pid files
AFAIK.

Gary






-- 
Gary Law
Email: gary...@garylaw.net
Chat googletalk/messenger: gary....@gmail.com
iChat/jabber/AIM: gary....@mac.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to