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.

Rebooting Server

Discussion in 'General Discussion' started by bmcpanel, Jan 13, 2003.

  1. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    There are times when I need to reboot my servers manually via SSH. I formerly used

    /sbin/reboot

    and this would reboot my server. However, something has changed in the last few months with CPanel as now, when I reboot any of our servers using /sbin/reboot, the server hangs and I have to call my data center and ask for a manual reboot.

    This happens on any of my servers running RH 6.2 and RH 7.1 with Apache 1.3.26.

    Is anyone else familiar with this problem?
     
  2. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    Anyone at all?
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    Does it work if you do the reboot through whm?

    It could be a multiude of things, what does your NOC say, is there any message on the console that they see?

    Try doing an init 6 from an ssh prompt.

    Init is the parent of all processes. Runlevels 0, 1, and 6 are reserved. Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system, and runlevel 1 is used to get the system down into single user mode.

    I find that works best.
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Maybe try &shutdown -R now&.
     
Loading...

Share This Page