2009/4/2 Keith Edmunds <k...@midnighthax.com>

>
> OK, you're running exactly the same version of puppet as I am, and I have
> the same entries for [puppetd] save for the server name. I don't have the
> problem you have.
>
> It's worth stopping puppet and then checking for any running puppet
> process (I use "ps -ef|grep puppet") and killing any that may be running.
> Once they've all stopped, start puppet ("/etc/init.d/puppet start") and
> see if you have a /var/run/puppet/puppetd.pid file.
>

Here's some more detailed debugging.  Stop still isn't working, but there is
a pid file and it seems to have the right pid in it:-

g...@dv01:/ $ ls -ld /var/puppet/run
drwxrwxrwt 2 root root 4096 2009-04-03 17:52 /var/puppet/run
g...@dv01:/ $ ps -ef | grep [p]uppet
root     30545     1  5 17:52 ?        00:00:04 ruby /usr/sbin/puppetd -w 5
g...@dv01:/ $ sudo killall ruby
g...@dv01:/ $ ps -ef | grep [p]uppet
g...@dv01:/ $ sudo /etc/init.d/puppet start
Starting puppet configuration management tool.
g...@dv01:/ $ ps -ef | grep [p]uppet
root     30642     1 24 17:53 ?        00:00:00 ruby /usr/sbin/puppetd -w 5
g...@dv01:/ $ sudo /etc/init.d/puppet stop
Stopping puppet configuration management tool.
g...@dv01:/ $ ps -ef | grep [p]uppet
root     30642     1  7 17:53 ?        00:00:02 ruby /usr/sbin/puppetd -w 5
g...@dv01:/ $ ls -l /var/puppet/run
total 4
-rw-r--r-- 1 root root 5 2009-04-03 17:53 puppetd.pid
g...@dv01:/ $ cat /var/puppet/run/puppetd.pid
30642g...@dv01:/ $ sudo kill $(cat  /var/puppet/run/puppetd.pid )
g...@dv01:/ $ ps -ef | grep [p]uppet
g...@dv01:/ $

I can't see any obvious reason why this isn't working

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