Results 1 to 3 of 3

Thread: OpenVas Installation Failed - Kali Menu terminal option 5

  1. #1
    Join Date
    2014-May
    Posts
    21

    OpenVas Installation Failed - Kali Menu terminal option 5

    Hi I re-installed stock 4.4.4 and flashed the new nethunter 1.1 on it.
    I installed OpenVas using nethunter kali menu terminal on option 5 Vulnerability Scan.
    But it failed to install.

    Below is the echoed messages:

    Openvas is not currently installed. The installation can take a few hours.
    Would you like to install OpenVas (1GB+ space needed)? (y/n): y
    Get:1 http://security.kali.org kali/updates Release.gpg [836 B]
    Hit http://http.kali.org kali Release.gpg
    Get:2 http://security.kali.org kali/updates Release [11.0 kB]
    Hit http://http.kali.org kali Release
    Get:3 http://security.kali.org kali/updates/main armhf Packages [262 kB]
    Hit http://security.kali.org kali/updates/contrib armhf Packages
    Hit http://http.kali.org kali/main armhf Packages
    Hit http://security.kali.org kali/updates/non-free armhf Packages
    Hit http://http.kali.org kali/contrib armhf Packages
    Hit http://http.kali.org kali/non-free armhf Packages
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en
    Ign http://http.kali.org kali/non-free Translation-en
    Fetched 274 kB in 9s (30.3 kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    ed greenbone-security-assistant latex-beamer latex-xcolor libgpgme11 libgraphite3 libkpathsea6
    libksba8 libmicrohttpd10 libopenvas7 libptexenc1 libpth20 libssh-4 libxss1 lmodern luatex
    openvas-cli openvas-manager openvas-scanner pgf preview-latex-style prosper ps2eps tcl8.5
    tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-extra-utils
    texlive-font-utils texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
    texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
    texlive-latex-recommended-doc texlive-luatex texlive-pictures texlive-pictures-doc
    texlive-pstricks texlive-pstricks-doc tk8.5 xsltproc
    Suggested packages:
    gpgsm gnupg2 openvas-client snmp pnscan strobe ike-scan pdf-viewer tcl-tclreadline debhelper
    perl-tk purifyeps chktex latexmk dvipng xindy dvidvi fragmaster lacheck latexdiff t1utils
    libfile-which-perl dot2tex
    Recommended packages:
    wish
    The following NEW packages will be installed:
    ed greenbone-security-assistant latex-beamer latex-xcolor libgpgme11 libgraphite3 libkpathsea6
    libksba8 libmicrohttpd10 libopenvas7 libptexenc1 libpth20 libssh-4 libxss1 lmodern luatex
    openvas openvas-cli openvas-manager openvas-scanner pgf preview-latex-style prosper ps2eps
    tcl8.5 tex-common texlive-base texlive-binaries texlive-common texlive-doc-base
    texlive-extra-utils texlive-font-utils texlive-generic-recommended texlive-latex-base
    texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
    texlive-latex-recommended-doc texlive-luatex texlive-pictures texlive-pictures-doc
    texlive-pstricks texlive-pstricks-doc tk8.5 xsltproc
    0 upgraded, 46 newly installed, 0 to remove and 4 not upgraded.
    Need to get 0 B/601 MB of archives.
    After this operation, 904 MB of additional disk space will be used.
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: warning: 'ldconfig' not found in PATH or not executable
    dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
    dpkg: error: 2 expected programs not found in PATH or not executable
    Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    /usr/bin/kalimenu: line 395: openvas-setup: command not found
    /usr/bin/kalimenu: line 396: openvasmd: command not found
    Enter OpenVas admin user password:

    I entered the password and when I started the openvas it said that the openvas is not installed and requested me to install again.

  2. #2
    Join Date
    2015-Jan
    Posts
    1
    Quote Originally Posted by Jamborloi View Post
    Hi I re-installed stock 4.4.4 and flashed the new nethunter 1.1 on it.
    I installed OpenVas using nethunter kali menu terminal on option 5 Vulnerability Scan.
    But it failed to install.

    Below is the echoed messages:

    Openvas is not currently installed. The installation can take a few hours.
    Would you like to install OpenVas (1GB+ space needed)? (y/n): y
    Get:1 http://security.kali.org kali/updates Release.gpg [836 B]
    Hit http://http.kali.org kali Release.gpg
    Get:2 http://security.kali.org kali/updates Release [11.0 kB]
    Hit http://http.kali.org kali Release
    Get:3 http://security.kali.org kali/updates/main armhf Packages [262 kB]
    Hit http://security.kali.org kali/updates/contrib armhf Packages
    Hit http://http.kali.org kali/main armhf Packages
    Hit http://security.kali.org kali/updates/non-free armhf Packages
    Hit http://http.kali.org kali/contrib armhf Packages
    Hit http://http.kali.org kali/non-free armhf Packages
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en
    Ign http://http.kali.org kali/non-free Translation-en
    Fetched 274 kB in 9s (30.3 kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    ed greenbone-security-assistant latex-beamer latex-xcolor libgpgme11 libgraphite3 libkpathsea6
    libksba8 libmicrohttpd10 libopenvas7 libptexenc1 libpth20 libssh-4 libxss1 lmodern luatex
    openvas-cli openvas-manager openvas-scanner pgf preview-latex-style prosper ps2eps tcl8.5
    tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-extra-utils
    texlive-font-utils texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
    texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
    texlive-latex-recommended-doc texlive-luatex texlive-pictures texlive-pictures-doc
    texlive-pstricks texlive-pstricks-doc tk8.5 xsltproc
    Suggested packages:
    gpgsm gnupg2 openvas-client snmp pnscan strobe ike-scan pdf-viewer tcl-tclreadline debhelper
    perl-tk purifyeps chktex latexmk dvipng xindy dvidvi fragmaster lacheck latexdiff t1utils
    libfile-which-perl dot2tex
    Recommended packages:
    wish
    The following NEW packages will be installed:
    ed greenbone-security-assistant latex-beamer latex-xcolor libgpgme11 libgraphite3 libkpathsea6
    libksba8 libmicrohttpd10 libopenvas7 libptexenc1 libpth20 libssh-4 libxss1 lmodern luatex
    openvas openvas-cli openvas-manager openvas-scanner pgf preview-latex-style prosper ps2eps
    tcl8.5 tex-common texlive-base texlive-binaries texlive-common texlive-doc-base
    texlive-extra-utils texlive-font-utils texlive-generic-recommended texlive-latex-base
    texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
    texlive-latex-recommended-doc texlive-luatex texlive-pictures texlive-pictures-doc
    texlive-pstricks texlive-pstricks-doc tk8.5 xsltproc
    0 upgraded, 46 newly installed, 0 to remove and 4 not upgraded.
    Need to get 0 B/601 MB of archives.
    After this operation, 904 MB of additional disk space will be used.
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: warning: 'ldconfig' not found in PATH or not executable
    dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
    dpkg: error: 2 expected programs not found in PATH or not executable
    Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    /usr/bin/kalimenu: line 395: openvas-setup: command not found
    /usr/bin/kalimenu: line 396: openvasmd: command not found
    Enter OpenVas admin user password:

    I entered the password and when I started the openvas it said that the openvas is not installed and requested me to install again.
    Same problem for me...any news?
    I use nethunter from oneplus one 64 gb

  3. #3
    Join Date
    2014-May
    Posts
    21
    Quote Originally Posted by jacthebest View Post
    Same problem for me...any news?
    I use nethunter from oneplus one 64 gb
    Hey Bro, I install it manually by the below commands.
    It will take time and a bit patience is necessary.
    But the problem is you cannot start and stop it on the kali menu launcher...
    Even Wifite, and other is not able to start with kali menu...I checked the script on nethunter but it seems alright.....

    apt-get update && apt-get install -y openvas
    openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
    sudo -s
    test -e /var/lib/openvas/CA/cacert.pem || openvas-mkcert -q
    openvas-nvt-sync
    test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i
    service openvas-manager stop
    service openvas-scanner stop
    openvassd
    openvasmd --migrate
    openvasmd --rebuild
    openvas-scapdata-sync
    openvas-certdata-sync
    test -e /var/lib/openvas/users/admin
    killall openvassd
    sleep 15
    service openvas-scanner start
    service openvas-manager start
    service openvas-administrator restart
    service greenbone-security-assistant restart
    openvasmd --create-user=admin --role=Admin

    Then the last echo message it will give you user generated password....

    go to your web browser https://127.0.0.1:9392

    user: admin
    password: "copy and paste the pre-generated user password"

    once in change the password in the settings.

Similar Threads

  1. Kali menu in terminal
    By OrangeJuice484 in forum NetHunter General Questions
    Replies: 1
    Last Post: 2015-09-16, 14:24
  2. Non PAE custom build install boot menu option don't work
    By erasmo52 in forum Building Archive
    Replies: 5
    Last Post: 2015-09-03, 20:23
  3. Kali Menu in Terminal
    By DrDinosaur in forum General Archive
    Replies: 0
    Last Post: 2015-08-23, 02:26
  4. Kali LIVE USB: Default to "persistence" menu option?
    By nigelmercier in forum General Archive
    Replies: 1
    Last Post: 2015-01-09, 10:48
  5. Expand Kali Menu in Terminal
    By BeNe in forum NetHunter Suggestions
    Replies: 1
    Last Post: 2014-10-25, 15:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •