Problem Getting MailScanner running on Cobalt RAQ 4 w/ updated OS

Alan Davies ajd at ADAVIES.NET
Mon Jul 25 18:38:19 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi Mike and Kai,

Ok, stay with me, I'm fairly new to Linux.  I was able to run cpan and 
update the version of perl on the system.  Of course now when I try to 
run the ./install.sh it tells me that I have two versions of perl no my 
system and to "get rid" of any traces in /usr/local.  I did that, and it 
still tells me I have two versions running.  I tried to use the 
ignore-perl switch, it seems to run through the install scripts, and 
then when I try to start the services is gives me a new error with new 
Begin Failed messages.

Any help is appreciated,
Alan

----------------------------------------------
Good. You have the patch command.

Good, you have /usr/src/redhat in place.

Good, unpackaged files will not break the build process.

You appear to have 2 versions of Perl installed,
the normal one in /usr/bin and one in /usr/local.
This often happens if you have used CPAN to install modules.
I strongly advise you remove all traces of perl from
within /usr/local and then run this script again.

If you do not want to do that, and really want to continue,
then you will need to run this script as
        ./install.sh ignore-perl

--------------------------------------------------------------
Starting MailScanner daemons:
         incoming sendmail: ok
         outgoing sendmail: ok
         MailScanner:       Can't locate bytes.pm in @INC (@INC 
contains: /usr/lib/MailScanner /usr/lib/perl5/5.00503/i386-linux 
/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux 
/usr/lib/perl5/site_perl/5.005 . /usr/lib/MailScanner) at 
/usr/lib/MailScanner/MailScanner/Log.pm line 139.
BEGIN failed--compilation aborted at 
/usr/lib/MailScanner/MailScanner/Log.pm line 139.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 68.
ok


Mike Kercher wrote:

>You can try installing Net:CIDR from CPAN:
>
>perl -MCPAN -e shell
>
>install Net::CIDR
>
>Mike
> 
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
>Of Alan Davies
>Sent: Sunday, July 24, 2005 12:46 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Problem Getting MailScanner running on Cobalt RAQ 4 w/ updated OS
>
>Hi, I'm new to this forum.  I've recently starting have problems with SPAM
>and found MailScanner as a solution.  However . . . I'm having problems and
>am looking for some help.  I've been over the FAQ page and didn't find
>anything of use.
>
>I'm trying to install mailscanner to a RAQ 4 with a standard RAQ RH OS and
>patches.  It's running PERL 5.  It seems to run the install fine, but when I
>try to start the services it gives me the following error.
>Any help is appreciated.
>
>[root MailScanner-4.43.8-1]# /etc/rc.d/init.d/sendmail stop Shutting down
>Mail Service: sendmail ok [root MailScanner-4.43.8-1]#
>/etc/rc.d/init.d/sendmail stop Shutting down Mail Service: ERROR!
>[root MailScanner-4.43.8-1]# /etc/rc.d/init.d/MailScanner start Starting
>MailScanner daemons:
>        incoming sendmail: ok
>        outgoing sendmail: ok
>        MailScanner:       Can't locate Net/CIDR.pm in @INC (@INC
>contains: /usr/lib/MailScanner /usr/lib/perl5/5.00503/i386-linux
>/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux
>/usr/lib/perl5/site_perl/5.005 . /usr/lib/MailScanner) at
>/usr/lib/MailScanner/MailScanner/Config.pm line 34.
>BEGIN failed--compilation aborted at
>/usr/lib/MailScanner/MailScanner/Config.pm line 34.
>BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 64.
>ok
>[root MailScanner-4.43.8-1]#
>
>Thanks in advance,
>Alan
>
>------------------------ 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!



More information about the MailScanner mailing list