Что-то у меня БД похоже "того" (:
вот tail dmesg:
Код: Выделить всё
Jan 29 23:45:09 mail exim[1610]: [2/2]
Jan 29 23:45:19 mail exim[1619]: [1\\2] 1W8b4Z-0000Q4-Dk failed to expand "${lookup mysql{INSERT IGNORE INTO `sended_list` (`user_from`, `user_to`, `added_timestamp`, `last_mail_timestamp`, `mail_count`) VALUES (LCASE('${quote_mysql:$sender_address}'), LCASE('${quote_mysql:$local_part@$domain}'), UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '1') ON DUPLICATE KEY UPDATE `last_mail_timestamp` = UNIX_TIMESTAMP(), `mail_count` = `mail_count` + 1}}" while checking a list: lookup of "INSERT IGNORE INTO `sended_list` (`user_from`, `user_to`, `added_timestamp`, `last_mail_timestamp`, `mail_count`) VALUES (LCASE('admin@maildomain.ru'), LCASE('f0s@f0s.ru'), UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '1') ON DUPLICATE KEY UPDATE `last_mail_timestamp` = UNIX_TIMESTAMP(), `mail_count` = `mail_count` + 1" gave DEFER: MYSQL: query failed: Table './EXIM/sended_list' is marked as crashed and should be repaired
Jan 29 23:45:19 mail exim[1619]: [2/2]
Jan 29 23:45:22 mail exim[1623]: [1\\2] 1W8b4b-0000Q8-UM failed to expand "${lookup mysql{INSERT IGNORE INTO `sended_list` (`user_from`, `user_to`, `added_timestamp`, `last_mail_timestamp`, `mail_count`) VALUES (LCASE('${quote_mysql:$sender_address}'), LCASE('${quote_mysql:$local_part@$domain}'), UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '1') ON DUPLICATE KEY UPDATE `last_mail_timestamp` = UNIX_TIMESTAMP(), `mail_count` = `mail_count` + 1}}" while checking a list: lookup of "INSERT IGNORE INTO `sended_list` (`user_from`, `user_to`, `added_timestamp`, `last_mail_timestamp`, `mail_count`) VALUES (LCASE(''), LCASE('jobs@careerbuilder.com'), UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), '1') ON DUPLICATE KEY UPDATE `last_mail_timestamp` = UNIX_TIMESTAMP(), `mail_count` = `mail_count` + 1" gave DEFER: MYSQL: query failed: Table './EXIM/sended_list' is marked as crashed and should be repaired
Jan 29 23:45:22 mail exim[1623]: [2/2]погуглил что нужно сделать что-то вроде
Код: Выделить всё
mysqlcheck -uUSER -pPASSWORD --repair --extended -A