While accessing the phpMyAdmin, I was getting the error as below -
Internal Server Error
500
Cpanel::Exception::IO::UnlinkError/(XID pzd66g) The system failed to unlink
“/var/cpanel/overquota/blocks_cPanel_username” because of an error: Permission denied
at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 77.
Cpanel::Exception::create("IO::UnlinkError", ARRAY(0x303acc8))
called at /usr/local/cpanel/Cpanel/Exception.pm line 30
Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, ARRAY(0x303acc8))
called at /usr/local/cpanel/Cpanel/Autodie/Unlink.pm line 37
Cpanel::Autodie::Unlink::unlink_if_exists("/var/cpanel/overquota/blocks_talkhifi")
called at /usr/local/cpanel/Cpanel/Quota/OverCache.pm line 92
Cpanel::Quota::OverCache::_unset_at_quota("blocks", "talkhifi") called at
/usr/local/cpanel/Cpanel/Quota/OverCache.pm line 79
Cpanel::Quota::OverCache::unset_user_at_blocks_quota("cPanel_username")
called at cpsrvd.pl line 2487
cpanel::cpsrvd::verify_user_is_at_blocks_quota_or_unset("cPanel_username")
called at cpsrvd.pl line 2443
cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1607
cpanel::cpsrvd::dodoc(HASH(0x13b0820)) called at cpsrvd.pl line 1367
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 849
cpanel::cpsrvd:Confusedcript() called at cpsrvd.pl line 319
Solution -
1. Login to cPanel
cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1607
cpanel::cpsrvd::dodoc(HASH(0x13b0820)) called at cpsrvd.pl line 1367
cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 849
cpanel::cpsrvd:Confusedcript() called at cpsrvd.pl line 319
Solution -
1. Login to cPanel
2. MySQL Databases
3. Under Modify Databases, select the database associated with your website, Click on Repair Database (in-front of drop down list).
3. Under Modify Databases, select the database associated with your website, Click on Repair Database (in-front of drop down list).
That's it! phpMyAdmin started working for me!
You can fire below command for repairing the databases on your server -
mysqlcheck --all-databases --auto-repair
mysqlcheck --all-databases --auto-repair