hql

Member
Jun 6, 2013
10
0
1
cPanel Access Level
Root Administrator
Hey Guys,

I hope im posting in the right forum for help, basically I today tried to run the wizard to update cpanel to 11.52 and it keeps getting stuck at one point and will not go any further, I tried running the update via SSH as well but still the same what can I do to fix this?
 

Attachments

hql

Member
Jun 6, 2013
10
0
1
cPanel Access Level
Root Administrator
Okay so here's what happened, my server had some malware on it which was sending out spam emails and on running the commant exim -bpc I realised there was about 820K emails in the que, so I ran the following command to get rid of this que obviously after removing the malware:

Code:
cd /var/spool
mv exim exim.old
mkdir -p exim/input
mkdir -p exim/msglog
mkdir -p exim/db
chown -R mail:mail exim
/sbin/service exim restart
This seemed to have fixed the problem and the CPANEL Update completed normally but then I received an email which told me the eximstats database was corrupt:

Code:
cPanel & WHM has determined that the following database tables are corrupt:

Database    Error
eximstats    error    : Corrupt
error    : Corrupt
We recommend that you repair these tables with WHM’s “Repair a MySQL Database” interface (WHM Home » SQL Services » Repair a MySQL Database). If the repair fails, contact cPanel Support for further assistance.
Tried running the repaid on the eximstats db but nothing seems to be happening, Just no output on the screen.


What shall I do from here?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Tried running the repaid on the eximstats db but nothing seems to be happening, Just no output on the screen.
Hello :)

You can also regenerate the eximstats database if you do not wish to preserve any of the email statistics, by deleting it via phpMyAdmin or the MySQL command line, and then running the following command:

Code:
/usr/local/cpanel/bin/updateeximstats
Thank you.