[Linux-HA] Debugging a single service (mysql)

RaSca rascasoft at tiscali.it
Tue Jun 17 02:30:39 MDT 2008


Hi guys,
here i am again with my heartbeat2/Ipaddr2/drbd/apache2/mysql 
configuration. I've got some problems with the startup of the last 
service (mysql).
As a classic "with-drbd" configuration all mysql files are on the drbd 
partition. The service is configured to start AFTER the drbd partition 
mount, but it never comes up.
The strange thing is that, once all the other services are on, if i try 
to start it by hand (with /etc/init.d/mysql start) it comes up without 
any problem...

What can i do to understand why the service with heartbeat don't comes 
up correctly ?

I looked into all log files (ha-log and ha-debug) but i was unable to 
find out (almost) anything concerning mysql. Just lines like this one :

mgmtd[26622]: 2008/06/17_09:55:58 ERROR: unpack_rsc_op: Remapping 
mysql_5_monitor_0 (rc=254) on mycluster-ha-2 to an ERROR
mgmtd[26622]: 2008/06/17_09:55:58 ERROR: unpack_rsc_op: Remapping 
mysql_5_stop_0 (rc=254) on mycluster-ha-2 to an ERROR

Note : I've tried configuring the native mysql script and the ocf one 
that comes with heartbeat 2 (passing all the parameters).

So, what can i do ?

Thanks for any help,

-- 
RaSca
"Il regno dei cieli e' simile ad un mercante che va in cerca di
perle preziose. Trovatane una di grande valore va, vende tutti
i suoi averi e la compra" - Gesu' Cristo
http://web.tiscali.it/rascasoft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3351 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20080617/b08e3426/smime.bin


More information about the Linux-HA mailing list