trouble installing mailscanner on freeBSD 6.2 server

Bracey, John JBracey at csuchico.edu
Fri Apr 17 04:41:52 IST 2009


Hello, it's me again.

I've run into another issue that I hope someone might be able to give me
a clue on.  After repeated deinstalls and reinstalls where everything
installs as it should, MailScanner will start and immediately die.  When
I run a debug I get this:


[root at scooby /usr/local/etc/rc.d]# mailscanner -debug -debug-sa
/MailScanner.conf
In Debugging mode, not forking...
Trying to setlogsock(unix)


*****
If 'awk' (with support for the function strftime) was
available on your $PATH then all the SpamAssassin debug
output would have the current time added to the start of
every line, making debugging far easier.
*****

SpamAssassin temp dir =
/var/spool/MailScanner/incoming/SpamAssassin-Temp
Fatal error 'Recurse on a private mutex.' at line 986 in file
/usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0)
Abort trap: 6


That SpamAssassin directory does exist:

d-wxrwxrwx  2 root  wheel     1024 Apr 16 17:07 SpamAssassin-Temp

here's what is recorded in /var/log/messages when the process dies:

Apr 16 20:40:38 scooby kernel: pid 10382 (perl5.8.9), uid 0: exited on
signal 6

Any ideas welcome.


Thanks in advance.

-John Bracey
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Kevin
Kobb
Sent: Wednesday, April 15, 2009 1:11 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: trouble installing mailscanner on freeBSD 6.2 server

Bracey, John wrote:
> Hello All:
> 
>  
> 
> I hope this isn't a noob question, my apologies in advance if it is.
> 
>  
> 
> When I try to install MailScanner I'm getting the following:
> 
>  
> 
> [root at scooby /usr/ports/mail/mailscanner]# make install clean
> 
> ===>  Installing for MailScanner-4.67.6_4
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/File/Spec.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Bundle/DBI.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/File/Temp.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/MIME/Base64.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Mail/Header.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/HTML/Tagset.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/HTML/HeadParser.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/MIME/Parser.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Convert/TNEF.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Convert/BinHex.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Net/CIDR.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Net/Ident.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Archive/Zip.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Compress/Zlib.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/DBD/SQLite.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/DBI.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Getopt/Long.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Storable.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Time/HiRes.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Time/Zone.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Filesys/Df.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/Sys/Hostname/Long.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/IO/Handle.pm - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: /usr/local/bin/perl5.8.9
- 
> found
> 
> ===>   MailScanner-4.67.6_4 depends on executable: bash - found
> 
> ===>   MailScanner-4.67.6_4 depends on executable: tnef - found
> 
> ===>   MailScanner-4.67.6_4 depends on executable: wget - found
> 
> ===>   MailScanner-4.67.6_4 depends on file: 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Mail/ClamAV.pm - not found
> 
> ===>    Verifying install for 
> /usr/local/lib/perl5/site_perl/5.8.9/mach/Mail/ClamAV.pm in 
> /usr/ports/mail/p5-Mail-ClamAV
> 
> ===>  p5-Mail-ClamAV-0.20_5 is marked as broken: Doesn't build with 
> clamav 0.95 or later.
> 
> *** Error code 1
> 
>  
> 
> Stop in /usr/ports/mail/p5-Mail-ClamAV.
> 
> *** Error code 1
> 
>  
> 
> Stop in /usr/ports/mail/mailscanner.
> 
> *** Error code 1
> 
>  
> 
> Stop in /usr/ports/mail/mailscanner.
> 
>  
> 
>  
> 
> Is there any way around this error?  I've not been able to find any
info 
> googling this so far. 
> 
>  
> 
> Just for back round, this is a reinstall after a Perl upgrade that 
> didn't go well (5.8.8 >> 5.8.9).  I think I have that part straight
now, 
> but can't get this last app going again. 
> 
>  
> 
> Thanks in advance.
> 
> -John
> 

You could install the port without selecting the clamavmodule. Change to

the port directory and do:
make rmconfig
make config
<Don't select the clamavmodule, just use the default clamav option>
make install

Should build OK.

-- 
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! 


More information about the MailScanner mailing list