[Linux-HA] Service fails to start at failover
Alan Robertson
alanr at unix.sh
Tue Mar 23 12:08:59 MST 2004
Andreas Bergstrøm wrote:
>> I just missed it. I would guess from the logs that auto_failback is
>> on. However, you're complaining that "manetheren" did not take over
>> the resources near the end of the period given by the logs (between
>> 11:35:55 and 11:35:58). Is that right?
>
>
> No, manetheren is the main node, and malkier is the secondary which
> should take over, and it is its log that I suplied.
>
>> One more thought:
>>
>> Heartbeat will not start a service if it thinks its already running.
>> And at various times, it wouldn't do that if the first resource on the
>> line is started. I don't remember exactly what the current state of
>> affairs is.
>>
>> So, make sure that
>> /etc/ha.d/resource.d/IPaddr 158.36.47.168 status
>> and /etc/init/d/httpd status
>
>
> Hmm, both are stopped, but could 'service httpd status' be strange to
> heartbeat:
>
> [root at malkier ha.d]# service httpd status
>
> Apache is *not* running.
>
> Use /etc/init.d/httpd extendedstatus for more information.
>
>
> This is the standard Mandrake 9.2 apache 2 script, is this what is
> confusing heartbeat?
Yes. Heartbeat isn't very smart about parsing the output.
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA
mailing list