Page 1 of 1

Mailwatch Errors

Posted: 27 Apr 2012, 18:42
by nootkan
Saw these errors in my log today and was wondering if someone may be able to explain what they mean or if tell me if this is a bug? Since I know nothing about perl I need some direction on whether this is a one time thing or an issue with mailscanner installation.
Compilation failed in require at (eval 83) line 3. : 2 Time(s)
) : 2 Time(s)
Could not use Custom Function code MailScanner::CustomConfig::InitMailWatchLogging, it could not be "eval"ed. Make sure the module is correct with perl -wc (Error: install_driver(mysql) failed: Unable to get DBI state function. DBI not loaded. at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 95. : 2 Time(s)
at /usr/mailscanner/lib/MailScanner/MailWatch.pm line 81. : 2 Time(s)

Re: Mailwatch Errors

Posted: 29 Apr 2012, 17:04
by Serversphere
DBI is the perl database interface that MailScanner uses to log email to the MailScanner database, if MailScanner cannot load the DBI it cannot log to MailScanner. I saw this on a couple of boxes myself this morning. "service MailScanner restart" at the command line fixed it.

Re: Mailwatch Errors

Posted: 03 May 2012, 20:56
by nootkan
Thanks for your reply. For some reason that was just a one time thing as I haven't seen it since.

Re: Mailwatch Errors

Posted: 25 Aug 2012, 13:21
by noritz
MailWatch, I notice that every tables are mostly empty except geoip country. Mostly users and also whitelist have one row erach the mailwatch user and the any address to whitelist.