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

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.