The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perlinstaller 5.8.1 is a flake!

Discussion in 'General Discussion' started by mr.wonderful, Oct 5, 2004.

  1. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Something is up with Perlinstaller 5.8.1. We attempted to upgrade one of our boxes from 5.6.1 and we are seeing MAKE ERRORS and WHOOH! messages all the way though the entire installation. Not only that, our perl scripts are failing including MailScanner under 5.8.1.

    Can sombody look at this please. "Make Errors, but continuing anyway" messages is not a good sign.

    Here is you proof!

    Warning: perl appears in your path in the following locations beyond where
    we just installed it:
    /usr/local/bin/perl

    root@srv08 [/usr/local/src/perl581/perl581installer/perl-5.8.1]# /etc/init.d/MailScanner restart
    Shutting down MailScanner daemons:
    MailScanner: [ OK ]
    incoming exim: [ OK ]
    outgoing exim: [ OK ]
    Starting MailScanner daemons:
    incoming exim: [ OK ]
    outgoing exim: [ OK ]
    MailScanner: MIME::QuotedPrint version 3.03 required--this is only version 2.20 at /usr/lib/perl5/site_perl/5.8.1/MIME/Words.pm line 86.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/MIME/Words.pm line 86.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/MIME/Head.pm line 123.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/MIME/Head.pm line 123.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm line 147.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm line 147.
    Compilation failed in require at /usr/lib/MailScanner/MailScanner/MCPMessage.pm line 40.
    BEGIN failed--compilation aborted at /usr/lib/MailScanner/MailScanner/MCPMessage.pm line 40.
    Compilation failed in require at /usr/sbin/MailScanner line 51.
    BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 51.
     
    #1 mr.wonderful, Oct 5, 2004
    Last edited: Oct 5, 2004
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you re-install perl you're also going to have to re-install any modules that you had installed separately in your previous release. A good example is the one you are complaining about, i.e. MIME::QuotedPrint.

    The following will do those needed for cPanel:
    /scripts/rpmup
    /scripts/sysup

    The following should do most of the modules that you'll need for MailScanner
    /scripts/perlinstaller MIME::Base64 File::Spec HTML::Tagset HTML::Parser MIME::Tools File::Temp Convert::TNEF Net::CIDR Archive::Zip Compress::Zlib Convert::BinHex IO::Stringy Mail::SpamAssassin File::Spec File::Temp ExtUtils::MakeMaker
     
  3. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Try to install Perl version 5.8.4
     
  4. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Tried 5.8.4 and we still get

    mAssassin/Conf/Parser.pm line 625.
    Oct 5 04:17:53 srv08 spamd[22159]: Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/Conf/Parser.pm line 663.
    Oct 5 04:17:53 srv08 last message repeated 5 times
    Oct 5 04:17:53 srv08 spamd[22159]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/Conf/Parser.pm line 692.
    Oct 5 04:17:53 srv08 spamd[22159]: unknown type for __REPORT_DSN: 18 at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin.pm line 1671.

    Not even running 5.8.1 anymore! I think there is an issue with the latest Edge. Even reinstall spamassassin.
     
  5. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Yep, thanks tried this but Im still get errors. See above.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You could try forcing SpamAssassin to install again through cpan which ought to install any related, required, modules:

    perl -MCPAN -e shell
    force install Mail::SpamAssassin
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    ...don't forget to restart MailScanner afterwards (and/or Exim if you do your SA scanning through cPanel's implementation).
     
  8. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0

    I reinstalled Perl twice, Spamassassin 4 times using --force, exim once. Non of the situations have corrected this issue.

    root@srv08 [~]# tail -f /var/log/maillog
    Oct 5 10:18:58 srv08 last message repeated 5 times
    Oct 5 10:18:58 srv08 spamd[22878]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 692.
    Oct 5 10:18:58 srv08 spamd[22878]: unknown type for __REPORT_DSN: 18 at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 1671.
    Oct 5 10:19:18 srv08 spamd[24075]: Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 715.
    Oct 5 10:19:18 srv08 last message repeated 4 times
    Oct 5 10:19:18 srv08 spamd[24075]: Use of uninitialized value in bitwise and (&) at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 625.
    Oct 5 10:19:18 srv08 spamd[24075]: Use of uninitialized value in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 663.
    Oct 5 10:19:18 srv08 last message repeated 5 times
    Oct 5 10:19:18 srv08 spamd[24075]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf/Parser.pm line 692.
    Oct 5 10:19:18 srv08 spamd[24075]: unknown type for __REPORT_DSN: 18 at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 1671.

    The above error throw MailScanner into a loop where it tries to restart over and over and over.
     
  9. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    Submit a support ticket ;)
     
  10. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    They dont support MailScanner + SA3.0
     
  11. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    When you upgraded Perl did you go setup CPAN afterwards and did you run /scripts/upcp?

    Also try:

    MailScanner -v

    If that doesn't work, you probably need to upgrade to a newer version of MailScanner.

    -v will list the required and optional Perl mods that MS uses and what version, if any is installed.

    Worse comes to worse, try restarting your server.

    You know, you don't NEED to use the CPANEL Perl installer.... the latest version is always available in CPAN and the only change you NEED to make to the default options (on most servers) is the default install location, which should be /usr rather than /usr/local

    5.8.5 is the latest version as of now.
     

Share This Page