Issue #3103 has been updated by Josh Baird.
This may or may not be related:
When puppet "refreshes" httpd on my CentOS 5.4 machines, it causes all of the
httpd processes on the client o become defunct and stop responding. A "service
httpd restart" fixes this issue when executed locally on the box.
@
notice: //apache::linux::service/Service[httpd]: Triggering 'refresh' from 1
dependencies
class apache::linux::service {
service { "httpd":
ensure => running,
enable => true,
hasrestart => true,
hasstatus => false,
pattern => "httpd",
require => Class["apache::linux::vhost"]
}
}
client# ps aux | grep http
root 2154 0.0 0.0 241640 8304 ? Ss 09:19 0:00 /usr/sbin/httpd
apache 2200 0.0 0.0 0 0 ? Z 09:19 0:00 [httpd]
<defunct>
apache 2202 0.0 0.0 0 0 ? Z 09:19 0:00 [httpd]
<defunct>
apache 2203 0.0 0.0 0 0 ? Z 09:19 0:00 [httpd]
<defunct>
@
Puppetmaster/client: 0.25.2
Ruby: 1.8.7.74
----------------------------------------
Bug #3103: Unable to refresh Services
http://projects.reductivelabs.com/issues/3103
Author: Bruno Leon
Status: Closed
Priority: Normal
Assigned to:
Category: service
Target version:
Affected version: 0.25.2
Keywords:
Branch:
Many services that worked perfectly until now are now facing problems to be
restarted.
Here is a debug log for Apache, but this is the same with SSH for example:
@notice: //apache2/Exec[reload-apache2]: Triggering 'refresh' from 2
dependencies
debug: //apache2/Exec[reload-apache2]: Executing '/etc/init.d/apache2 reload'
debug: Executing '/etc/init.d/apache2 reload'
err: //apache2/Exec[reload-apache2]: Failed to call refresh on
Exec[reload-apache2]: /etc/init.d/apache2 reload returned 1 instead of one of
[0] at /etc/puppet/development/modules/apache2/manifests/init.pp:115@
The command ran directly on the console works perfectly, and I don't have a
clue why puppet does not manage to refresh that service.
>From what I can see in Apache log, the command is not even executed.
--
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.