Skip to main content

upgrading cPanel question

Comments

4 comments

  • Eric
    Can you dump the last log to us?
    cat /var/cpanel/updatelogs/last
    0
  • hql
    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:
    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:
    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?
    0
  • dalem
    try running mysqlcheck -r eximstats from cli
    0
  • cPanelMichael
    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:
    /usr/local/cpanel/bin/updateeximstats
    Thank you.
    0

Please sign in to leave a comment.