Simple failover / drbd / apache problem

[email protected] Mon, 21 Aug 2006 12:30:05 +0200 (CEST)
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Hi all,

I'm making a simple failover cluster with drbd and apache.
Almost all is good, when I do a hb_standby all on one server, the drbd
disk and filesystem are correctly mounted and apache correctly started.
Idem with hb_takeover all.
But when I stop or restart heartbeat manually, apache refuses to start and
no error reported in the log of apache, just that :
ERROR: Return code 1 from /etc/init.d/apache

I have thought about a problem with drbd, which the partition is not
mounted when apache tries to start. But in this case, apache normally says
that in the log, here it doesn't say anything.
I have introduced the Delay function in haresources, with 5 seconds. The
problem is still here.

haresources :
noc-web-2 \
        IPaddr2::x.x.x.x/26/bond0/x.x.x.x \
        drbddisk::home-www \
        Filesystem::/dev/drbd0::/srv/www::reiserfs \
        Delay::5 \
        apache \
        MailTo::pid@xxx::ClusterMailStatusChange

Thanks for your help.
Pierre




-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.