Question

I cant access my cpanel and WHM homepage

Posted May 25, 2021 116 views
CentOSDNSDatabases

Hi, I have a Cpanel & WHM droplet and my VA is migrating my websites from a shared account to digital ocean using Cpanel. He asked me to increase the disk space and so I did, now we can’t access the Cpanel or WHM page. I get an Internal server error 500. Any help would be appreciated. I am a newbie here.

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.

×
Submit an Answer
1 answer

Hello, @Anapereira

What you can do is examine the Apache error_log and track down any listed errors in the log. You can use the following command to get the last 100 entries of the log:

  • tail -n 100 /usr/local/apache/logs/error_log

and you can also check the log in real-time with:

  • tail -f /usr/local/apache/logs/error_log

You can also check the log from the cPanel menu in the corresponding cPanel account in the logs menu.

I would assume that the issue is with the .htaccess file so you can try to temporary rename it or comment out any custom values or rewrite rules in it as well.

Hope that this helps!
Regards,
Alex

  • Hi Alex, the Apache error_log errors is a huge pile of data, like…huge mess. As the other options, I can’t access cpanel at all…

    • Hello,

      Are you able to locate any error messages when examining the error_log? Also, do you get any error when trying to access cPanel or the page is just not loading?

      If you have ssh access to the droplet you can check if the cPanel service is running with this command:

      • sudo service cpdavd status

      or restart it with:

      • /scripts/restartsrv_cpdavd

      Regards,
      Alex