Solved

Spamassassin problem running lint

Posted on 2006-11-04
3
392 Views
Last Modified: 2012-06-27
Debug output:

[4184] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
[4184] dbg: dns: testing resolver nameservers: 64.80.203.201, 64.80.203.194, 64.80.255.240
[4184] dbg: dns: trying (3) sun.com...
[4184] dbg: dns: looking up NS for 'sun.com'
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so: undefined symbol: Perl_sv_2uv_flags


I have switched name servers, and I have reinstalled Net::DNS, this is a complete new install mostly through Yum so I dont think its any version issues.
0
Comment
Question by:iceman19330
  • 2
3 Comments
 

Author Comment

by:iceman19330
ID: 17875199
more output

su amavis -c 'spamassassin --lint -D'
[4184] dbg: logger: adding facilities: all
[4184] dbg: logger: logging level is DBG
[4184] dbg: generic: SpamAssassin version 3.1.3
[4184] dbg: config: score set 0 chosen.
[4184] dbg: util: running in taint mode? yes
[4184] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
[4184] dbg: util: PATH included '/usr/kerberos/sbin', keeping
[4184] dbg: util: PATH included '/usr/kerberos/bin', keeping
[4184] dbg: util: PATH included '/usr/local/sbin', keeping
[4184] dbg: util: PATH included '/usr/local/bin', keeping
[4184] dbg: util: PATH included '/sbin', keeping
[4184] dbg: util: PATH included '/bin', keeping
[4184] dbg: util: PATH included '/usr/sbin', keeping
[4184] dbg: util: PATH included '/usr/bin', keeping
[4184] dbg: util: PATH included '/root/bin', which doesn't exist, dropping
[4184] dbg: util: final PATH set to: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
[4184] dbg: message: ---- MIME PARSER START ----
[4184] dbg: message: main message type: text/plain
[4184] dbg: message: parsing normal part
[4184] dbg: message: added part, type: text/plain
[4184] dbg: message: ---- MIME PARSER END ----
[4184] dbg: dns: is Net::DNS::Resolver available? yes
[4184] dbg: dns: Net::DNS version: 0.59
[4184] dbg: diag: perl platform: 5.008008 linux
[4184] dbg: diag: module installed: Digest::SHA1, version 2.11
[4184] dbg: diag: module installed: IO::Socket::SSL, version 1.01
[4184] dbg: diag: module installed: Time::HiRes, version 1.86
[4184] dbg: diag: module installed: DBI, version 1.52
[4184] dbg: diag: module installed: Getopt::Long, version 2.35
[4184] dbg: diag: module installed: LWP::UserAgent, version 2.033
[4184] dbg: diag: module installed: HTTP::Date, version 1.47
[4184] dbg: diag: module installed: Archive::Tar, version 1.30
[4184] dbg: diag: module installed: IO::Zlib, version 1.04
[4184] dbg: diag: module installed: HTML::Parser, version 3.51
[4184] dbg: diag: module installed: MIME::Base64, version 3.07
[4184] dbg: diag: module installed: DB_File, version 1.814
[4184] dbg: diag: module installed: Net::DNS, version 0.59
[4184] dbg: diag: module installed: Net::SMTP, version 2.29
[4184] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[4184] dbg: diag: module installed: IP::Country::Fast, version 604.001
[4184] dbg: diag: module installed: Razor2::Client::Agent, version 2.77
[4184] dbg: diag: module installed: Net::Ident, version 1.20
[4184] dbg: diag: module installed: IO::Socket::INET6, version 2.51
[4184] dbg: ignore: using a test message to lint rules
[4184] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[4184] dbg: config: read file /etc/mail/spamassassin/init.pre
[4184] dbg: config: read file /etc/mail/spamassassin/v310.pre
[4184] dbg: config: read file /etc/mail/spamassassin/v312.pre
[4184] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[4184] dbg: config: using "/usr/share/spamassassin" for default rules dir
[4184] dbg: config: read file /usr/share/spamassassin/10_misc.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[4184] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[4184] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[4184] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[4184] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[4184] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[4184] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[4184] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[4184] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
[4184] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
[4184] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf
[4184] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[4184] dbg: config: read file /etc/mail/spamassassin/local.cf
[4184] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[4184] dbg: config: using "/var/amavis/.spamassassin/user_prefs" for user prefs file
[4184] dbg: config: read file /var/amavis/.spamassassin/user_prefs
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x98b1530)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa9d9b20)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xa9fc988)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::DCC from @INC
[4184] dbg: dcc: network tests on, registering DCC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::DCC=HASH(0xa9de440)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[4184] dbg: pyzor: network tests on, attempting Pyzor
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0xa9e066c)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[4184] dbg: razor2: razor2 is available, version 2.77
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0xaa6df90)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[4184] dbg: reporter: network tests on, attempting SpamCop
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::SpamCop=HASH(0xaa75240)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0xaa9b67c)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x9f837c8)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x9f84230)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x9f84f14)
[4184] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[4184] dbg: plugin: registered Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xac79568)
[4184] dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[4184] dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[4184] dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[4184] dbg: config: adding redirector regex: /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[4184] dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[4184] dbg: config: adding redirector regex: m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
[4184] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[4184] dbg: config: adding redirector regex: m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&\#])'i
[4184] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&\#])'i
[4184] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&\#])'i
[4184] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&\#])'i
[4184] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&\#])'i
[4184] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xac79568) implements 'finish_parsing_end'
[4184] dbg: replacetags: replacing tags
[4184] dbg: replacetags: done replacing tags
[4184] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[4184] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
[4184] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
[4184] dbg: bayes: found bayes db version 3
[4184] dbg: bayes: DB journal sync: last sync: 0
[4184] dbg: config: using "/var/amavis/.spamassassin" for user state dir
[4184] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
[4184] dbg: bayes: untie-ing
[4184] dbg: bayes: untie-ing db_toks
[4184] dbg: bayes: untie-ing db_seen
[4184] dbg: config: score set 1 chosen.
[4184] dbg: message: ---- MIME PARSER START ----
[4184] dbg: message: main message type: text/plain
[4184] dbg: message: parsing normal part
[4184] dbg: message: added part, type: text/plain
[4184] dbg: message: ---- MIME PARSER END ----
[4184] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
[4184] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
[4184] dbg: bayes: found bayes db version 3
[4184] dbg: bayes: DB journal sync: last sync: 0
[4184] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
[4184] dbg: bayes: untie-ing
[4184] dbg: bayes: untie-ing db_toks
[4184] dbg: bayes: untie-ing db_seen
[4184] dbg: dns: name server: 64.80.203.201, family: 2, ipv6: 0
[4184] dbg: dns: testing resolver nameservers: 64.80.203.201, 64.80.203.194, 64.80.255.240
[4184] dbg: dns: trying (3) sun.com...
[4184] dbg: dns: looking up NS for 'sun.com'
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/DNS/DNS.so: undefined symbol: Perl_sv_2uv_flags
0
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 17876512
Perl_sv_2uv_flags   is a perl symbol, internal to some versions of Perl itself..

This symbol is that it is related to perl string variables, which is used by an optional compiled
portion of the Net::DNS module written in C that links against libresolv.

Did you install any perl-devel packages?
That's the next thing to look for,, i.e.   yum install perl-dev  perl-devel, etc.


Using Yum doesn't guarantee there are no version issues, there certainly can be, particularly if you are using a development/unstable distro, or particularly if you have mixed repository sources.

I.E. especially if you downloaded Perl itself and Net::DNS from different repositories, there could be an inconsistency.


Uninstalling Net::DNS, manually downloading, and reinstalling may help, if all else fails.
0
 

Author Comment

by:iceman19330
ID: 17876848
I uninstalled SpamAssassin and other depeds and then reinstalled via CPAN, CPAN caught a deped issue that Yum did not.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now