Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default Stop server commands

    I just moved my customers to a new server. It's been 3 days so everything is propagated.

    The old server will remain paid for for another 2 weeks but I do not want the server live. Every time I try and shut something down it auto restarts.

    Can somebody give me some ssh commands to stop the restarting of services and also some good commands to bring the server completely down, and stay down?

    Thank you very much

  2. #2
    Member WebScHoLaR's Avatar
    Join Date
    Dec 2005
    Location
    Planet Earth
    Posts
    506

    Default

    cPanel has a builtin monitoring service that restarts the services after 8 minutes. You can stop all services and also stop Monitoring utility chkservd as:

    /etc/init.d/chkservd stop


    To keep the server down simply run:

    init 0

    Regards,
    WebScHoLaR

    WebHosting Blog: http://WebScHoLaR.net

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    231

    Default

    Thanks very much for your response.

    Will I be able to ssh2 into the server when I run the init 0 command?

    If I needed to bring it back up do I run init 1

    Thanks again.

Similar Threads & Tags
Similar threads

  1. server under attack need to stop now
    By fishfreek in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 02-05-2008, 05:08 AM
  2. how can i stop migrating from my server?
    By tyuuu in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-29-2006, 08:06 AM
  3. Spammers are using my server.. how can I stop them
    By NetX in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-02-2005, 03:48 AM
  4. How to stop SPAMMER from my server?
    By parser in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-17-2005, 07:17 PM
  5. Stop server from trying all this mails...
    By vishal in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2004, 06:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube