MailScanner fails to start - Possible Dead PID
John Barro
john.a.barro at gmail.com
Sat Sep 16 17:51:04 UTC 2017
Hello folks,
I'm a bit new to this list, but I was running mailscanner 4.x and have
upgraded to the latest release 5.0.6.
The error I am receiving is:
Sep 16 13:14:44 mailscanner root[26772]: MailScanner failed to start
Sep 16 13:14:44 mailscanner root[26773]: Found a possible dead PID.
Stopping all MailScanner rogue processes ...
I am running Debian wheezy (version 7, 64-bit) with the following:
- MailWatch 1.26
- Postfix 2.96
- ClamAV 0.99.2
- SpamAssassin 3.3.2
- PHP 5.4.55-0+deb7u11
- MySQL 5.5.57-0+deb7u1
- BitDefender 7.141118
- ps -ef | grep Mail
In my MailWatch status page, I see the inbound mail queue with 34 entries
and climbing. When I run tail -f /var/log/mail.log from the server, I can
see messages coming in, virus and content scanning being done, completing
the AV scan with clamav first, then bit defender second, starts the MCP
check, then fails with the message above (MailScanner failed to start,
possible dead PID, etc.)
When I run MailScanner with debugging enabled, I can see the following:
Sep 16 13:48:27.148 [30377] dbg: config: mkdir
/var/spool/postfix/.spamassassin failed: mkdir
/var/spool/postfix/.spamassassin: Permission denied at
/usr/share/perl5/Mail/SpamAssassin.pm line 1858
Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_dcc 0
Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_pyzor 0
Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor1 0
Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor2 0
Sep 16 13:48:27.149 [30377] info: config: failed to parse line, skipping,
in "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": decode_attachments 1
Sep 16 13:48:27.149 [30377] dbg: config: finish parsing
and
Sep 16 13:48:27.160 [30377] dbg: dns: Net::DNS version: 0.66
Use of uninitialized value $filename in concatenation (.) or string at
/usr/share/perl5/Mail/SpamAssassin.pm line 1208.
Use of uninitialized value $filename in concatenation (.) or string at
/usr/share/perl5/Mail/SpamAssassin.pm line 1210.
Sep 16 13:48:27.160 [30377] dbg: config: read_scoreonly_config: cannot open
"": No such file or directory
Building a message batch to scan...
Have a batch of 8 messages.
Undefined subroutine &MailScanner::CustomConfig::SQLWhitelist called at
/usr/share/MailScanner/perl/MailScanner/Config.pm line 170.
I'm not sure where to look. Any guidance would be appreciated.
Thank you,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170916/38ee1e10/attachment.html>
More information about the MailScanner
mailing list