[Linux-cluster] Mysql.sh error.

Marek Grac mgrac at redhat.com
Tue Dec 29 17:42:27 UTC 2009


On 12/22/2009 06:27 PM, Marty Diesburg wrote:
> Sorry, for the double-post, ---great way to start on the list :). 
>  Below has the error message as well "Failed - Invalid Name Of Service".
> Hi all,
> I am new to the list and have an issue with the Mysql service.  It is 
> running, but when I run the commands /usr/share/cluster/mysql.sh 
> restart, or /usr/share/cluster/mysql.sh status I get
> the following errors.  I am using mysql as a database for an email 
> server with Dovecot, Qmail, and Vpopmail.
> <debug>  Verifying Configuration Of default
> <error>  Verifying Configuration Of default > Failed - Invalid Name Of 
> Service
> <debug>  Monitoring Service default
> <debug>  Monitoring Service default > Service Is Running

Yours $OCF_RESKEY_* variables are not set, so resource agent does not 
know name of the service. Resource agents are not used directly but via 
rgmanager, so you should start it and your service will be started 
automatically. If you need run in it debugging mode, you can try 
'clurgmgrd -fd'.

> <mysql config_file="/production/mysql/etc/my.cnf" 
> listen_address="" mysql_options="" name="productionsql" 
> shutdown_wait=""/>
> <script file="/production/qmail/bin/qmailctl" name="qmail"/>
> </resources>
> <service autostart="1" domain="mailcluster" name="mailcluster" 
> recovery="restart">
> <ip ref="">
> <fs ref="backup"/>
> <fs ref="production"/>
> <mysql ref="productionsql">
> <fs ref="production"/>
> </mysql>
> <script ref="qmail">
> <fs ref="production"/>
> </script>
> </ip>
> </service>
> </rm>
> </cluster>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20091229/14c2a277/attachment.htm>

More information about the Linux-cluster mailing list