Dan Bode
2009-Sep-07 15:02 UTC
[Puppet Users] solaris: 24.8 multiple puppet processes wont die
after an installation using blastwave on solaris, there were multiple puppet processes running, when we try to kill them svc-puppetd start recreates them. We can still launch puppet, and it seems to work file, but we are just not sure what is going on with these poor lost processes. Has anyone seen anything like this before or know what the problem is? thanks in advance, Dan [Globalzone>[root@:~]$ svcs -x puppetd svc:/network/puppetd:default (Puppet Client Daemon) State: disabled since Mon Sep 07 16:20:05 2009 Reason: Disabled by an administrator. See: *http://sun.com/msg/SMF-8000-05*<https://ingexhowa01.boehringer.com/exchweb/bin/redir.asp?URL=http://sun.com/msg/SMF-8000-05> See: puppetd(1) See: /var/svc/log/network-puppetd:default.log Impact: This service is not running. [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet root 13351 1 0 Aug 21 ? 7:06 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 13348 1 0 Aug 21 ? 7:46 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 6913 1 0 Aug 28 ? 4:39 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 13349 1 0 Aug 21 ? 7:38 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2525 2402 0 16:23:21 pts/3 0:00 grep puppet [Globalzone>[root@:/var/puppet/run]$ kill -9 13351 13348 6913 13349 [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet root 2555 2402 0 16:23:47 pts/3 0:00 grep puppet root 2544 29036 0 16:23:46 ? 0:00 /bin/sh /opt/csw/lib/svc/method/svc-puppetd start root 2543 2539 0 16:23:46 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2539 29065 0 16:23:46 ? 0:00 /bin/sh /opt/csw/lib/svc/method/svc-puppetd start root 2550 2546 0 16:23:46 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2548 2544 0 16:23:46 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2551 29150 0 16:23:46 ? 0:00 /bin/sh /opt/csw/lib/svc/method/svc-puppetd start root 2553 2551 0 16:23:46 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2546 6714 0 16:23:46 ? 0:00 /bin/sh /opt/csw/lib/svc/method/svc-puppetd start [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet root 2644 1 0 16:23:51 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2642 1 0 16:23:51 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2637 1 0 16:23:50 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd root 2647 2402 0 16:24:02 pts/3 0:00 grep puppet root 2640 1 0 16:23:50 ? 0:00 /opt/csw/bin/ruby /opt/csw/bin/puppetd --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Chris
2009-Sep-07 22:10 UTC
[Puppet Users] Re: solaris: 24.8 multiple puppet processes wont die
On Sep 7, 4:02 pm, Dan Bode <bod...@gmail.com> wrote:> after an installation using blastwave on solaris, there were multiple puppet > processes running, when we try to kill them svc-puppetd start recreates > them. >If you''ve added puppet to the global zone using blastwave, then it will be installed into all the child zones too. The installer adds an SMF service in each zone; each puppetd process you see almost certainly corresponds to a separate running zone on your system. /usr/bin/ps -efZ | grep puppet should show you which zone they''re running in Doing something like for zone in `zoneadm list | grep -v global` do zlogin $zone svcadm disable puppetd done should disable them all except for the global zone, then you can re-enable on a zone-by-zone basis as needed. HTH Chris> We can still launch puppet, and it seems to work file, but we are just not > sure what is going on with these poor lost processes. > > Has anyone seen anything like this before or know what the problem is? > > thanks in advance, > > Dan > > [Globalzone>[root@:~]$ svcs -x puppetd > svc:/network/puppetd:default (Puppet Client Daemon) > State: disabled since Mon Sep 07 16:20:05 2009 > Reason: Disabled by an administrator. > See: *http://sun.com/msg/SMF-8000-05*<https://ingexhowa01.boehringer.com/exchweb/bin/redir.asp?URL=http://s...> > See: puppetd(1) > See: /var/svc/log/network-puppetd:default.log > Impact: This service is not running. > [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet > root 13351 1 0 Aug 21 ? 7:06 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 13348 1 0 Aug 21 ? 7:46 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 6913 1 0 Aug 28 ? 4:39 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 13349 1 0 Aug 21 ? 7:38 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2525 2402 0 16:23:21 pts/3 0:00 grep puppet > [Globalzone>[root@:/var/puppet/run]$ kill -9 13351 13348 6913 13349 > [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet > root 2555 2402 0 16:23:47 pts/3 0:00 grep puppet > root 2544 29036 0 16:23:46 ? 0:00 /bin/sh > /opt/csw/lib/svc/method/svc-puppetd start > root 2543 2539 0 16:23:46 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2539 29065 0 16:23:46 ? 0:00 /bin/sh > /opt/csw/lib/svc/method/svc-puppetd start > root 2550 2546 0 16:23:46 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2548 2544 0 16:23:46 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2551 29150 0 16:23:46 ? 0:00 /bin/sh > /opt/csw/lib/svc/method/svc-puppetd start > root 2553 2551 0 16:23:46 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2546 6714 0 16:23:46 ? 0:00 /bin/sh > /opt/csw/lib/svc/method/svc-puppetd start > [Globalzone>[root@:/var/puppet/run]$ ps -ef | grep puppet > root 2644 1 0 16:23:51 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2642 1 0 16:23:51 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2637 1 0 16:23:50 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd > root 2647 2402 0 16:24:02 pts/3 0:00 grep puppet > root 2640 1 0 16:23:50 ? 0:00 /opt/csw/bin/ruby > /opt/csw/bin/puppetd--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---