Fli
04-05-2016, 01:46 PM
When i got this error:
DBD::mysql::db selectall_arrayref failed: Table './eximstats/sends' is marked as crashed and should be repaired at /usr/local/cpanel/Cpanel/DeliveryReporter/Basic.pm line 164.
I googled and based on the discovery, it seems that exims mysql table is crashed and so it needs to be repaired by mysqlcheck program.
So i executed following commands to fix the issue:
# mysqlcheck eximstats -repair -u root -p
Enter password:
eximstats.defers OK
eximstats.failures OK
eximstats.sends
warning : Number of rows changed from 47398 to 47397
status : OK
eximstats.smtp
warning : Number of rows changed from 35411 to 35403
status : OK
# /usr/local/cpanel/bin/updateeximstats
DBD::mysql::db selectall_arrayref failed: Table './eximstats/sends' is marked as crashed and should be repaired at /usr/local/cpanel/Cpanel/DeliveryReporter/Basic.pm line 164.
I googled and based on the discovery, it seems that exims mysql table is crashed and so it needs to be repaired by mysqlcheck program.
So i executed following commands to fix the issue:
# mysqlcheck eximstats -repair -u root -p
Enter password:
eximstats.defers OK
eximstats.failures OK
eximstats.sends
warning : Number of rows changed from 47398 to 47397
status : OK
eximstats.smtp
warning : Number of rows changed from 35411 to 35403
status : OK
# /usr/local/cpanel/bin/updateeximstats