postgrey crash cleaning main database during delivery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgrey (Ubuntu) |
Invalid
|
Medium
|
Daniel Hahler |
Bug Description
Postgrey crashed, causing my server to subsequently refuse to accept mail. Possibly this happened because postgrey did the cleaning up routine while there was an active connection? Here are the relevant log entries:
Dec 19 02:17:29 localhost postfix/
Dec 19 02:17:29 localhost postgrey[4821]: cleaning up old logs...
Dec 19 02:17:29 localhost postgrey[4821]: cleaning up old entries...
Dec 19 02:17:29 localhost postgrey[4821]: cleaning main database finished. before: 121, after: 121
Dec 19 02:17:29 localhost postgrey[4821]: fatal: Can't call method "txn_commit" on an undefined value at /usr/sbin/postgrey line 223.
Dec 19 02:17:30 localhost postfix/
Dec 19 02:17:30 localhost postfix/
Dec 19 02:17:30 localhost postfix/
Dec 19 02:17:30 localhost postfix/
Dec 19 02:17:30 localhost postfix/
This is caused by libdb4.4 and filed in bug 153996.
I'm marking it as duplicate.
There is a fix available in gutsy-proposed already.