Error No Mirrors Available For Channel Updates.spamassassin.org
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Spamassassin: sa-update failed for unknown reasons, daily error, How to fix? up vote 1 down vote favorite For a while now I'm getting the following error-mail sent to my root account on my server. This is a fail occurring every time on the daily spamassassin update. My setup followed the Ars Technica Setup guide and I've already tried chown'ing the /var/lib/spamassassin by spamd. Even spamd:debian-spamd didn't help. As for the OS I'm running Debian 8 Jessie and the newest spamassassin version. So my question: How can I fix this error? Error message: /etc/cron.daily/spamassassin: error: unable to refresh mirrors file for channel updates.spamassassin.org, using old file channel: could not find working mirror, channel failed sa-update failed for unknown reasons The results of # sa-update -D -v can be found here, as they're too large for this question. debian spamassassin share|improve this question edited Jul 11 '15 at 13:31 asked Jul 11 '15 at 12:21 SEJPM 242211 Run sa-update -D -v to get more verbosity and edit your question to include that output... –masegaloeh Jul 11 '15 at 12:27 @masegaloeh, Done. Linked to pastebin as 100k chars aren't allowed here... –SEJPM Jul 11 '15 at 12:35 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted As the execution of sa-update in you pastebin log was successful, I guess you we're running it as root. Probably you /var/lib/spamassassin/ directory and the files inside doesn't have the correct permission. Try to chown it as the user sa-update is intended to run in the cronjob (for Ubuntu its debian-spamd:debian-spamd). share|improve this answer edited Jul 11 '15 at 13:34 answered Jul 11 '15 at 13:26 Henrik 533313 Yes I ran it as root (indicated by the #). This doesn't work because the user sa-update seems not to exist. I tried
Post #1 of 16 (6673 views) Permalink sa-update channel problem Hi, After upgrading SpamAssassin to 3.3.0 on FreeBSD 8-Stable, spamd doesn't start anymore and exits with an error: child process [xxxxx] exited or timed out without signaling production of a PID file: exit 25 at /usr/local/bin/spamd line 2544. It seems that I have to run sa-update first in http://serverfault.com/questions/705040/spamassassin-sa-update-failed-for-unknown-reasons-daily-error-how-to-fix order for SA to work. But sa-update exits with an error too, sa-update -D gives: Feb 14 22:12:46.153 [11706] dbg: logger: adding facilities: all Feb 14 22:12:46.153 [11706] dbg: logger: logging level is DBG Feb 14 22:12:46.153 [11706] dbg: generic: SpamAssassin version 3.3.0 Feb 14 22:12:46.153 [11706] dbg: http://www.gossamer-threads.com/lists/spamassassin/users/149050 generic: Perl 5.010001, PREFIX=/usr/local, DEF_RULES_DIR=/usr/local/share/spamassassin, LOCAL_RULES_DIR=/usr/local/etc/mail/spamassassin, LOCAL_STATE_DIR=/var/db/spamassassin Feb 14 22:12:46.153 [11706] dbg: config: timing enabled Feb 14 22:12:46.154 [11706] dbg: config: score set 0 chosen. Feb 14 22:12:46.201 [11706] dbg: dns: is Net::DNS::Resolver available? yes Feb 14 22:12:46.201 [11706] dbg: dns: Net::DNS version: 0.66 Feb 14 22:12:46.202 [11706] dbg: generic: sa-update version svn897929 Feb 14 22:12:46.202 [11706] dbg: generic: using update directory: /var/db/spamassassin/3.003000 Feb 14 22:12:46.507 [11706] dbg: diag: perl platform: 5.010001 freebsd Feb 14 22:12:46.507 [11706] dbg: diag: [...] module installed: Digest::SHA1, version 2.12 Feb 14 22:12:46.507 [11706] dbg: diag: [...] module installed: HTML::Parser, version 3.64 Feb 14 22:12:46.508 [11706] dbg: diag: [...] module installed: Net::DNS, version 0.66 Feb 14 22:12:46.508 [11706] dbg: diag: [...] module installed: NetAddr::IP, version 4.027 Feb 14 22:12:46.508 [11706] dbg: diag: [...] module installed: Time::HiRes, version 1.9719 Feb 14 22:12:46.508 [11706] dbg: diag: [...] mo
[x] First Last Prev Next This bug is not in your last search results. Bug6930 - sa-update unable to https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6930 deal with a previous failure (empty mirrors file) Summary: sa-update unable to https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6882 deal with a previous failure (empty mirrors file) Status: RESOLVED FIXED Product: Spamassassin Classification: Unclassified Component: sa-update Version: SVN Trunk (Latest Devel Version) Hardware: All All Importance: P2 normal TargetMilestone: 3.4.0 Assigned To: SpamAssassin Developer Mailing List URL: Whiteboard: Keywords: Depends on: Blocks: Show dependency tree Reported: error no 2013-04-25 19:55 UTC by Mark Martinec Modified: 2013-06-21 16:29 UTC (History) CC List: 1 user (show) kmcgrail Attachment Type Modified Status Actions Submitter/CLA Status Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Mark Martinec 2013-04-25 19:55:07 UTC (opening a new PR for documentation purposes, keeping error no mirrors issues apart) Quanah Gibson-Mount reported on a mailing list (2013-04-02): $ ./sa-update --updatedir=/tmp/qsa error: no mirrors available for channel updates.spamassassin.org channel: no mirrors available, channel failed $ cd /tmp/qsa/updates_spamassassin_org/ $ cat MIRRORED.BY $ Kevin A. McGrail wrote: >> Can you rename the MIRRORED.BY file in >> /tmp/qsa/updates_spamassassin_org/MIRRORED.BY and try again? >> >> Is the MIRRORED.BY file blank? > Yes, it was zero bytes. > > And now that I removed it, it worked?! Crazy. :) > > I think the first time I failed to set my proxy before running > sa-update, and then subsequent runs all failed. Perhaps if > MIRRORED.BY is 0, it should be removed by sa-update before trying to > retrieve it again? Good to hear. I thought the following should fix it: --- sa-update.raw (revision 1452851) +++ sa-update.raw (working copy) @@ -596,6 +596,9 @@ } elsif (time - $mirby_time > $IGNORE_MIRBY_OLDER_THAN) { dbg("channel: MIRRORED.BY file is too old, forcing refresh"); $mirby_force_reload = 1; + } elsif (-s $mirby_path == 0) { + dbg("channel: MIRRORED.BY file is zero bytes, forcing refresh"); + $mirby_force_reload = 1; } else { dbg("channel: r
First Last Prev Next This bug is not in your last search results. Bug6882 - updates.spamassassin.org is not resolvable in dns (NXDOMAIN) Summary: updates.spamassassin.org is not resolvable in dns (NXDOMAIN) Status: RESOLVED DUPLICATE of bug 6872 Product: Spamassassin Classification: Unclassified Component: sa-update Version: unspecified Hardware: All All Importance: P2 critical TargetMilestone: Undefined Assigned To: SpamAssassin Developer Mailing List URL: Whiteboard: Keywords: Depends on: Blocks: Show dependency tree Reported: 2012-12-29 00:54 UTC by tycho.eggen Modified: 2012-12-29 01:17 UTC (History) CC List: 1 user (show) tycho.eggen Attachment Type Modified Status Actions Submitter/CLA Status Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description tycho.eggen 2012-12-29 00:54:47 UTC updates.spamassassin.org is not resolvable in dns (NXDOMAIN) (No host record available.) (188)[root@firefly:~](0)>dig updates.spamassassin.org ; <<>> DiG 9.6.-ESV-R5-P1 <<>> updates.spamassassin.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49241 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;updates.spamassassin.org. IN A ;; AUTHORITY SECTION: spamassassin.org. 1800 IN SOA ns.hyperreal.org. pmc.spamassassin.apache.org. 2012122801 86400 3600 2678400 3600 ;; Query time: 170 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Sat Dec 29 01:53:48 2012 ;; MSG SIZE rcvd: 115 Comment 1 tycho.eggen 2012-12-29 00:57:39 UTC (189)[root@firefly:~](0)>sa-update http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute error: no mirror data available for channel updates.spamassassin.org channel: MIRRORED.BY contents were missing, channel failed Comment 2 Mark Martinec 2012-12-29 01:08:45 UTC > dig updates.spamassassin.org > status: NXDOMAIN Wrong query. Should be: dig -t txt 2.3.3.updates.spamassassin.org ;; ANSWER SECTION: 2.3.3.updates.spamassassin.org. 3425 IN TXT "1426146" > (189)[root@firefly:~](0)>sa-update > http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be > absolute > error: no mirror data available for channel updates.spamassassin.org > channel: MIRRORED.BY contents were missing, channel failed Possibly a duplicate of Bug 6872, check your version of Net::DNS, should be 0.68, or 0.71 or hig