Patrick Matthäi wrote on 13-04-15 18:15:
What is the content of those e-mails?
Something like this:
From: r...@example.com (Cron Daemon)
To: r...@example.com
Subject: Cron root@example[ -x /usr/sbin/geoip-database-contrib_update ]
/usr/sbin/geoip-database-contrib_update /dev/null
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: HOME=/root
X-Cron-Env: PATH=/usr/bin:/bin
X-Cron-Env: LOGNAME=root
Message-Id: 20150410020007.e739742...@example.com
Date: Fri, 10 Apr 2015 04:00:07 +0200 (CEST)
--2015-04-10 04:00:01--
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
Resolving geolite.maxmind.com (geolite.maxmind.com)...
2400:cb00:2048:1::8d65:73be, 2400:cb00:2048:1::8d65:72be, 141.101.114.190, ...
Connecting to geolite.maxmind.com
(geolite.maxmind.com)|2400:cb00:2048:1::8d65:73be|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 444521 (434K) [application/octet-stream]
Saving to: `/usr/share/GeoIP/GeoIP.dat.gz'
0K .. .. .. .. .. 11% 11.3M 0s
50K .. .. .. .. .. 23% 6.86M 0s
100K .. .. .. .. .. 34% 25.6M 0s
150K .. .. .. .. .. 46% 8.92M 0s
200K .. .. .. .. .. 57% 9.85M 0s
250K .. .. .. .. .. 69% 12.5M 0s
300K .. .. .. .. .. 80% 6.72M 0s
350K .. .. .. .. .. 92% 13.4M 0s
400K .. .. .. 100% 20.2M=0.04s
2015-04-10 04:00:02 (10.5 MB/s) - `/usr/share/GeoIP/GeoIP.dat.gz' saved
[444521/444521]
[snip]
I just double checked, and stderr is indeed the problem. When I run this:
/usr/sbin/geoip-database-contrib_update stdout.txt 2 stderr.txt
I get:
-rw-r--r-- 1 root staff 25478 13 apr 21:05 stderr.txt
-rw-r--r-- 1 root staff338 13 apr 21:05 stdout.txt
See attachments as well. Adding 21 to /etc/cron.d/geoip-database-contrib will
fix this.
And could you please also show me your current screenshot?
Sure. A screenshot of what though?
Kind regards,
Richard
--2015-04-13 21:05:20--
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
Resolving geolite.maxmind.com (geolite.maxmind.com)...
2400:cb00:2048:1::8d65:72be, 2400:cb00:2048:1::8d65:73be, 141.101.115.190, ...
Connecting to geolite.maxmind.com
(geolite.maxmind.com)|2400:cb00:2048:1::8d65:72be|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 444521 (434K) [application/octet-stream]
Saving to: `/usr/share/GeoIP/GeoIP.dat.gz'
0K .. .. .. .. .. 11% 8.41M 0s
50K .. .. .. .. .. 23% 9.20M 0s
100K .. .. .. .. .. 34% 9.49M 0s
150K .. .. .. .. .. 46% 10.2M 0s
200K .. .. .. .. .. 57% 10.2M 0s
250K .. .. .. .. .. 69% 11.2M 0s
300K .. .. .. .. .. 80% 11.0M 0s
350K .. .. .. .. .. 92% 11.0M 0s
400K .. .. .. 100% 11.3M=0.04s
2015-04-13 21:05:20 (10.1 MB/s) - `/usr/share/GeoIP/GeoIP.dat.gz' saved
[444521/444521]
--2015-04-13 21:05:20--
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
Resolving geolite.maxmind.com (geolite.maxmind.com)...
2400:cb00:2048:1::8d65:73be, 2400:cb00:2048:1::8d65:72be, 141.101.114.190, ...
Connecting to geolite.maxmind.com
(geolite.maxmind.com)|2400:cb00:2048:1::8d65:73be|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 705702 (689K) [application/octet-stream]
Saving to: `/usr/share/GeoIP/GeoIPv6.dat.gz'
0K .. .. .. .. .. 7% 7.24M 0s
50K .. .. .. .. .. 14% 8.79M 0s
100K .. .. .. .. .. 21% 9.34M 0s
150K .. .. .. .. .. 29% 10.0M 0s
200K .. .. .. .. .. 36% 10.7M 0s
250K .. .. .. .. .. 43% 11.0M 0s
300K .. .. .. .. .. 50% 11.0M 0s
350K .. .. .. .. .. 58% 11.0M 0s
400K .. .. .. .. .. 65% 11.0M 0s
450K .. .. .. .. .. 72% 11.0M 0s
500K .. .. .. .. .. 79% 11.1M 0s
550K .. .. .. .. .. 87% 11.0M 0s
600K .. .. .. ..