Solved

Spamassassin problem running lint

Posted on 2006-11-04
3
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

740 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