hi, after upgrading to whm 58.0 (build 19) mail tracking logs showing 4 times for each receiving mail. only 1 mail comes but delivery reports say 4 times received (time stamps are the same too)
how can i fix this?
how can i fix this?
# /usr/local/cpanel/bin/updateeximstats
updateeximstats: synchronizing database schema
Cpanel::Exception::Database::Error/(XID em7mmc) Database Error: Table 'sends' already exists
at /usr/local/cpanel/Cpanel/Exception.pm line 73.
Cpanel::Exception::create("Database::Error", Cpanel::ExceptionMessage::Raw=SCALAR(0x337e438), HASH(0x337ed50)) called at /usr/local/cpanel/Cpanel/Exception.pm line 90
Cpanel::Exception::create_raw("Database::Error", "Database Error: Table 'sends' already exists", HASH(0x337ed50)) called at /usr/local/cpanel/Cpanel/DBI.pm line 193
Cpanel::DBI::_create_exception(Cpanel::DBI::Mysql::db=HASH(0x33735d8), "DBD::mysql::db do failed: Table 'sends' already exists", undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 178
Cpanel::DBI::_error_handler("DBD::mysql::db do failed: Table 'sends' already exists", Cpanel::DBI::Mysql::db=HASH(0x33735d8), undef) called at /usr/local/cpanel/bin/updateeximstats line 116
main::_execute_mysql("verbose", 0, "dbh", Cpanel::DBI::Mysql::db=HASH(0x33735d8), "sql", "CONNECT eximstats;\x{a}CREATE TABLE sends (\x{a} mailtime datetime N"...) called at /usr/local/cpanel/bin/updateeximstats line 96
Check to ensure the database isn't corrupted with a command such as:i delete eximstats db and move back this db from mysql-backup for rollback this operation
mysqlcheck eximstats
and killed older process 12252 that duplication fixed# ps -elf | grep tailwatch
0 S root 7126 17090 0 80 0 - 28162 pipe_w 13:54 pts/0 00:00:00 grep --color=auto tailwatch
5 S root 11165 1 0 80 0 - 25569 hrtime 02:10 ? 00:00:10 tailwatchd
5 S root 12252 1 0 80 0 - 25645 hrtime Aug03 ? 00:04:00 tailwatchd
The data comes from /var/log/exim_mainlog, so the duplicate data isn't removed until enough time passes, or you manually delete and re-create the eximstats database.now i am looking a script for delete duplicated records on eximstats database
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
D | Sender and From address differs in Mail delivery reports | 5 | ||
B | Where are Mail Delivery Reports saved | 3 | ||
R | Wrong sender user in Mail Delivery Reports | 8 | ||
P | Mail Delivery Reports showing system only? | 1 | ||
![]() |
Export report from Mail Delivery Reports | 1 |