Issue #1454 has been updated by David Bishop.

Assigned to deleted (Andrew Shafer)

I had the same issues as this ticket and #2267, which was solved by fixing my 
puppet.conf.  I had a malformed libdir definition ( libdir = 
$libdir:/usr/local/puppet-dashboard/lib/puppet, if you must know).  Fixing that 
solved my problem.  Obviously, I shouldn't have screwed up the definition, but 
a nicer error message would have been handy.
----------------------------------------
Bug #1454: puppetd restart, sometimes failed.
http://projects.reductivelabs.com/issues/1454

Author: Vadim Vatlin
Status: Needs more information
Priority: Normal
Assigned to: 
Category: 
Target version: unplanned
Patch: None
Affected version: 0.24.7
Keywords: 
Branch: 


Hi.
I created module puppetd, which restart puppetd itself:
<pre>
service { "puppetd":
                ensure     => running,
                enable     => true,
                path       => [ "/etc/rc.d",
                                "/usr/local/etc/rc.d" ],
                pattern   => "puppetd",
                hasstatus  => true,
                hasrestart => true;
        }
</pre>
But it doesn't work:
tail -f /var/log/messages
<pre>
Jul 14 16:32:57 hostname puppetd[580]: 
(//Node[fqdn]/base_ac/puppetd/Service[puppetd]/enable) enable changed 'false' 
to 'true'
Jul 14 16:32:57 hostname puppetd[580]: 
(//Node[fqdn]/base_ac/puppetd/Service[puppetd]) Triggering 'refresh' from 1 
dependencies
Jul 14 16:32:57 hostname puppetd[580]: Caught TERM; shutting down
Jul 14 16:32:57 hostname puppetd[580]: Shutting down
Jul 14 16:33:18 hostname puppetd[580]: Reparsing 
/usr/local/etc/puppet/puppet.conf
Jul 14 16:33:18 hostname puppetd[580]: Could not run 
Puppet::Network::Client::Master: Thread(#<Thread:0x8082700 run>) not locked.
</pre>

ps aux -www | grep puppetd
<pre>
root    580  0.0  1.8 65736 65252  ??  Ss   Sat11AM   0:55.87 
/usr/local/bin/ruby18 /usr/local/bin/puppetd --rundir /var/run/puppet
root  58855  0.0  0.0  1868  1460  ??  Is   Sat12PM   0:00.01 /bin/sh 
/usr/local/etc/rc.d/puppetd restart
root  58862  0.0  0.0  1868  1492  ??  S    Sat12PM   0:24.50 /bin/sh 
/usr/local/etc/rc.d/puppetd restart
</pre>

OS: FreeBSD 6.3


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.


Reply via email to