New Install Problem

Julian Field MailScanner at ecs.soton.ac.uk
Tue Jul 5 10:12:15 IST 2005


Can someone add this to the wiki please? It's a classic "gotcha".

On 4 Jul 2005, at 19:13, Mike Kercher wrote:

> That seems to have fixed it.  After doing so, my SAVI started to  
> fail.  I
> also added /usr/local/Sophos/lib to my ld.so.conf and that fixed  
> the prob.
> Thanks for the fast reply!
>
> Mike
>
>
> ________________________________
>
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]  
> On Behalf
> Of Matt Kehler
> Sent: Monday, July 04, 2005 1:07 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: New Install Problem
>
>
> Had the exact problem on ES4, someone from this list posted to do the
> following, worked for me
>
> add /usr/local/lib to /etc/ld.so.conf and then run ldconfig
>
> Matt
>
>
>>>> mike at CAMAROSS.NET 7/4/2005 1:03 PM >>>
>>>>
>
> I recently installed a new MS box running CentOS 4.1 and installed  
> the RPM
> MS dist.  I also, for the first time, used the SA/Clam install, but
> something isn't working right.
>
> Jul  4 12:57:09 avenger MailScanner[11151]: MailScanner E-Mail  
> Virus Scanner
> version 4.42.9 starting...
> Jul  4 12:57:12 avenger MailScanner[11151]: SophosSAVI 3.95 (engine  
> 2.30)
> recognizing 106709 viruses
> Jul  4 12:57:12 avenger MailScanner[11151]: SophosSAVI using 79 IDE  
> files
> Jul  4 12:57:12 avenger MailScanner[11151]: ClamAV Perl module not  
> found,
> did you install it?
>
> I have tried reinstalling Mail::ClamAV via CPAN multiple times and  
> get the
> following:
>
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Mail-ClamAV....#     Failed test (t/Mail-ClamAV.t at line 9)
> #     Tried to use 'Mail::ClamAV'.
> #     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
> #
> # Can't load
> '/root/.cpan/build/Mail-ClamAV-0.17/blib/arch/auto/Mail/ClamAV/ 
> ClamAV.so'
> for module Mail::ClamAV: libclamav.so.1: cannot open shared object  
> file: No
> such file or directory at
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
> #  at /usr/lib/perl5/site_perl/5.8.5/Inline.pm line 500
> #
> #
> #  at /root/.cpan/build/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm  
> line 193
> # BEGIN failed--compilation aborted at
> /root/.cpan/build/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 537.
> # Compilation failed in require at (eval 1) line 2.
> t/Mail-ClamAV....NOK 1"all" is not defined in % 
> Mail::ClamAV::EXPORT_TAGS at
> t/Mail-ClamAV.t line 11
> Can't continue after import errors at t/Mail-ClamAV.t line 11
> # Looks like you planned 10 tests but only ran 1.
> t/Mail-ClamAV....dubious
>
>         Test returned status 10 (wstat 2560, 0xa00)
> DIED. FAILED tests 1-10
>         Failed 10/10 tests, 0.00% okay
> Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> ---------------------------------------------------------------------- 
> ------
> ---
> t/Mail-ClamAV.t   10  2560    10   19 190.00%  1-10
> Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00%  
> okay.
> make: *** [test_dynamic] Error 2
>   /usr/bin/make test -- NOT OK
> Running make install
> Appending installation info to
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod
> Files found in blib/arch: installing files in blib/lib into  
> architecture
> dependent library tree
> Writing
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Mail/ 
> ClamAV/.pac
> klist
>   /usr/bin/make install -j3 -- OK
>
> If I define clamavmodule in my MailScanner.conf, MS doesn't see my
> clavavmodule.  So I have to use SophosSavi and clamav.  Any ideas  
> on where
> to look for the resolution?
>
> Mike
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/)
> and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
>

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list