Re: sa-update fails with “no mirrors available”

2013-09-23 Thread Marco
On 2013–09–23 Kevin A. McGrail wrote:

> > This file is empty here. I assume that's wrong.
> 
> Try deleting the MIRRORED.BY file and run again.  There are some
> race conditions that can lead to the issue that should be already
> fixed in trunk

I deleted MIRRORED.BY and now it's working:

  dbg: channel: no MIRRORED.BY file available
  dbg: http: GET request, http://spamassassin.apache.org/updates/MIRRORED.BY
  dbg: channel: MIRRORED.BY file retrieved
  dbg: channel: reading MIRRORED.BY file
  dbg: channel: found mirror http://sa-update.dnswl.org/ weight=1

Thanks for the quick help.

Marco


Re: sa-update fails with “no mirrors available”

2013-09-23 Thread Marco
On 2013–09–23 Kevin A. McGrail wrote:

> 1 - run sa-update -D -v to get more verbosity and send that log to
> the mailing list

log is attached, here the last lines:

  Sep 23 19:52:46.968 [5668] dbg: channel: reading MIRRORED.BY file
  error: no mirrors available for channel updates.spamassassin.org
  channel: no mirrors available, channel failed
  Sep 23 19:52:46.968 [5668] dbg: generic: cleaning up temporary directory/files
  Sep 23 19:52:46.969 [5668] dbg: diag: updates complete, exiting with code 4
  Update available for channel updates.spamassassin.org
  Update failed, exiting with code 4

> 2 - Look at
> /var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY
> (I believe that's the correct path).

This file is empty here. I assume that's wrong.

> That file can end up blank on some machines but that's been fixed.

I'm on Debian Sid. I'll file a bug report tomorrow. What's supposed
to be in that file (then I can add it manually as a workaround)?

Marco
Sep 23 19:52:36.528 [5668] dbg: logger: adding facilities: all
Sep 23 19:52:36.529 [5668] dbg: logger: logging level is DBG
Sep 23 19:52:36.529 [5668] dbg: generic: SpamAssassin version 3.3.2
Sep 23 19:52:36.529 [5668] dbg: generic: Perl 5.018001, PREFIX=/usr, 
DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, 
LOCAL_STATE_DIR=/var/lib/spamassassin
Sep 23 19:52:36.529 [5668] dbg: config: timing enabled
Sep 23 19:52:36.530 [5668] dbg: config: score set 0 chosen.
Sep 23 19:52:36.541 [5668] dbg: dns: is Net::DNS::Resolver available? yes
Sep 23 19:52:36.541 [5668] dbg: dns: Net::DNS version: 0.68
Sep 23 19:52:36.542 [5668] dbg: generic: sa-update version svn917659
Sep 23 19:52:36.542 [5668] dbg: generic: using update directory: 
/var/lib/spamassassin/3.003002
Sep 23 19:52:36.758 [5668] dbg: diag: perl platform: 5.018001 linux
Sep 23 19:52:36.758 [5668] dbg: diag: [...] module installed: Digest::SHA, 
version 5.84_01
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: HTML::Parser, 
version 3.71
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: Net::DNS, version 
0.68
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: NetAddr::IP, 
version 4.062
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: Time::HiRes, 
version 1.9725
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: Archive::Tar, 
version 1.90
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: IO::Zlib, version 
1.10
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module not installed: Digest::SHA1 
('require' failed)
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: MIME::Base64, 
version 3.13
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: DB_File, version 
1.827
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: Net::SMTP, 
version 2.31
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module installed: Mail::SPF, 
version v2.009
Sep 23 19:52:36.759 [5668] dbg: diag: [...] module not installed: 
IP::Country::Fast ('require' failed)
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: 
Razor2::Client::Agent, version 2.84
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module not installed: Net::Ident 
('require' failed)
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: 
IO::Socket::INET6, version 2.69
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: IO::Socket::SSL, 
version 1.954
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: Compress::Zlib, 
version 2.06
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module not installed: Mail::DKIM 
('require' failed)
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: DBI, version 1.628
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: Getopt::Long, 
version 2.39
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: LWP::UserAgent, 
version 6.05
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module installed: HTTP::Date, 
version 6.02
Sep 23 19:52:36.760 [5668] dbg: diag: [...] module not installed: 
Encode::Detect ('require' failed)
Sep 23 19:52:36.761 [5668] dbg: gpg: Searching for 'gpg'
Sep 23 19:52:36.762 [5668] dbg: util: current PATH is: 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Sep 23 19:52:36.762 [5668] dbg: util: executable for gpg was found at 
/usr/bin/gpg
Sep 23 19:52:36.762 [5668] dbg: gpg: found /usr/bin/gpg
Sep 23 19:52:36.762 [5668] dbg: gpg: release trusted key id list: 
0C2B1D7175B852C64B3CDC716C55397824F434CE 
5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 
26C900A46DD40CD5AD24F6D7DEE01987265FA05B
Sep 23 19:52:36.771 [5668] dbg: channel: attempting channel 
updates.spamassassin.org
Sep 23 19:52:36.771 [5668] dbg: channel: update directory 
/var/lib/spamassassin/3.003002/updates_spamassassin_org
Sep 23 19:52:36.771 [5668] dbg: channel: channel cf file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.cf
Sep 23 19:52:36.771 [5668] dbg: channel: channel pre file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.pre
Sep 23 19:

Re: sa-update fails with “no mirrors available”

2013-09-23 Thread Kevin A. McGrail

> This file is empty here. I assume that's wrong.

Try deleting the MIRRORED.BY file and run again.  There are some race 
conditions that can lead to the issue that should be already fixed in 
trunk (i.e. no reason to open a bug report).


regards,
KAM


sa-update fails with “no mirrors available”

2013-09-23 Thread Marco
Hi,

since a few days sa-update fails and I get notifications from the cron daemon.
I get the same error when I run sa-update in the console.

  error: no mirrors available for channel updates.spamassassin.org
  channel: no mirrors available, channel failed
  sa-update failed for unknown reasons

 Is this a known issue? How to fix it?

SpamAssassin version 3.3.2
  running on Perl version 5.18.1

Marco