bmcpanel

Well-Known Member
Jun 1, 2002
544
0
316
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?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
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.
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Maybe try &shutdown -R now&.