The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stop all services and Monitor

Discussion in 'General Discussion' started by speckados, Aug 29, 2009.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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 :(
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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
     
Loading...

Share This Page