The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

upgrading cPanel question

Discussion in 'General Discussion' started by hql, Nov 28, 2015.

  1. hql

    hql Registered

    Joined:
    Jun 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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?
     

    Attached Files:

  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Can you dump the last log to us?

    Code:
    cat /var/cpanel/updatelogs/last 
     
  3. hql

    hql Registered

    Joined:
    Jun 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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?
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    try running
    mysqlcheck -r eximstats

    from cli
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page