Still having trouble restarting cPanel services after WHM update

Author
Zayn Rahman Author
|
3 days ago Asked
|
5 Views
|
0 Replies
0
Hi everyone, I'm following up on the 'WHM service restart failures?' thread. I'm really new to server management and have been trying to apply some of the advice there, but I'm still hitting a wall. After a recent WHM update, whenever I try to restart specific cPanel services, like Apache or MySQL, either through WHM directly or via SSH, it consistently results in a timeout or a clean failure, not a successful restart. It's really impacting our site's uptime and I'm a bit lost.

So far, I've tried a few things based on what I read:
  • Attempted restarts through WHM's 'Service Manager' interface. It just hangs and eventually fails.
  • Logged into SSH and tried commands like systemctl restart httpd and /scripts/restartsrv_apache. Both also fail to complete.
  • I've checked dmesg and /var/log/messages for anything obvious, but I'm not seeing clear, immediate errors that scream 'this is the problem' to my untrained eye. It just looks like normal logging until the service restart attempt.

Here's an example of what I see when trying to restart Apache via SSH:
root@server [~]# /scripts/restartsrv_apache
Waiting for httpd to stop...
[  OK  ]
Waiting for httpd to start...
...
(repeats for several minutes)
...
Service 'httpd' failed to start.
Attempting to restart through systemd...
Job for httpd.service failed because a timeout was exceeded.
See "systemctl status httpd.service" and "journalctl -xe" for details.

My main question is, what common pitfalls might a complete beginner like me be missing when cPanel services fail to restart after a WHM update? Are there specific server diagnostics steps or logs I should be looking at more closely to properly diagnose and resolve these issues safely without breaking things even more? Any guidance on understanding the output for proper server diagnostics would be incredibly helpful.

0 Answers

No answers yet.

Be the first to provide a helpful answer!

Your Answer

You must Log In to post an answer and earn reputation.