My websites are down with error 500 and WHM/cPanel not accessible?

July 21, 2016 318 views
Monitoring Networking Apache Configuration Management Miscellaneous System Tools DigitalOcean CentOS

Dear all, I have droplet which was with uptime about 2 years. Before an hour I got Error 500 on my all website which is hosted there. I am using WHM/cPanel installed on the server to manage it, but it's not accessible too now.

Can someone help me?
From the WHM/cPanel told me this:

I tried to restart cpanel for you and getting the error as :

*** /usr/local/cpanel/etc/init/startup ERROR: ***
Refusing to start because log directory /usr/local/cpanel/logs is not writable!
The specific error was: Read-only file system at /usr/local/cpanel/Cpanel/ line 29.

your file system is in read-only mode, please ask you server administrator or service provider to run FSCK on your server.

after that you will need to run cpanel update

/scripts/upcp --force 

that will resolve the issue.

My web administrator is not online and will be back in few days, I can't wait those days, so can someone tell what exact can I do to repair my droplet?

PS. My Droplet is CentOS

1 Answer

This error indicates that your droplet's filesystem is mounted read-only. This can happen if there has been damage to the filesystem that was detected on boot. You will need to run a filesystem check (FSCK) on your disk to fix any issues and reboot your droplet in read/write mode. I recommend opening a ticket with the support team. They will be able to guide you in running the FSCK. Once that is complete you can run the command recommended in the message your received. Without your administrator around you may wish to reach out to cPanel for further assistance once the filesystem issue has been resolved. As cPanel is a paid product it does include some support services.

Have another answer? Share your knowledge.