[Linux-cluster] service restart problem
Omer Faruk Sen
omer at faruk.net
Wed Feb 15 08:49:21 UTC 2006
Patch in the URL
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=111998 doesn't work
with mysqld init script it seems that all scripts should be revised if it
is working or not with this patch. Httpd seems to work with this patch
though.. (returning 0 even if service is not working..)
> On Mon, 2006-02-13 at 16:40 -0800, Marc Lewis wrote:
>> Since the service is already dead, the startup scripts return an error
>> trying to stop the service. clurgmgrd fails the service and the service
>> now down.
> The script should return "0" in stop-after-stop/stop-after-dead cases,
> not "1". It's a bug in /etc/init.d/functions of RHEL4's initscripts
>> The only way I've found around this is to force the "stop" to return 0
>> matter what. This way clurgmgrd will believe it has succeeded in
>> down the service and will restart it.
> Please see this bugzilla:
> There's a patch for /etc/init.d/functions inside it.
>> > Anyone have any ideas on how to solve either of these two problems?
>> > been waiting to deploy the cluster we've put together until I could
>> > these two issues, but have run out of things to try.
>> I'm still seeing clurgmgrd die periodically for no reason, though. I
>> have to write another script to monitor it as well and run that out of
>> every so often. That doesn't seem like a very good solution, though
>> it does restart all of the services that are running on that node.
> The correct solution is to fix the problem with clurgmgrd, which has
> been done in CVS and will be in an errata shortly.
> -- Lon
> Linux-cluster mailing list
> Linux-cluster at redhat.com
Omer Faruk Sen
More information about the Linux-cluster