Results 1 to 6 of 6

Thread: eximstats mysql table remains empty - users cannot "Trace Emails" in cpanel

  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    190

    Default eximstats mysql table remains empty - users cannot "Trace Emails" in cpanel

    Hi - the title says it all really... eximstats mysql tables remain empty - users cannot "Trace Emails" in cpanel. Have restarted exim and tailwatch. Any clues as to what could be causing this - only seeing this on one of several servers.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: eximstats mysql table remains empty - users cannot "Trace Emails" in cp

    Does the eximstats database exist?

    Code:
    mysql -e "show tables in eximstats"
    If that does return data, do you see any errors about eximstats in /usr/local/cpanel/logs/tailwatchd_log file?

    Code:
    grep eximstats /usr/local/cpanel/logs/tailwatchd_log
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Nov 2008
    Posts
    190

    Default Re: eximstats mysql table remains empty - users cannot "Trace Emails" in cp

    Hi - sorry for delay in replying. Yep the four tables are definitely there and are all consistent.

    Checking tailwatchd_log for 'eximstats' showed up a pile of this:

    DBI connect('eximstats:localhost','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/TailWatch/Eximstats.pm line 849

    MySQL is running and the socket appears correct:

    srwxrwxrwx 1 mysql mysql 0 Jun 9 03:03 /var/lib/mysql/mysql.sock=

    Any clues?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: eximstats mysql table remains empty - users cannot "Trace Emails" in cp

    Hi,
    Could you try resetting the eximstats password:

    Code:
    /usr/local/cpanel/bin/generate_eximstats_pass
    After doing that, find out the new password:

    Code:
    /usr/local/cpanel/bin/eximstatspass
    Then check you can enter MySQL as that user:

    Code:
    mysql -u eximstats -pnewpass
    Please replace newpass with the password.

    If the above does not fix it, please submit a ticket for us to investigate further.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Nov 2008
    Posts
    190

    Default Re: eximstats mysql table remains empty - users cannot "Trace Emails" in cp

    Thanks Tristan

    Tried that - three times to be sure... The password gets returned without a linefeed, but it's pretty clear what it is in each instance.

    ERROR 1045 (28000): Access denied for user 'eximstats'@'localhost' (using password: YES)

    I'll submit a ticket!

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: eximstats mysql table remains empty - users cannot "Trace Emails" in cp

    Actually, I believe I made an error above. I placed a space after -p for newpass, but MySQL requires the password to be immediately after the -p without a space, so I've revised my post above. Regardless, a ticket is probably a good idea. Please let us know the ticket number after you've opened one.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. How to fix the "from email" and "return-path" for users?
    By rhm.geerts in forum E-mail Discussions
    Replies: 3
    Last Post: 09-16-2011, 08:59 AM
  2. Replies: 1
    Last Post: 03-22-2008, 10:48 AM
  3. /webmail asks users for "username" not "email address"... why?
    By ryno267 in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 08-07-2006, 09:22 AM
  4. Remote mysql and "eximstats" and "horde" database
    By torwill in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-17-2004, 12:30 PM