mokummusic

Member
Sep 7, 2014
6
0
1
cPanel Access Level
Root Administrator
Hi there

I edited a package to switch off CGI access and the page froze as in the screenshot. Now all my sites are dead. I've tried refreshing the page and switched CGI back on, tried rebooting the server and no go. I also tried creating a new package and switching one of my website accounts to that package.. once again the page froze halfway through loading

Anyone help me? :s

Thanks
Neil
 

Attachments

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Can you initiate active log checking while you do this.

# tail -f /usr/local/cpanel/logs/error_logs


Once you execute the above command, try performing the editing part on the WHM again and see if you see any error.
 

cPWilliamL

cP Technical Analyst II
Staff member
May 15, 2017
258
30
103
America
cPanel Access Level
Root Administrator
It could be that your RPM database is not in good health. You could try running the command below:
Code:
/scripts/find_and_fix_rpm_issues
It's also possible the server is experiencing high I/O wait. Have you monitored the system resources when this happens?
 

mokummusic

Member
Sep 7, 2014
6
0
1
cPanel Access Level
Root Administrator
Thanks for the replies.. I've tried the above and the RPM reports no errors. The tail command didn't produce anything in my console. I've found how to bring my sites back up. If i revert to a backup httpd config file, they come alive. I got up this morning and they were down again. Just reverted back to the older http and they're back. I can't seem to get the older httpd file to stick, cpanel keeps reverting back to the newest one.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look? Reverting the Apache configuration file is not a valid solution as that file is rebuilt upon several actions (e.g. new account creation, adding subdomains, etc).

Thank you.
 
  • Like
Reactions: mokummusic