1 最后由 bottle (2012-05-06 12:47:59) 编辑

主题: DBD::mysql::st execute failed: MySQL server has gone away at

Logwatch 发来邮件报告中有以下错误

--------------------- amavis Begin ------------------------
2 messages checked and passed.
1 spam messages were found.

**Unmatched Entries**
NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 102) line 166, line 490.: 1 Time(s)
NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 102) line 166, line 138.: 1 Time(s)
NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 102) line 166, line 154.: 1 Time(s)
---------------------- amavis End -------------------------

我不知道在哪里去修正这个错误

求解张工

回复: DBD::mysql::st execute failed: MySQL server has gone away at

应该是 Amavisd 保持的 mysql 连接超时了。查一下日志里是否有重新连接 mysql 的信息。