[Apt-cacher-ng-users] "Error: cannot fetch" from /etc/cron.daily/apt-cacher-ng

Daniel Lo Nigro lists at dan.cx
Sun Nov 20 01:39:41 UTC 2016


Hi!

The cronjob shipped with apt-cacher-ng is failing for me, with this error:

/etc/cron.daily/apt-cacher-ng:
> Error: cannot fetch http://vps03.dan.cx:3142/acng-
> report.html?doExpire=Start+Expiration&abortOnErrors=aOe,


I see the same issue when I directly run "/usr/lib/apt-cacher-ng/acngtool
maint -c /etc/apt-cacher-ng SocketPath=/var/run/apt-cacher-ng/socket" too.

On my server, vps03.dan.cx resolves to 127.0.1.1 as per the hosts file, and
cURL-ing this URL works fine. I have apt-cacher-ng bound to some internal
IPs:

BindAddress: localhost 192.168.122.1 127.0.1.1


However, I tried removing the BindAddress setting and am still encountering
the same issue.

Any ideas?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/attachments/20161119/8ddab289/attachment.html>


More information about the Apt-cacher-ng-users mailing list