Installing packages fails: watchdog, nginx => failed to fetch, 404

Discussion in 'Installation, Update and Configuration' started by CaglarY, Sep 21, 2014.

  1. CaglarY

    CaglarY Kilo Poster

    Messages:
    11
    Hello community,

    my vServer is running on Debian 7.6 with Plesk Power Panel and Plesk Panel. But i cannot install any packages anymore.

    I found this: http://kb.odin.com/en/116765
    But i can't use this solution, because the command vzpkg is unknown.

    What can I do to install and upgrade packages?
     
  2. IP^__^

    IP^__^ Odin Team

    Messages:
    80
    Hello,

    I'm not sure that I understood you correctly, so let's try to clarify the situation.
    You are running Plesk on vServer (which is not Parallels virtualization product such as Virtuozzo or PCS) and trying to install packages, but receive the error 404 (Not found) about installing packages. Am I right?
    Have you tried to update the list of packages using "apt-get update" command?
    Could you please post the full output of the command which you are trying to execute?
     
  3. CaglarY

    CaglarY Kilo Poster

    Messages:
    11
    I've installed Plesk Panel 11.5.30 with watchdog, which is synonymous rkhunter.
    rkhunter 1.3.4 is deprecated, that's why I want to upgrade it. But I can't see updates for watchdog neither in Plesk nor in Power Panel.

    Code:
    root@vServer:~# /opt/psa/admin/sbin/modules/watchdog/rkhunter --configfile /opt/psa/etc/modules/watchdog/rkhunter.conf --update
    [ Rootkit Hunter version 1.3.4 ]
    
    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)

    Code:
    user@vServer:~# cat /var/log/rkhunter.log
    [22:37:48] Running Rootkit Hunter version 1.3.4 on vServer
    [22:37:48]
    [22:37:48] Info: Start date is Tue Oct 28 22:37:48 CET 2014
    [22:37:48]
    [22:37:48] Checking configuration file and command-line options...
    [22:37:48] Info: Detected operating system is 'Linux'
    [22:37:48] Info: Found O/S name: Debian 7.7
    [22:37:48] Info: Command line is /opt/psa/admin/sbin/modules/watchdog/rkhunter --configfile /opt/psa/etc/modules/watchdog/rkhunter.conf --update
    [22:37:48] Info: Environment shell is /bin/bash; rkhunter is using dash
    [22:37:48] Info: Using configuration file '/opt/psa/etc/modules/watchdog/rkhunter.conf'
    [22:37:48] Info: Installation directory is '/opt/psa'
    [22:37:48] Info: Using language 'en'
    [22:37:48] Info: Using '/opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/db' as the database directory
    [22:37:48] Info: Using '/opt/psa/var/modules/watchdog/lib/rkhunter/rkhunter/scripts' as the support script directory
    [22:37:48] Info: Using '/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin /usr/libexec /usr/local/libexec' as the command directories
    [22:37:48] Info: Using '/' as the root directory by default
    [22:37:48] Info: Using '/opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp' as the temporary directory
    [22:37:48] Info: X will be automatically detected
    [22:37:48] Info: Found the 'diff' command: /usr/bin/diff
    [22:37:48] Info: Found the 'file' command: /usr/bin/file
    [22:37:48] Info: Found the 'find' command: /usr/bin/find
    [22:37:48] Info: Found the 'ifconfig' command: /sbin/ifconfig
    [22:37:48] Info: Found the 'ip' command: /sbin/ip
    [22:37:48] Info: Found the 'ldd' command: /usr/bin/ldd
    [22:37:48] Info: Found the 'lsattr' command: /usr/bin/lsattr
    [22:37:48] Info: Found the 'lsmod' command: /sbin/lsmod
    [22:37:48] Info: Found the 'lsof' command: /usr/bin/lsof
    [22:37:48] Info: Found the 'mktemp' command: /bin/mktemp
    [22:37:48] Info: Found the 'netstat' command: /bin/netstat
    [22:37:48] Info: Found the 'perl' command: /usr/bin/perl
    [22:37:48] Info: Found the 'ps' command: /bin/ps
    [22:37:48] Info: Found the 'pwd' command: /bin/pwd
    [22:37:48] Info: Found the 'readlink' command: /bin/readlink
    [22:37:48] Info: Found the 'sort' command: /usr/bin/sort
    [22:37:48] Info: Found the 'stat' command: /usr/bin/stat
    [22:37:48] Info: Found the 'strings' command: /usr/bin/strings
    [22:37:48] Info: Found the 'uniq' command: /usr/bin/uniq
    [22:37:48] Info: Found the 'wget' command: /usr/bin/wget
    [22:37:48] Info: The mirrors file will be rotated
    [22:37:48] Info: Both local and remote mirrors will be used
    [22:37:48] Info: The mirrors file will be updated
    [22:37:48]
    [22:37:48] Checking rkhunter data files...
    [22:37:48] Info: Created temporary file '/opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9'
    [22:37:48] Info: Created temporary file '/opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/mirrors.dat.03zaiYGVOC'
    [22:37:52] Info: Mirrors file '/opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/db/mirrors.dat' has been rotated.
    [22:37:52] Info: Executing download command '/usr/bin/wget -q -O /opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9 http://rkhunter.sourceforge.net/1.3/mirrors.dat'
    [22:37:53] Info: This version  : 2007060601
    [22:37:53] Info: Latest version: 2007060601
    [22:37:53] Checking file mirrors.dat                         [ No update ]
    [22:37:53] Info: Executing download command '/usr/bin/wget -q -O /opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9 http://rkhunter.sourceforge.net/1.3/programs_bad.dat'
    [22:37:53] Info: This version  : 2010111601
    [22:37:53] Info: Latest version: 2010111601
    [22:37:53] Checking file programs_bad.dat                    [ No update ]
    [22:37:53] Info: Executing download command '/usr/bin/wget -q -O /opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9 http://rkhunter.sourceforge.net/1.3/backdoorports.dat'
    [22:37:53] Info: This version  : 2010111401
    [22:37:53] Info: Latest version: 2010111401
    [22:37:53] Checking file backdoorports.dat                   [ No update ]
    [22:37:53] Info: Executing download command '/usr/bin/wget -q -O /opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9 http://rkhunter.sourceforge.net/1.3/suspscan.dat'
    [22:37:54] Info: This version  : 2009112901
    [22:37:54] Info: Latest version: 2009112901
    [22:37:54] Checking file suspscan.dat                        [ No update ]
    [22:37:54] Info: Executing download command '/usr/bin/wget -q -O /opt/psa/var/modules/watchdog/lib/rkhunter/lib/rkhunter/tmp/rkhunter.upd.50w4LRJEi9 http://rkhunter.sourceforge.net/1.3/i18n/1.3.4/i18n.ver'
    [22:37:54] Checking file i18n versions                       [ Update failed ]
    [22:37:54] Warning: Download of 'i18n.ver' failed: Unable to determine the latest version number.
    [22:37:54]
    [22:37:54] Info: End date is Tue Oct 28 22:37:54 CET 2014
    
     
  4. Richieboydev

    Richieboydev Kilo Poster

    Messages:
    51
    What happened?

    I am also trying to update Rootkit Hunter version 1.3.4.
    /usr/local/bin/rkhunter --update is not finding file.
     
  5. UFHH01

    UFHH01 Product Expert

    Messages:
    2,283
  6. Richieboydev

    Richieboydev Kilo Poster

    Messages:
    51
    Thanks but it is not so much about blame but more about a solution. :)
     
  7. UFHH01

    UFHH01 Product Expert

    Messages:
    2,283
    well, Richieboydev... you already got a very detailled solution ( Parallels Forum - Link => rkhunter config problem <= ) to upgrade rkhunter to version 1.4.2, but you don't seem to like it. ^^
     

Share This Page