Question
How to rebuild exim stats database?
Answer
When the eximstats database becomes corrupt, it must be rebuilt. This article provides the procedure to rebuild the eximstats database.
- Access the server's command line as the
rootuser via SSH or Terminal in WHM. Stop the
tailwatchdservice.# /usr/local/cpanel/scripts/restartsrv_tailwatchd --stop
Stop
eximstatsservice.# /usr/local/cpanel/scripts/restartsrv_eximstats --stop
Move the
eximstatsdatabases out of the way.# find /var/cpanel -name 'eximstats_db*' -exec mv -v {}{,.$(date +%s)} \;
Recreate the database
# /usr/local/cpanel/bin/updateeximstats
Import the Exim data.
# /usr/local/cpanel/scripts/import_exim_data /var/log/exim_mainlog
Restart the
eximstatsservice.# /usr/local/cpanel/scripts/restartsrv_eximstats
Restart the
tailwatchdservice.# /usr/local/cpanel/scripts/restartsrv_tailwatchd --start
Comments
0 comments
Article is closed for comments.