[Linux-cluster] killproc annoyance
Lon Hohberger
lhh at redhat.com
Thu Apr 19 19:43:05 UTC 2007
On Wed, Apr 18, 2007 at 05:41:03PM -0600, Tarun Reddy wrote:
> Here is where things get annoying.
> 4) Now clustering says the service is failed. So it attempts to
> "service httpd stop" which killproc in /etc/init.d/functions returns
> a 1 since it wasn't running before. This causes the clustering
> software to fail the stop, and hence leave the service in a failed
> state. I can't get httpd up without the virtual IPs that are
> associated to the service, so I can't get killproc to ever return a 0
> when stopping the service. Shouldn't killproc return a 0 if none of
> the httpd daemons are still running?
This is a bug in the rhel4 initscripts package.
There's a question in the FAQ about it:
http://sources.redhat.com/cluster/faq.html#rgm_wontrestart
--
Lon Hohberger - Software Engineer - Red Hat, Inc.
More information about the Linux-cluster
mailing list