Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    122
    Likes Received:
    0
    Trophy Points:
    66
    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:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This should work for you:

    shutdown -r now
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    176
    Likes Received:
    12
    Trophy Points:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice