MS not starting after SpamAssassin install

Mike Kercher mike at CAMAROSS.NET
Mon Jul 1 14:34:13 IST 2002


Ok...here's a stupid question :)  Where is the @INC path defined?

Mike

----- Original Message -----
From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Monday, July 01, 2002 4:31 AM
Subject: Re: MS not starting after SpamAssassin install


> At 01:40 01/07/2002, you wrote:
> >Ok...I ran into the same thing today.  I installed SpamAssassin via CPAN
> >before I installed MS and Sophos.  I now see that was a mistake :)
Problem
> >is, I have tried to reinstall SA from CPAN and the problem persists
(force
> >install Mail::SpamAssassin).  Is there a way to uninstall SA and then
start
> >fresh?
>
> You'll have to dig into the directories on your @INC path (helpfully
> printed by the error message you keep getting :-) and manually delete SA.
>
> Personally I never use CPAN to install SA, I do it with the
>          perl Makefile.PL
>          make
>          make test
>          make install
> route described on the website. This seems to work a treat. If you go down
> this route and hit any problems, I have written an FAQ on the MS website
> about installing Spamassassin 2.30/2.31.
>
>
> >Mike
> >
> >----- Original Message -----
> >From: "Support" <support at IQUEST.UCSB.EDU>
> >To: <MAILSCANNER at JISCMAIL.AC.UK>
> >Sent: Tuesday, May 21, 2002 7:26 PM
> >Subject: MS not starting after SpamAssassin install
> >
> >
> > > Hi,
> > >
> > >  I have Mailscanner running.  when I installed spamassassin I tried
> >running
> > > ./check_mailscanner and ./check_mailscanner.linux but they come up w/
> > > this...
> > >
> > >
> > > #########################################
> > > [root at frost bin]# ./check_mailscanner
> > > Starting virus scanner...
> > > Can't locate Mail/SpamAssassin.pm in @INC (@INC contains:
> > > /usr/local/MailScanner/bin /usr/lib/perl5/5.6.0/i386-linux
> > > /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
> > > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at
> > > /usr/local/MailScanner/bin/sendmail.pl line 46.
> > > Compilation failed in require at
/usr/local/MailScanner/bin/mailscanner
> >line
> > > 77.
> > >
> > > ########################################
> > >
> > > I found spamassassin to be here /usr/lib
> > > /perl5/site_perl/5.6.1/Mail/SpamAssassin.pm
> > >
> > > so I tried to edit the /bin/sendmail.pl file
> > >
> > > use lib '/usr/lib/perl5/site_perl/5.6.1/Mail';
> > > use lib '/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin';
> > >
> > >
> > > And that didnt work even thought the path to the module showed up in
@INC.
> > >
> > >  This looks like a problem w/ Mailscanner or spam assassin install.
> > >
> > >
> > > Is there another way of fixing this?
> > >
> > > thanx
> > >
> > >
>
> --
> Julian Field                Teaching Systems Manager
> jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ
>



More information about the MailScanner mailing list