You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matthew Bickerton <ma...@gmail.com> on 2007/02/06 01:41:26 UTC
Trying to get sa-update to work
Hi
If I run : sa-update -D
After a long pause I get (at the end of the debug trace):
...
[8551] dbg: channel: attempting channel updates.spamassassin.org
[8551] dbg: channel: update directory
/var/lib/spamassassin/3.001007/updates_spamassassin_org
[8551] dbg: channel: channel cf file
/var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
[8551] dbg: channel: channel pre file
/var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
[8551] dbg: dns: query failed: 7.1.3.updates.spamassassin.org => query timed
out
[8551] dbg: channel: no updates available, skipping channel
[8551] dbg: diag: updates complete, exiting with code 1
What am I doing wrong? How do I have to set this up to get sa-update to
work?
Thanks
Matthew
RE: Trying to get sa-update to work
Posted by Matthew Bickerton <ma...@gmail.com>.
Thanks for your interest it is much appreciated. resolv.conf contains:
search .
nameserver 127.0.0.1
and using "dig @127.0.0.1 yahoo.com" works just fine.
Matthew
-----Original Message-----
From: Theo Van Dinter [mailto:felicity@apache.org]
Sent: 06 February 2007 14:08
To: users@spamassassin.apache.org
Subject: Re: Trying to get sa-update to work
On Tue, Feb 06, 2007 at 11:13:53AM -0000, Matthew Bickerton wrote:
> dig txt 7.1.3.updates.spamassassin.org works fine.
>
> So I tried reinstalling Net::DNS and get the following (any help would be
> most appreciated, I have been trying to sort this out for days now, thanks
> Matthew):
Just curious, what does your resolv.conf look like, and does the first
nameserver listed work?
--
Randomly Selected Tagline:
"We love the /dev/null device in IT, it's really fast when you back
things up to it...." - Jeff Tyler
Re: Trying to get sa-update to work
Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Feb 06, 2007 at 11:13:53AM -0000, Matthew Bickerton wrote:
> dig txt 7.1.3.updates.spamassassin.org works fine.
>
> So I tried reinstalling Net::DNS and get the following (any help would be
> most appreciated, I have been trying to sort this out for days now, thanks
> Matthew):
Just curious, what does your resolv.conf look like, and does the first
nameserver listed work?
--
Randomly Selected Tagline:
"We love the /dev/null device in IT, it's really fast when you back
things up to it...." - Jeff Tyler
RE: Trying to get sa-update to work
Posted by Matthew Bickerton <ma...@gmail.com>.
Thanks
dig txt 7.1.3.updates.spamassassin.org works fine.
So next I tried testing the Perl module Net::DNS this does not work when I
ran one of the example scrips in its documentation.
So I tried reinstalling Net::DNS and get the following (any help would be
most appreciated, I have been trying to sort this out for days now, thanks
Matthew):
Executing make test ..
PERL_DL_NONLAZY=1 /skel/usr/local/bin/perl5.8.7 "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'bli
b/lib', 'blib/arch')" t/*.t
t/00-load..................ok
t/00-pod...................skipped
all skipped: Test::Pod v0.95 required for testing POD
t/00-version...............ok
t/01-resolver-env..........ok
t/01-resolver-file.........ok
7/8 skipped: Could not read configuration file
t/01-resolver-opt..........ok
t/01-resolver..............
# Failed test (t/01-resolver.t at line 97)
# got: undef
# expected: '10.0.1.128'
# Failed test (t/01-resolver.t at line 101)
# got: undef
# expected: '10.0.1.128'
# Looks like you failed 2 tests of 44.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 43-44
Failed 2/44 tests, 95.45% okay
t/02-header................ok
t/03-question..............ok
t/04-packet-unique-push....ok
t/04-packet................ok
t/05-rr-opt................ok
t/05-rr-rrsort.............ok
t/05-rr-sshfp..............skipped
all skipped: Digest::BubbleBabble not installed.
t/05-rr-txt................ok
t/05-rr-unknown............ok
t/05-rr....................ok
t/06-update................ok
t/07-misc..................ok
t/08-online................
# Failed test (t/08-online.t at line 51)
Can't call method "header" on an undefined value at t/08-online.t line 52.
# Looks like you planned 93 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-93
Failed 92/93 tests, 1.08% okay
t/09-tkey..................ok
t/10-recurse...............Server [193.0.14.129] did not give answers at
/tmp/.webmin/Net-DNS-0.59/b
lib/lib/Net/DNS/Resolver/Recurse.pm line 86.
# Failed test (t/10-recurse.t at line 57)
# Failed test (t/10-recurse.t at line 63)
Can't call method "answer" on an undefined value at t/10-recurse.t line 64.
# Looks like you planned 12 tests but only ran 5.
# Looks like your test died just after 5.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-12
Failed 9/12 tests, 25.00% okay
t/11-escapedchars..........# Using the XS compiled dn_expand function
#
# disabling XS based dns_expand for a moment.
#
# Continuing to use the XS based dn_expand()
ok
t/11-inet6.................#
# The libraries needed for IPv6 support have been found
# Now we establish if we can bind to ::1
#
#
# Failed to bind to ::1
# Protocol not supported
#
# We assume there is no IPv6 connectivity and skip the tests
#
#
#
# Testing for global IPv6 connectivity...
# preparing...
Can't call method "answer" on an undefined value at t/11-inet6.t line 73.
# Looks like you planned 11 tests but only ran 1.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/01-resolver.t 2 512 44 2 4.55% 43-44
t/08-online.t 255 65280 93 183 196.77% 2-93
t/10-recurse.t 255 65280 12 16 133.33% 4-12
t/11-inet6.t 255 65280 11 20 181.82% 2-11
2 tests and 7 subtests skipped.
Failed 4/24 test scripts, 83.33% okay. 113/1057 subtests failed, 89.31%
okay.
*** Error code 255
Stop in /tmp/.webmin/Net-DNS-0.59.
-----Original Message-----
From: Daryl C. W. O'Shea [mailto:spamassassin@dostech.ca]
Sent: 06 February 2007 01:05
To: Matthew Bickerton
Cc: users@spamassassin.apache.org
Subject: Re: Trying to get sa-update to work
Matthew Bickerton wrote:
> Hi
>
> If I run : sa-update -D
>
> After a long pause I get (at the end of the debug trace):
>
> ...
> [8551] dbg: channel: attempting channel updates.spamassassin.org
> [8551] dbg: channel: update directory
> /var/lib/spamassassin/3.001007/updates_spamassassin_org
> [8551] dbg: channel: channel cf file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> [8551] dbg: channel: channel pre file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
> [8551] dbg: dns: query failed: 7.1.3.updates.spamassassin.org => query
timed
> out
> [8551] dbg: channel: no updates available, skipping channel
> [8551] dbg: diag: updates complete, exiting with code 1
>
> What am I doing wrong? How do I have to set this up to get sa-update to
> work?
Figure out what's causing your DNS queries to fail.
sa-update isn't going to work until you get a response to, say:
dig txt 7.1.3.updates.spamassassin.org
Daryl
Re: Trying to get sa-update to work
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Matthew Bickerton wrote:
> Hi
>
> If I run : sa-update -D
>
> After a long pause I get (at the end of the debug trace):
>
> ...
> [8551] dbg: channel: attempting channel updates.spamassassin.org
> [8551] dbg: channel: update directory
> /var/lib/spamassassin/3.001007/updates_spamassassin_org
> [8551] dbg: channel: channel cf file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> [8551] dbg: channel: channel pre file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
> [8551] dbg: dns: query failed: 7.1.3.updates.spamassassin.org => query timed
> out
> [8551] dbg: channel: no updates available, skipping channel
> [8551] dbg: diag: updates complete, exiting with code 1
>
> What am I doing wrong? How do I have to set this up to get sa-update to
> work?
Figure out what's causing your DNS queries to fail.
sa-update isn't going to work until you get a response to, say:
dig txt 7.1.3.updates.spamassassin.org
Daryl