MailScanner restart problem.

Rick Bragg lists at gmnet.net
Sat May 10 04:14:39 IST 2008


On Fri, 2008-05-09 at 21:40 -0500, Mohammed Alli wrote:
> ________________________________
> 
> 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
> > modules...
> >
> > Thanks!
> > Rick
> >
> >
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > 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.
> >
> > Regards,
> >
> > 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
> exists
> 
> I am using it with sendmail, clamav, and spamassassin...
> 
> Anybody have this same issue?
> 
> Thanks
> rick
> 
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website!
> 
> Hey Rick,
>  
> 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.
>  
> MO
> 

OK,
After re-installing a bunch of perl and compression things, and going
into cpan etc... I finally got it to work.

The only lingering problem now, is this:

# apt-get install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mailscanner (4.68.8-1) ...
Checking/installing report files ...
invoke-rc.d: initscript mailscanner, action "start" failed.
dpkg: error processing mailscanner (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)


It seems that it is half installed, but it works fine.  shat should I do
about it?  I am a bit new to Ubuntu, so any help I can get is greatly
appreciated.

Thanks
rick




More information about the MailScanner mailing list