Lint test error

Discussion in 'Server Operation' started by raulb, May 27, 2008.

  1. raulb

    raulb New Member

    Hi all

    I have been noticing weird errors while watching my maillog, im running centos 5, and when I did a lint test on spamassassin I got this

    Code:
    # spamassassin --lint
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30.
    [21296] warn: 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.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 967.
    [21296] warn: Compilation failed in require at (eval 88) line 1.
    [21296] warn: 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.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.
    [21296] warn: plugin: failed to parse plugin (from @INC): "CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the Mail::SpamAssassin::Constants module
    [21296] warn: Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
    [21296] warn: BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
    [21296] warn: Compilation failed in require at (eval 90) line 1.
    [21296] warn: 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 91) line 1.
    [21296] warn: config: configuration file "/usr/share/spamassassin/20_dynrdns.cf" requires version 3.002003 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
    [21296] warn: config: configuration file "/usr/share/spamassassin/72_active.cf" requires version 3.002003 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 426) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 426) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 426) line 7.
    [21296] warn: syntax error at (eval 426) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 427) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 427) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 427) line 7.
    [21296] warn: syntax error at (eval 427) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 428) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 428) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 428) line 7.
    [21296] warn: syntax error at (eval 428) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 429) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 429) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 429) line 7.
    [21296] warn: syntax error at (eval 429) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 430) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 430) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 430) line 7.
    [21296] warn: syntax error at (eval 430) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 431) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 431) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 431) line 7.
    [21296] warn: syntax error at (eval 431) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 432) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 432) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 432) line 7.
    [21296] warn: syntax error at (eval 432) line 11, near ";
    [21296] warn: }"
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
    [21296] warn: Number found where operator expected at (eval 433) line 10, near "}
    [21296] warn:
    [21296] warn:  1"
    [21296] warn:  (Missing operator before
    [21296] warn:
    [21296] warn:  1?)
    [21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 433) line 6, at EOF
    [21296] warn: Global symbol "$plugin" requires explicit package name at (eval 433) line 7.
    [21296] warn: syntax error at (eval 433) line 11, near ";
    [21296] warn: }"
    [21296] warn: lint: 10 issues detected, please rerun with debug enabled for more information
    
    any clues as to what may be causing this?

    Thanks!
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did this happen from the beginning, or did you somehow modify/update SpamAssassin?
    Are you maybe using SpamAssassin 2 rulesets with SpamAssassin 3?
     
  3. raulb

    raulb New Member

    Good questions. How to I find out?
    This server is at a colocation service and my company wanted me to admin it best I could. There is one big issue and that the outgoing mail goes out very slow. Also someone told me that I might have two versions of spamd running. The server had Blue Quartz installed and I think they never shut down the version that was on the server already. The server is running centos 4.

    Does this help?
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    updatedb
    locate spamassassin
    ?
     

Share This Page