FW:
Julian Field
MailScanner at ecs.soton.ac.uk
Sun Mar 26 19:22:21 IST 2006
ls -l /usr/bin/perl /usr/local/bin/perl
Herman Swensson wrote:
> How do I check if there are 2 versions of Perl installed
>
>
> -----Oorspronkelijk bericht-----
> Van: Herman Swensson [mailto:h.swensson at hccnet.nl]
> Verzonden: zondag 26 maart 2006 18:11
> Aan: 'mailscanner at lists.mailscanner.info'
> Onderwerp: FW:
>
> [root at server root]# MailScanner --version
> Can't locate MIME/Parser.pm in @INC (@INC contains:
> /usr/lib/MailScanner/5.8.3/i
> 386-linux-thread-multi /usr/lib/MailScanner/5.8.3
> /usr/lib/MailScanner/i386-linu
> x-thread-multi /usr/lib/MailScanner/5.8.2 /usr/lib/MailScanner/5.8.1
> /usr/lib/Ma
> ilScanner/5.8.0 /usr/lib/MailScanner
> /usr/lib/perl5/5.8.3/i386-linux-thread-mult
> i /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /u
> sr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.
> 8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-mul
> ti /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/
> site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib
> /perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.
> 2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-mul
> ti /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendo
> r_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /
> usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .
> /usr/lib/MailScanne
> r/5.8.3/i386-linux-thread-multi /usr/lib/MailScanner/5.8.3
> /usr/lib/MailScanner/
> i386-linux-thread-multi /usr/lib/MailScanner/5.8.2
> /usr/lib/MailScanner/5.8.1 /u
> sr/lib/MailScanner/5.8.0 /usr/lib/MailScanner) at
> /usr/lib/MailScanner/MailScann
> er/MCPMessage.pm line 41.
> BEGIN failed--compilation aborted at
> /usr/lib/MailScanner/MailScanner/MCPMessage
> .pm line 41.
>
> Yes I have used the ./instal.sh script and Mailscanner was function good.
> See some messages from /var/log/maillog
>
> Mar 25 00:34:13 server MailScanner[7181]: MailScanner E-Mail Virus Scanner
> version 4.51.5 starting...
> Mar 25 00:34:13 server MailScanner[7181]: Read 711 hostnames from the
> phishing whitelist
> Mar 25 00:34:14 server MailScanner[7158]: New Batch: Scanning 11 messages,
> 379336 bytes
> Mar 25 00:34:14 server MailScanner[7181]: WARNING: You are trying to use the
> SpamAssassin cache but your DBI and/or DBD::SQLite Perl modules are not
> properly installed!
> Mar 25 00:34:15 server MailScanner[7181]: Enabling SpamAssassin
> auto-whitelist functionality...
> Mar 25 00:34:20 server MailScanner[7181]: Using locktype = flock
> Mar 25 00:34:29 server MailScanner[7158]: Virus and Content Scanning:
> Starting
> Mar 25 00:34:33 server MailScanner[7349]: MailScanner E-Mail Virus Scanner
> version 4.51.5 starting...
> Mar 25 00:34:33 server MailScanner[7349]: Read 711 hostnames from the
> phishing whitelist
> Mar 25 00:34:33 server MailScanner[6963]: New Batch: Scanning 11 messages,
> 379336 bytes
> Mar 25 00:34:35 server MailScanner[7349]: WARNING: You are trying to use the
> SpamAssassin cache but your DBI and/or DBD::SQLite Perl modules are not
> properly installed!
> Mar 25 00:34:35 server MailScanner[7349]: Enabling SpamAssassin
> auto-whitelist functionality...
> Mar 25 00:34:41 server MailScanner[7349]: Using locktype = flock
> Mar 25 00:34:48 server MailScanner[6963]: Virus and Content Scanning:
> Starting
> Mar 25 00:34:48 server MailScanner[7349]: MailScanner child caught a SIGHUP
>
> Regards
>
> Herman
> -----Oorspronkelijk bericht-----
> Van: Herman Swensson [mailto:h.swensson at hccnet.nl]
> Verzonden: zondag 26 maart 2006 15:04
> Aan: 'MailScanner discussion'
> Onderwerp:
>
> Hello,
>
>
> When starting MailScanner I Get the next error
>
> Starting MailScanner daemons:
> incoming postfix: [ OK ]
> outgoing postfix: [ OK ]
> MailScanner: Can't locate MIME/Parser.pm in @INC (@INC contains:
> /usr/lib/MailScanner/5.8.3/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.3
> /usr/lib/MailScanner/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.2
> /usr/lib/MailScanner/5.8.1
> /usr/lib/MailScanner/5.8.0
> /usr/lib/MailScanner
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1
> /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl
> . /usr/lib/MailScanner/5.8.3/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.3
> /usr/lib/MailScanner/i386-linux-thread-multi
> /usr/lib/MailScanner/5.8.2
> /usr/lib/MailScanner/5.8.1
> /usr/lib/MailScanner/5.8.0
> /usr/lib/MailScanner) at /usr/lib/MailScanner/MailScanner/MCPMessage.pm line
> 41.
> BEGIN failed--compilation aborted at
> /usr/lib/MailScanner/MailScanner/MCPMessage.pm line 41.
> Compilation failed in require at /usr/sbin/MailScanner line 76.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 76.
>
> When I search for Parser.pm I get the next result:
> /usr/lib/mrtg2/Pod/Parser.pm
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/Conf/Parser.pm
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/HTML/Parser.pm
> /usr/lib/perl5/5.8.3/Pod/Parser.pm
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/XML/Parser.pm
> /usr/lib/perl5/vendor_perl/5.8.3/XML/Checker/Parser.pm
> /usr/lib/perl5/vendor_perl/5.8.3/XML/XQL/Parser.pm
> /usr/lib/perl5/vendor_perl/5.8.5/MIME/Parser.pm
> /root/.cpan/build/MIME-tools-5.420/lib/MIME/Parser.pm
> /root/.cpan/build/MIME-tools-5.420/blib/lib/MIME/Parser.pm
>
> So there is a Parser.pm only MailScanner can't find it, I think
> Must I change the path or must I do something else ???
>
>
>
> Regards
>
> Herman
>
>
>
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list