今天,当我运行命令时(我每天都运行它,一切都很好):
sudo rkhunter --update为了检查数据库文件的更新,我每次都会收到这个错误:
[ 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)所以我检查了日志文件,这是它的内容:
[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运行此命令时:
sudo rkhunter --versioncheck我还得到了一个类似的错误:
[ Rootkit Hunter version 1.4.2 ]
Checking rkhunter version...
This version : 1.4.2
Latest version: Download failed为什么会这样呢?我怎么才能修好它呢?或者这不是我的结局吗?在这种情况下,我该怎么办?
Description: Ubuntu 15.04
Release: 15.04rkhunter:
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发布于 2015-07-17 11:16:30
对于一些项目,sourceforge.net网站暂时处于静态离线模式。
因此,什么也不做,以后再试一次;)
在检查我的日志文件之后
[13:12:22] Checking rkhunter data files...
[13:12:22] Info: Created temporary file '/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6'
[13:12:22] Info: Created temporary file '/var/lib/rkhunter/tmp/mirrors.dat.SZ4xQZhnLE'
[13:12:22] Info: The mirrors file has been rotated: /var/lib/rkhunter/db/mirrors.dat
[13:12:22] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/mirrors.dat 2>/dev/null'
[13:12:22] Info: Download failed - 1 mirror(s) left.
[13:12:23] Info: Created temporary file '/var/lib/rkhunter/tmp/mirrors.dat.XOvMxBABzh'
[13:12:23] Info: The mirrors file has been rotated: /var/lib/rkhunter/db/mirrors.dat
[13:12:23] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/mirrors.dat 2>/dev/null'
[13:12:23] Warning: Download of 'mirrors.dat' failed: Unable to determine the latest version number.
[13:12:23] Checking file mirrors.dat [ Update failed ]
[13:12:23] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/programs_bad.dat 2>/dev/null'
[13:12:23] Warning: Download of 'programs_bad.dat' failed: Unable to determine the latest version number.
[13:12:23] Checking file programs_bad.dat [ Update failed ]
[13:12:23] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/backdoorports.dat 2>/dev/null'
[13:12:24] Warning: Download of 'backdoorports.dat' failed: Unable to determine the latest version number.
[13:12:24] Checking file backdoorports.dat [ Update failed ]
[13:12:24] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/suspscan.dat 2>/dev/null'
[13:12:24] Warning: Download of 'suspscan.dat' failed: Unable to determine the latest version number.
[13:12:24] Checking file suspscan.dat [ Update failed ]
[13:12:24] Info: Executing download command '/usr/bin/wget -q -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/i18n/1.4.2/i18n.ver 2>/dev/null'
[13:12:24] Checking file i18n versions [ Update failed ]
[13:12:24] Warning: Download of 'i18n.ver' failed: Unable to determine the latest version number.我试过:
sudo /usr/bin/wget -O "/var/lib/rkhunter/tmp/rkhunter.upd.UndVYmZ4q6" http://rkhunter.sourceforge.net/1.3/mirrors.dat有结果
--2015-07-17 13:13:34-- http://rkhunter.sourceforge.net/1.3/mirrors.dat
Resolving rkhunter.sourceforge.net (rkhunter.sourceforge.net)... 216.34.181.96
Connecting to rkhunter.sourceforge.net (rkhunter.sourceforge.net)|216.34.181.96|:80... connected.
HTTP request sent, awaiting response... 503 Service Unavailable
2015-07-17 13:13:34 ERROR 503: Service Unavailable.现在让我们检查一下http://rkhunter.sourceforge.net/1.3/mirrors.dat
The sourceforge.net website is temporarily in static offline mode.
Only a very limited set of project pages are available until the main website returns to service.https://askubuntu.com/questions/649484
复制相似问题