
27th May 2008, 22:21
|
|
Junior Member
|
|
Join Date: May 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Lint test error
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!
|

28th May 2008, 16:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Did this happen from the beginning, or did you somehow modify/update SpamAssassin?
Are you maybe using SpamAssassin 2 rulesets with SpamAssassin 3?
|

28th May 2008, 18:22
|
|
Junior Member
|
|
Join Date: May 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

29th May 2008, 18:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
What's the output of
Code:
updatedb
locate spamassassin
?
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:10.
|
|
Recent comments
1 day 54 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 7 hours ago