Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/04/2014, à 09:38

nereu

rkhunter qui ne s'actualise pas

Bonjour
J'ai installé rkhuter mais ne peut pas l'actualiser:

 sudo rkhunter --update
[ Rootkit Hunter version 1.3.6 ]

Checking rkhunter data files...
  Checking file mirrors.dat                                  [ No update ]
  Checking file programs_bad.dat                             [ No update ]
  Checking file backdoorports.dat                            [ No update ]
  Checking file suspscan.dat                                 [ No update ]
  Checking file i18n versions                                [ Update failed ]

Please check the log file (/var/log/rkhunter.log)

Que faire avec /var/log/rkhunter? Merci

[09:28:17] Running Rootkit Hunter version 1.3.6 on nexus
[09:28:17]
[09:28:17] Info: Start date is mardi 8 avril 2014, 09:28:17 (UTC+0100)
[09:28:17]
[09:28:17] Checking configuration file and command-line options...
[09:28:17] Info: Detected operating system is 'Linux'
[09:28:17] Info: Found O/S name: Ubuntu 10.04.4 LTS
[09:28:17] Info: Command line is /usr/bin/rkhunter --update
[09:28:18] Info: Environment shell is /bin/bash; rkhunter is using dash
[09:28:18] Info: Using configuration file '/etc/rkhunter.conf'
[09:28:18] Info: Installation directory is '/usr'
[09:28:18] Info: Using language 'en'
[09:28:18] Info: Using '/var/lib/rkhunter/db' as the database directory
[09:28:18] Info: Using '/usr/share/rkhunter/scripts' as the support script directory
[09:28:18] Info: Using '/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin /bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin /usr/libexec /usr/local/libexec' as the command directories
[09:28:18] Info: Using '/' as the root directory by default
[09:28:18] Info: Using '/var/lib/rkhunter/tmp' as the temporary directory
[09:28:18] Info: X will be automatically detected
[09:28:18] Info: Using second color set
[09:28:18] Info: Found the 'basename' command: /usr/bin/basename
[09:28:18] Info: Found the 'diff' command: /usr/bin/diff
[09:28:18] Info: Found the 'dirname' command: /usr/bin/dirname
[09:28:18] Info: Found the 'file' command: /usr/bin/file
[09:28:18] Info: Found the 'find' command: /usr/bin/find
[09:28:18] Info: Found the 'ifconfig' command: /sbin/ifconfig
[09:28:18] Info: Found the 'ip' command: /sbin/ip
[09:28:18] Info: Found the 'ldd' command: /usr/bin/ldd
[09:28:18] Info: Found the 'lsattr' command: /usr/bin/lsattr
[09:28:18] Info: Found the 'lsmod' command: /sbin/lsmod
[09:28:18] Info: Found the 'lsof' command: /usr/bin/lsof
[09:28:18] Info: Found the 'mktemp' command: /bin/mktemp
[09:28:18] Info: Found the 'netstat' command: /bin/netstat
[09:28:18] Info: Found the 'perl' command: /usr/bin/perl
[09:28:18] Info: Found the 'pgrep' command: /usr/bin/pgrep
[09:28:18] Info: Found the 'ps' command: /bin/ps
[09:28:18] Info: Found the 'pwd' command: /bin/pwd
[09:28:18] Info: Found the 'readlink' command: /bin/readlink
[09:28:18] Info: Found the 'sort' command: /usr/bin/sort
[09:28:18] Info: Found the 'stat' command: /usr/bin/stat
[09:28:18] Info: Found the 'strings' command: /usr/bin/strings
[09:28:18] Info: Found the 'uniq' command: /usr/bin/uniq
[09:28:18] Info: Found the 'wget' command: /usr/bin/wget
[09:28:18] Info: The mirrors file will be rotated
[09:28:18] Info: Both local and remote mirrors will be used
[09:28:18] Info: The mirrors file will be updated
[09:28:18] Info: Locking is not being used
[09:28:18]
[09:28:18] Checking rkhunter data files...
[09:28:18] Info: Created temporary file '/var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X'
[09:28:18] Info: Created temporary file '/var/lib/rkhunter/tmp/mirrors.dat.eFOlMQ7TIX'
[09:28:18] Info: Mirrors file '/var/lib/rkhunter/db/mirrors.dat' has been rotated.
[09:28:18] Info: Executing download command '/usr/bin/wget  -q -O /var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X http://rkhunter.sourceforge.net/1.3/mirrors.dat 2>/dev/null'
[09:28:19] Info: This version  : 2007060601
[09:28:19] Info: Latest version: 2007060601
[09:28:19] Checking file mirrors.dat                         [ No update ]
[09:28:19] Info: Executing download command '/usr/bin/wget  -q -O /var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X http://rkhunter.sourceforge.net/1.3/programs_bad.dat 2>/dev/null'
[09:28:19] Info: This version  : 2010111601
[09:28:19] Info: Latest version: 2010111601
[09:28:19] Checking file programs_bad.dat                    [ No update ]
[09:28:19] Info: Executing download command '/usr/bin/wget  -q -O /var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X http://rkhunter.sourceforge.net/1.3/backdoorports.dat 2>/dev/null'
[09:28:20] Info: This version  : 2010111401
[09:28:20] Info: Latest version: 2010111401
[09:28:20] Checking file backdoorports.dat                   [ No update ]
[09:28:20] Info: Executing download command '/usr/bin/wget  -q -O /var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X http://rkhunter.sourceforge.net/1.3/suspscan.dat 2>/dev/null'
[09:28:21] Info: This version  : 2009112901
[09:28:21] Info: Latest version: 2009112901
[09:28:21] Checking file suspscan.dat                        [ No update ]
[09:28:21] Info: Executing download command '/usr/bin/wget  -q -O /var/lib/rkhunter/tmp/rkhunter.upd.RI3vAjrk7X http://rkhunter.sourceforge.net/1.3/i18n/1.3.6/i18n.ver 2>/dev/null'
[09:28:21] Checking file i18n versions                       [ Update failed ]
[09:28:21] Warning: Download of 'i18n.ver' failed: Unable to determine the latest version number.
[09:28:21]
[09:28:21] Info: End date is mardi 8 avril 2014, 09:28:21 (UTC+0100)

Hors ligne

#2 Le 08/04/2014, à 10:04

nereu

Re : rkhunter qui ne s'actualise pas

J'ajoute:

$ tar xvfz rkhunter-1.4.2.tar.gz
tar: rkhunter-1.4.2.tar.gz : la fonction open a échoué: Aucun fichier ou dossier de ce type
tar: Erreur non récupérable : arrêt du traitement
tar: Child returned status 2
tar: Arrêt avec code d'échec à cause des erreurs précédentes
carlos@nexus:~$ sudo apt-get install rkhunter=1.4.2
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: La version « 1.4.2 » de « rkhunter » n'a pu être trouvée

à partir de

Checking rkhunter version...
  This version  : 1.3.6
  Latest version: 1.4.2
  Update available

Donc il y a une version 1.4.2...

Hors ligne

#3 Le 10/04/2014, à 17:15

compte supprimé

Re : rkhunter qui ne s'actualise pas

salut

sudo rkhunter --update;sudo  rkhunter --propupdate

et

sudo rkhunter  --check