Today when I ran the command (which I run every day and all is well):
sudo rkhunter --update
In order to check for updates to database files I got this error every time:
[ Rootkit Hunter version 1.4.2 ]
Checking rkhunter data files...
Checking file mirrors.dat [ Update failed ]
Checking file programs_bad.dat [ Update failed ]
Checking file backdoorports.dat [ Update failed ]
Checking file suspscan.dat [ Update failed ]
Checking file i18n versions [ Update failed ]
Please check the log file (/var/log/rkhunter.log)
So I checked the log file and this was its contents:
[11:52:57] Checking rkhunter data files...
[11:52:57] Info: Created temporary file '/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5'
[11:52:57] Info: Created temporary file '/var/lib/rkhunter/tmp/mirrors.dat.9HiKnqrCFB'
[11:52:57] Info: The mirrors file has been rotated: /var/lib/rkhunter/db/mirrors.dat
[11:52:57] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5" http://rkhunter.sourceforge.net/1.3/mirrors.dat 2>/dev/null'
[11:52:57] Warning: Download of 'mirrors.dat' failed: Unable to determine the latest version number.
[11:52:57] Checking file mirrors.dat [ Update failed ]
[11:52:57] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5" http://rkhunter.sourceforge.net/1.3/programs_bad.dat 2>/dev/null'
[11:52:58] Warning: Download of 'programs_bad.dat' failed: Unable to determine the latest version number.
[11:52:58] Checking file programs_bad.dat [ Update failed ]
[11:52:58] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5" http://rkhunter.sourceforge.net/1.3/backdoorports.dat 2>/dev/null'
[11:52:58] Warning: Download of 'backdoorports.dat' failed: Unable to determine the latest version number.
[11:52:58] Checking file backdoorports.dat [ Update failed ]
[11:52:58] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5" http://rkhunter.sourceforge.net/1.3/suspscan.dat 2>/dev/null'
[11:52:58] Warning: Download of 'suspscan.dat' failed: Unable to determine the latest version number.
[11:52:58] Checking file suspscan.dat [ Update failed ]
[11:52:58] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.5ztlaw3od5" http://rkhunter.sourceforge.net/1.3/i18n/1.4.2/i18n.ver 2>/dev/null'
[11:52:59] Checking file i18n versions [ Update failed ]
[11:52:59] Warning: Download of 'i18n.ver' failed: Unable to determine the latest version number.
[11:52:59]
[11:52:59] Info: End date is Fri Jul 17 11:52:59 BST 2015
When running this command:
sudo rkhunter --versioncheck
I also get a similar error:
[ Rootkit Hunter version 1.4.2 ]
Checking rkhunter version...
This version : 1.4.2
Latest version: Download failed
Why is this? And how can I fix it? Or is it not something my end? In which case, what should I do?
OS Information:
Description: Ubuntu 15.04
Release: 15.04
Package Information:
rkhunter:
Installed: 1.4.2-0.4
Candidate: 1.4.2-0.4
Version table:
*** 1.4.2-0.4 0
500 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
100 /var/lib/dpkg/status