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.

sa-update errors...

Discussion in 'E-mail Discussions' started by dyelton, Jun 11, 2007.

  1. dyelton

    dyelton Active Member

    Joined:
    Jan 13, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    When running "/usr/bin/sa-update" I get the following now that I have been upgraded to v11:

    plugin: failed to parse plugin (from @INC): Bareword "Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line 965.
    Compilation failed in require at (eval 78) line 1.

    plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::HeaderEval" at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.

    plugin: failed to parse plugin (from @INC): "CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the Mail::SpamAssassin::Constants module Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
    Compilation failed in require at (eval 80) line 1.

    plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::MIMEEval" at (eval 81) line 1.

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 92) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 92) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 92) line 7.
    syntax error at (eval 92) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 93) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 93) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 93) line 7.
    syntax error at (eval 93) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 94) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 94) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 94) line 7.
    syntax error at (eval 94) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 95) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 95) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 95) line 7.
    syntax error at (eval 95) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 96) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 96) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 96) line 7.
    syntax error at (eval 96) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 97) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 97) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 97) line 7.
    syntax error at (eval 97) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 98) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 98) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 98) line 7.
    syntax error at (eval 98) line 11, near "; }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 99) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 99) line 6, at EOF Global symbol "$plugin" requires explicit package name at (eval 99) line 7.
    syntax error at (eval 99) line 11, near "; }"
     
  2. harpon

    harpon Active Member

    Joined:
    Aug 19, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    same problem

    I have the same problem...

    -------------------

    plugin: failed to parse plugin (from @INC): Bareword "Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/HeaderEval.pm line 965.
    Compilation failed in require at (eval 93) line 1.

    plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::HeaderEval" at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.

    plugin: failed to parse plugin (from @INC): "CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the Mail::SpamAssassin::Constants module
    Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
    Compilation failed in require at (eval 95) line 1.

    plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::MIMEEval" at (eval 96) line 1.

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 107) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 107) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 107) line 7.
    syntax error at (eval 107) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 108) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 108) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 108) line 7.
    syntax error at (eval 108) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 109) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 109) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 109) line 7.
    syntax error at (eval 109) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 110) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 110) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 110) line 7.
    syntax error at (eval 110) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 111) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 111) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 111) line 7.
    syntax error at (eval 111) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 112) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 112) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 112) line 7.
    syntax error at (eval 112) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 113) line 10, near "}

    1"
    (Missing operator before

    1?)
    rules: failed to run header tests, skipping some: syntax error at (eval 113) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 113) line 7.
    syntax error at (eval 113) line 11, near ";
    }"

    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    Number found where operator expected at (eval 114) line 10, near "}


    .....

    rules: failed to run header tests, skipping some: syntax error at (eval 114) line 6, at EOF
    Global symbol "$plugin" requires explicit package name at (eval 114) line 7.
    syntax error at (eval 114) line 11, near ";
    }"

    -------------------

    # perl -v

    This is perl, v5.8.8 built for i686-linux

    Copyright 1987-2006, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.

    -------------------

    I have perl 5.88 and have read many of the other posts regarding issues with perl and spamassasin. Any advice out there?
     
  3. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    I too am getting these errors anyone have a fix i upgraded to perl, v5.8.8 this morning i have tried to reinstall mailscanner and clam (Chirpy Mailscanner) but that does not fix this

    Thanks
     
    #3 swampy, Jun 13, 2007
    Last edited: Jun 13, 2007
  4. harpon

    harpon Active Member

    Joined:
    Aug 19, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    fix

    As per the support at configserver, try the following:

    Check what version of Spamassassin you're running. If it's 3.1.8 you need to upgrade to 3.2.1. However, cPanel have set it up so that you cannot automatically upgrade to 3.2.1 (apparently because of problems with their own SpamAssasssin implementation which does not affect running it with MailSCanner). You will probably need to do the following:

    pico -w /home/.cpcpan/modules.versions

    and where says:

    Mail::SpamAssassin=3.1.8

    change it to:

    Mail::SpamAssassin=3.2.1

    You should also upgrade perl to 5.8.8.

    Thanks to Sarah from configserver for this one. It sorted out my problems. Please be aware that this fix is only for the configserver mailscanner setup.
     
  5. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Hi thanks for your reply how do I check and then upgrade what command do i use Chirpy installed mailscanner and stuff for me last year i am still quite new to this

    Thanks
     
  6. dyelton

    dyelton Active Member

    Joined:
    Jan 13, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Will cPanel revert back to 3.1.8 after changing the version to 3.2.1 on the next update run?
     
  7. harpon

    harpon Active Member

    Joined:
    Aug 19, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    update

    To check your current version of spamassassin, do the following:

    spamassassin -V

    If it's ver 3.1.8, follow the steps to modify the modules.versions file and then simply run:

    /scripts/upcp

    It will do a cpanel update and upgrade your spamassassin.

    If you still need to upgrade perl to 5.8.8, read the following post:

    http://forums.cpanel.net/showthread.php?t=66166

    To check your perl version:

    perl -v

    Hope this helps and it sorts out your problems. Mine is all sorted now and everything is running perfectly.

    Cheers!
     
  8. harpon

    harpon Active Member

    Joined:
    Aug 19, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I don't think so

    I don't think so, but you never know.

    I ran upcp a few times after i made the change, and it hasn't reverted back.
     
  9. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Hi thanks for the update info spamassin is now updated but i am still getting these errors below

    20571] warn: Subroutine new redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 69. 0.00075
    [20571] warn: Subroutine _get_images redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 194. 0.00172
    [20571] warn: Subroutine image_named redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 231. 0.00031
    [20571] warn: Subroutine image_count redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 247. 0.00038
    [20571] warn: Subroutine pixel_coverage redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 263. 0.00037
    [20571] warn: Subroutine image_to_text_ratio redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 279. 0.00049
    [20571] warn: Subroutine image_size_exact redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 301. 0.00043
    [20571] warn: Subroutine image_size_range redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 317. 0.00053
    [20571] warn: Subroutine result_check redefined at /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ImageInfo.pm line 344.

    Thanks
    Mark
     
  10. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Got it sorted now had to comment out loadplugin Mail::SpamAssassin::Plugin::ImageInfo
    from etc/mail/spamassassin/v320.pre and i replaced it with the one on Chirpy's website in etc/mail/spamassassin/v310.pre
    no errors now but i hope this is right if not can some one point me in the right direction please.

    Thanks for your time everyone

    Mark
     
  11. dyelton

    dyelton Active Member

    Joined:
    Jan 13, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the procedure, works like a charm on my machine and no errors now!
     
  12. swapneel

    swapneel Member

    Joined:
    Oct 2, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Changed the version to 3.2.1 and ran upcp. The following errors are still being thrown in /var/log/maillog,

    Any pointers ?
     
Loading...

Share This Page