Hi, 23.08.2007 02:31,, Support wrote:: > Dear Developers
even though I'm not a developer... > I wondered why a job seemed to have failed or stalled - I got no email. > Then I found the database had the job as successfully completed. > > What I discovered in the log file is below. > > The error is :- > > 23-Aug 00:37 www-dir: message.c:476 Mail prog: bsmtp: bsmtp.c:329 Fatal > connect error to localhost: ERR=Connection refused > 23-Aug 00:37 www-dir: www-disc.2007-08-23_00.15.00 Error: message.c:487 > Mail program terminated in error. > CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula) <[EMAIL PROTECTED]>" -s > "Bacula: Backup OK of www-disc Full" [EMAIL PROTECTED] > ERR=Child exited with code 1 > > The problem was the mail server was refusing connections at the time - > spammers hammering it. I have tweaked the mail server (sendmail) to > control the connection rate etc. So it was only the mail not being sent. No too serious. (By the way: This is one of the reasons why I don't rely on the mail messages to monitor backup operations. Nagios is my choice of monitoring toolkit.) > Maybe the email could be retried after an interval of x minutes? I think that would be difficult, given the current design. Also, as the mail server is already in place to queue mail, I don't think this would be a vital Bacula feature. If you're worried about this sort of problems happening again, I recommend to install a local mail server which you'd use to collect and send mail, and which would simply forward (and retry in case of failures) to your main mail server. Arno > Thanks > Stephen Carr -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
