Author Topic: Problem in rebooting the server  (Read 301 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problem in rebooting the server
« on: July 15, 2024, 05:31:32 AM »
CWP prevents the server from rebooting.
when using the reboot command or shutdown -r now, the server shuts down on reboot.
After disabling cwp and cwpsrv the reboot works perfectly.
So I had to create 2 scripts stopandreboot that disable all services then stop them, then run the command shutdown -r now.
After the reboot I have to run the second script startallservices.
I solved the problem but obviously it's a workaround

Offline
*****
Re: Problem in rebooting the server
« Reply #1 on: July 15, 2024, 07:18:38 PM »
You should figure out what stalls out the reboot and keeps it from restarting cleanly. I haven't seen this issue, so it is likely specific to your configuration. Are you giving the reboot sufficient time to complete (2-5 min), if there is some stuck process? Is this from the CLI or are you initiating the reboot via the CWP server reboot function in the GUI?

Offline
*****
Re: Problem in rebooting the server
« Reply #2 on: July 15, 2024, 10:14:08 PM »
I've seen this is the server wasn't a virgin, aka Apache, PHP, etc. where already loaded.
And then CWP gets confused.

Was this on a VPS or Dedicated?
Local or Remote?
Do you have console access?
If so, what does it show on boot?

Offline
*****
Re: Problem in rebooting the server
« Reply #3 on: July 30, 2024, 10:06:41 AM »
Imm guessing since the OP hasn't posted since the original date July 15, 2024 they must have figured it out.