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.
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.
Does the eximstats database exist?
If that does return data, do you see any errors about eximstats in /usr/local/cpanel/logs/tailwatchd_log file?Code:mysql -e "show tables in eximstats"
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
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?
Hi,
Could you try resetting the eximstats password:
After doing that, find out the new password:Code:/usr/local/cpanel/bin/generate_eximstats_pass
Then check you can enter MySQL as that user:Code:/usr/local/cpanel/bin/eximstatspass
Please replace newpass with the password.Code:mysql -u eximstats -pnewpass
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
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!
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