speckados

Well-Known Member
I'0ve a FailOver System for Cpanel boxes. But I've a little problem with Service Monitor.

I like stop all services on FailOver machine except Mysql because server failover running on slave mode.

It is necessary as it clones the mail queue, user accounts, cron, mailman, and not to do so, there are duplicates of mail shipments, etc. lists.

I try wiht this on failover machine after hourly syncro:

Code:
 replace "cpsrvd:1" "cpsrvd:0" -- /etc/chkserv.d/chkservd.conf;
 /scripts/restartsrv_chkservd
service httpd stop;service courier-imap stop; service courier-authlib stop; service cpanel stop
service pure-ftpd stop; killall -9 python2.4; service exim stop;  /usr/local/cpanel/libexec/tailwatchd --stop
 /usr/local/cpanel/etc/init/stopcpsrvd
killall -9 courierlogger;  killall -9 couriertcpd; killall -9 exim; killall -9 clamd; killall -9 httpd; killall -9 authdaemond
But after any time services become up.

I'm lost. I need any help :(
 

MattCurry

Well-Known Member
Aug 18, 2009
275
0
66
Houston, Tx
Failover Help

Hello,


In this particular case we would need to get more information off of the server, please submit a ticket via the link at the bottom of the post so we can take a closer look at your issue.


Thank you,
Matthew Curry