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.

How to reboot the server, from ssh? when i cant open whm

Discussion in 'General Discussion' started by basketmen, Oct 20, 2011.

  1. basketmen

    basketmen Well-Known Member

    Joined:
    Sep 9, 2010
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    If my dedicated server get high load (rarely), i cant open whm, i need to request reboot from the hosting company, to make the server rebooted

    but i can open ssh, so how to reboot the server, from ssh?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This should work for you:

    shutdown -r now
     
  3. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    A better solution would be to address the cause of your overloaded server ;) If you can gain shell access to reboot, you can see what is causing the load. Also, if you've not already installed CSF/LFD then this can assist by e-mailing you the process list when a high load is detected.
     
Loading...

Share This Page