[prev in list] [next in list] [prev in thread] [next in thread]
List: spamassassin-devel
Subject: [Bug 7074] New: sa-update failing because curl returns exit code 13
From: bugzilla-daemon () bugzilla ! spamassassin ! org
Date: 2014-08-14 17:20:20
Message-ID: bug-7074-26 () https ! issues ! apache ! org/SpamAssassin/
[Download RAW message or body]
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7074
Bug ID: 7074
Summary: sa-update failing because curl returns exit code 13
Product: Spamassassin
Version: 3.4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: sa-update
Assignee: dev@spamassassin.apache.org
Reporter: marty@taursys.com
Cannot perform sa-update for system. Noticed because daily cron job sent
warning email:
/etc/cron.daily/spamassassin:
error: no mirror data available for channel updates.spamassassin.org
channel: MIRRORED.BY file contents were missing, channel failed
sa-update failed for unknown reasons
Environment:
Ubuntu 14.04 (up-to-date)
Spamassassin 3.4.0
tried running sa-update as debian-spamd:
debian-spamd@venus:~$ sa-update --gpghomedir
/var/lib/spamassassin/sa-update-keys -D
Output (abbrievated):
...
Aug 14 09:09:42.989 [10281] dbg: channel: no mirror file
/var/lib/spamassassin/3.004000/updates_spamassassin_org/MIRRORED.BY, will fetch
it
Aug 14 09:09:42.989 [10281] dbg: channel: DNS lookup on
mirrors.updates.spamassassin.org
Aug 14 09:09:42.990 [10281] dbg: http: url:
http://spamassassin.apache.org/updates/MIRRORED.BY
Aug 14 09:09:42.990 [10281] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/MIRRORED.BY, new
Aug 14 09:09:42.990 [10281] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:09:42.990 [10281] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o MIRRORED.BY --
http://spamassassin.apache.org/updates/MIRRORED.BY
Aug 14 09:09:42.996 [10281] dbg: http: process [10282], exit status: 13
Aug 14 09:09:42.996 [10281] dbg: channel: no mirror data available for channel
updates.spamassassin.org from
http://spamassassin.apache.org/updates/MIRRORED.BY
error: no mirror data available for channel updates.spamassassin.org
channel: MIRRORED.BY file contents were missing, channel failed
Aug 14 09:09:42.996 [10281] dbg: generic: cleaning up temporary directory/files
Aug 14 09:09:42.996 [10281] dbg: generic: cleaning directory
/tmp/.spamassassin10281OjrLbxtmp
Aug 14 09:09:42.996 [10281] dbg: diag: updates complete, exiting with code 4
Manually ran curl command successfully:
cd /var/lib/spamassassin/3.004000/updates_spamassassin_org
/usr/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 30
--max-time 300 --fail -o MIRRORED.BY --
http://spamassassin.apache.org/updates/MIRRORED.BY
Then tried sa-update again and got:
...
Aug 14 09:17:03.564 [10396] dbg: channel: file
/var/lib/spamassassin/3.004000/updates_spamassassin_org/MIRRORED.BY is too old,
refreshing mirrors file
Aug 14 09:17:03.564 [10396] dbg: channel: DNS lookup on
mirrors.updates.spamassassin.org
Aug 14 09:17:03.565 [10396] dbg: http: url:
http://spamassassin.apache.org/updates/MIRRORED.BY
Aug 14 09:17:03.565 [10396] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/MIRRORED.BY, replace
Aug 14 09:17:03.565 [10396] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:17:03.565 [10396] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o MIRRORED.BY --
http://spamassassin.apache.org/updates/MIRRORED.BY
Aug 14 09:17:03.571 [10396] dbg: http: process [10397], exit status: 13
Aug 14 09:17:03.571 [10396] dbg: channel: no mirror data available for channel
updates.spamassassin.org from
http://spamassassin.apache.org/updates/MIRRORED.BY
error: unable to refresh mirrors file for channel updates.spamassassin.org,
using old file
Aug 14 09:17:03.571 [10396] dbg: channel: reading MIRRORED.BY file
/var/lib/spamassassin/3.004000/updates_spamassassin_org/MIRRORED.BY
Aug 14 09:17:03.571 [10396] dbg: channel: parsing MIRRORED.BY file for channel
updates.spamassassin.org
Aug 14 09:17:03.571 [10396] dbg: channel: found mirror
http://sa-update.dnswl.org/ weight=1
Aug 14 09:17:03.571 [10396] dbg: channel: found mirror
http://www.sa-update.pccc.com/ weight=5
Aug 14 09:17:03.572 [10396] dbg: channel: found mirror
http://sa-update.secnap.net/ weight=5
Aug 14 09:17:03.572 [10396] dbg: channel: found mirror
http://sa-update.space-pro.be/ weight=1
Aug 14 09:17:03.572 [10396] dbg: channel: selected mirror
http://sa-update.secnap.net
Aug 14 09:17:03.572 [10396] dbg: http: url:
http://sa-update.secnap.net/1613764.tar.gz
Aug 14 09:17:03.572 [10396] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/1613764.tar.gz, new
Aug 14 09:17:03.572 [10396] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:17:03.572 [10396] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1613764.tar.gz --
http://sa-update.secnap.net/1613764.tar.gz
Aug 14 09:17:03.578 [10396] dbg: http: process [10398], exit status: 13
Aug 14 09:17:03.578 [10396] dbg: channel: selected mirror
http://sa-update.dnswl.org
Aug 14 09:17:03.578 [10396] dbg: http: url:
http://sa-update.dnswl.org/1613764.tar.gz
Aug 14 09:17:03.578 [10396] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/1613764.tar.gz, new
Aug 14 09:17:03.578 [10396] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:17:03.578 [10396] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1613764.tar.gz --
http://sa-update.dnswl.org/1613764.tar.gz
Aug 14 09:17:03.583 [10396] dbg: http: process [10399], exit status: 13
Aug 14 09:17:03.583 [10396] dbg: channel: selected mirror
http://www.sa-update.pccc.com
Aug 14 09:17:03.583 [10396] dbg: http: url:
http://www.sa-update.pccc.com/1613764.tar.gz
Aug 14 09:17:03.583 [10396] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/1613764.tar.gz, new
Aug 14 09:17:03.584 [10396] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:17:03.584 [10396] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1613764.tar.gz --
http://www.sa-update.pccc.com/1613764.tar.gz
Aug 14 09:17:03.588 [10396] dbg: http: process [10400], exit status: 13
Aug 14 09:17:03.589 [10396] dbg: channel: selected mirror
http://sa-update.space-pro.be
Aug 14 09:17:03.589 [10396] dbg: http: url:
http://sa-update.space-pro.be/1613764.tar.gz
Aug 14 09:17:03.589 [10396] dbg: http: downloading to:
/var/lib/spamassassin/3.004000/updates_spamassassin_org/1613764.tar.gz, new
Aug 14 09:17:03.589 [10396] dbg: util: executable for curl was found at
/usr/bin/curl
Aug 14 09:17:03.589 [10396] dbg: http: /usr/bin/curl -s -L -O --remote-time -g
--max-redirs 2 --connect-timeout 30 --max-time 300 --fail -o 1613764.tar.gz --
http://sa-update.space-pro.be/1613764.tar.gz
Aug 14 09:17:03.595 [10396] dbg: http: process [10401], exit status: 13
channel: could not find working mirror, channel failed
Aug 14 09:17:03.596 [10396] dbg: generic: cleaning up temporary directory/files
Aug 14 09:17:03.596 [10396] dbg: generic: cleaning directory
/tmp/.spamassassin10396koqaqjtmp
Aug 14 09:17:03.596 [10396] dbg: diag: updates complete, exiting with code 4
Appears that running curl within sa-update is failing for some reason.
Result is: cannot update spamassassin rules.
--
You are receiving this mail because:
You are the assignee for the bug.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic