Comment 0 for bug 135038

Revision history for this message
loafer (launchpad-net-iloaf) wrote : postgrey failst to run after ?logrotate? - stops nightly.

Binary package hint: postgrey

Every night postgrey dies unexpectedly in gutzy. (Works fine in 6.06LTS)

Aug 27 02:24:43 localhost postgrey[18295]: delayed 780 seconds: client=41.232.9.170, <email address hidden>, <email address hidden>
Aug 27 02:38:22 localhost postgrey[18295]: cleaning up old logs...
Aug 27 02:38:22 localhost postgrey[18295]: cleaning up old entries...
...
Aug 27 02:38:30 localhost postgrey[18295]: cleaning main database finished. before: 61360, after: 49426
Aug 27 02:38:30 localhost postgrey[18295]: fatal: Can't call method "txn_commit" on an undefined value at /usr/sbin/postgrey line 223.
... ... error above .... .....
Aug 27 02:38:31 localhost postfix/smtpd[29844]: warning: problem talking to server 127.0.0.1:60000: Connection refused
Aug 27 02:38:31 localhost postfix/smtpd[29844]: NOQUEUE: reject: RCPT from ns2.rim.edu.bt[202.144.157.210]: 451 4.3.5 Server configuration problem; from=<email address hidden> to=<email address hidden> proto=SMTP helo=<bppzftw>
...
Aug 27 02:38:32 localhost postfix/smtpd[29765]: warning: connect to 127.0.0.1:60000: Connection refused
Aug 27 02:38:32 localhost postfix/smtpd[29765]: warning: problem talking to server 127.0.0.1:60000: Connection refused
Aug 27 02:38:33 localhost postfix/smtpd[29765]: warning: connect to 127.0.0.1:60000: Connection refused
Aug 27 02:38:33 localhost postfix/smtpd[29765]: warning: problem talking to server 127.0.0.1:60000: Connection refused

A postgrey restart fixes the issue. I suspect this is a logrotate foo-bar or some such.