无法更新 rkhunter

无法更新 rkhunter

今天当我运行该命令时(我每天都运行该命令并且一切正常):

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.04

封装信息:

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

答案1

总结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.

相关内容