[Linux-cluster] Included Service Scripts Stop error

jose nuno neto jose.neto at liber4e.com
Mon Jan 25 15:59:16 UTC 2010


Hi,

I'm building a cluster with
cman-2.0.115-1.el5_4.2
rgmanager-2.0.52-1.el5


Right now I'm testing services start/stop but can't get a clean stop from
the included scripts in /usr/share/cluster
It starts ok, but stop no, althouth the app is stoped
This happens either with apache or mysqld scripts
Any extra setting needed? timing tunings?

Comands runned:

rg_test test /etc/cluster/cluster.conf start service MySQL
Running in test mode.
Starting MySQL...
<debug>  Link for bond0: Detected
<info>   Adding IPv4 address 172.26.18.7/20 to bond0
<debug>  Sending gratuitous ARP: 172.26.18.7 00:14:4f:ca:83:4c brd
ff:ff:ff:ff:ff:ff
<debug>  Verifying Configuration Of mysql:MySQLTest
<debug>  Verifying Configuration Of mysql:MySQLTest > Succeed
<info>   Starting Service mysql:MySQLTest
<debug>  Looking For IP Address > Succeed -  IP Address Found
<debug>  Starting Service mysql:MySQLTest > Succeed
Start of MySQL complete


rg_test test /etc/cluster/cluster.conf stop service MySQL
Running in test mode.
Stopping MySQL...
<debug>  Verifying Configuration Of mysql:MySQLTest
<debug>  Verifying Configuration Of mysql:MySQLTest > Succeed
<info>   Stopping Service mysql:MySQLTest
<error>  Stopping Service mysql:MySQLTest > Failed - Application Is Still
Running
<error>  Stopping Service mysql:MySQLTest > Failed
<info>   Removing IPv4 address 172.26.18.7/20 from bond0

rg_test test /etc/cluster/cluster.conf stop service MySQL
Running in test mode.
Stopping MySQL...
<debug>  Verifying Configuration Of mysql:MySQLTest
<debug>  Verifying Configuration Of mysql:MySQLTest > Succeed
<info>   Stopping Service mysql:MySQLTest
<error>  Checking Existence Of File
/var/run/cluster/mysql/mysql:MySQLTest.pid [mysql:MySQLTest] > Failed -
File Doesn't Exist
<info>   Stopping Service mysql:MySQLTest > Succeed
<debug>  172.26.18.7 is not configured
Stop of MySQL complete


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Linux-cluster mailing list