MailScanner restart problem.
malli at mcrirents.com
Sat May 10 03:40:08 IST 2008
From: mailscanner-bounces at lists.mailscanner.info on behalf of Rick Bragg
Sent: Fri 5/9/2008 9:28 PM
To: MailScanner discussion
Subject: RE: MailScanner restart problem.
On Fri, 2008-05-09 at 21:05 -0500, Mohammed Alli wrote:
> From: mailscanner-bounces at lists.mailscanner.info on behalf of Rick Bragg
> Sent: Fri 5/9/2008 8:43 PM
> To: MailScanner discussion
> Subject: MailScanner restart problem.
> I'm building a new system, and today I rebooted it and MailScanner did
> not come up.
> So I started it by hand with the init script, and I got this message:
> # /etc/init.d/mailscanner restart
> * Restarting mail spam/virus scanner MailScanner No MailScanner found running; none killed.
> is only avaliable with the XS version at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 9
> BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Compress/Zlib.pm line 9.
> Compilation failed in require at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
> BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/Archive/Zip.pm line 11.
> Compilation failed in require at /usr/share/MailScanner//MailScanner/Message.pm line 48.
> BEGIN failed--compilation aborted at /usr/share/MailScanner//MailScanner/Message.pm line 48.
> Compilation failed in require at /usr/sbin/MailScanner line 80.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 80.
> Does anybody know what might have happened?
> I am using Ubuntu 8.04 server AMD64. I recently installed a few perl
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
> Hi Rick,
> I've seen this behavior on Ubuntu as well. The way I got around it was doing the following:
> 9.17 Fix for Ubuntu 8.04 (kept removing directories upon reboot)
> Edit /etc/rc.local and add the following before the exit line:
> mkdir /var/run/MailScanner
> mkdir /var/lock/subsys
> mkdir /var/lock/subsys/MailScanner
> chown -R postfix:www-data /var/run/MailScanner
> chown -R postfix:www-data /var/lock/subsys/MailScanner
> /etc/init.d/postfix restart
> /etc/init.d/mailscanner restart
> That should do it for you.
> Mohammed Alli
That didn't seem to do it. I still have the same problem. also, during
boot, it sail "cannot creat directory `/var/run/MailScanner': File
I am using it with sendmail, clamav, and spamassassin...
Anybody have this same issue?
MailScanner mailing list
mailscanner at lists.mailscanner.info
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
It looks like it's a missing or broken install of Compress::Zlib installation. Try apt-get install libcompress-zlib-perl . Remove what I told you to do and reboot and see what happens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 7049 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080509/c63c02cb/attachment-0001.bin
More information about the MailScanner