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 16/04/2014, à 15:27

Pacifick_FR42

[Résolu / contourné -> cmake...] Installation OpenVAS

Bonjour à tous ! smile
j'essaye (vainement) d'installer OpenVAS avec l'interface Web (en localhost)
Est-ce que quelqu'un à déjà reussi son installation (j'arrive même pas à voire quel version j'utilise vraiment, entre le sanner, admlinistrator, manager, etc... mais à priori, je suis sur la 3.4.0
Vraiment, je galère... (3 jours)
j'ai suivi ce tuto : Installer OpenVAS ubuntu 12.04

Je suis sous Ubuntu 12.04

Au final j'ai sur l'interface web : Login failed. OMP service is down

root@paul-desktop:~# openvas-check-setup
openvas-check-setup 2.2.3
  Test completeness and readiness of OpenVAS-6
  (add '--v4', '--v5' or '--v7'
   if you want to check for another OpenVAS version)

  Please report us any non-detected problems and
  help us to improve this check routine:
  http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

  Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the problem.

  Use the parameter --server to skip checks for client tools
  like GSD and OpenVAS-CLI.

Step 1: Checking OpenVAS Scanner ... 
        OK: OpenVAS Scanner is present in version 3.4.0.
        OK: OpenVAS Scanner CA Certificate is present as /var/lib/openvas/CA/cacert.pem.
        OK: NVT collection in /var/lib/openvas/plugins contains 34669 NVTs.
        WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
        SUGGEST: Enable signature checking (see http://www.openvas.org/trusted-nvts.html).
        OK: The NVT cache in /var/cache/openvas contains 34670 files for 34669 NVTs.
Step 2: Checking OpenVAS Manager ... 
        OK: OpenVAS Manager is present in version 4.0.2.
        OK: OpenVAS Manager client certificate is present as /var/lib/openvas/CA/clientcert.pem.
        OK: OpenVAS Manager database found in /var/lib/openvas/mgr/tasks.db.
        OK: Access rights for the OpenVAS Manager database are correct.
        OK: sqlite3 found, extended checks of the OpenVAS Manager installation enabled.
        OK: OpenVAS Manager database is at revision 74.
        OK: OpenVAS Manager expects database at revision 74.
        OK: Database schema is up to date.
        OK: OpenVAS Manager database contains information about 34670 NVTs.
        OK: OpenVAS SCAP database found in /var/lib/openvas/scap-data/scap.db.
        OK: OpenVAS CERT database found in /var/lib/openvas/cert-data/cert.db.
        OK: xsltproc found.
Step 3: Checking OpenVAS Administrator ... 
        OK: OpenVAS Administrator is present in version 1.3.0.
        OK: At least one user exists.
        OK: At least one admin user exists.
        WARNING: Your password policy is empty.
        SUGGEST: Edit the /etc/openvas/pwpolicy.conf file to set a password policy.
Step 4: Checking Greenbone Security Assistant (GSA) ... 
        OK: Greenbone Security Assistant is present in version 4.0.1.
Step 5: Checking OpenVAS CLI ... 
        ERROR: No OpenVAS CLI (omp) found.
        FIX: Please install OpenVAS CLI.

 ERROR: Your OpenVAS-6 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.

If you think this result is wrong, please report your observation
and help us to improve this check routine:
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
Please attach the log-file (/tmp/openvas-check-setup.log) to help us analyze the problem.

root@paul-desktop:~# cat /tmp/openvas-check-setup.log
openvas-check-setup 2.2.3
  Mode:  desktop
  Date:  Wed, 16 Apr 2014 15:30:39 +0200

Checking for old OpenVAS Scanner <= 2.0 ...
/usr/bin/openvas-check-setup: 171: /usr/bin/openvas-check-setup: openvasd: not found

Checking presence of OpenVAS Scanner ...
OpenVAS Scanner 3.4.0
Nessus origin: (C) 2004 Renaud Deraison <deraison@nessus.org>
Most new code since OpenVAS: (C) 2013 Greenbone Networks GmbH
License GPLv2: GNU GPL version 2
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Checking OpenVAS Scanner version ...

        OK: OpenVAS Scanner is present in version 3.4.0.
plugins_folder = /var/lib/openvas/plugins
cache_folder = /var/cache/openvas
include_folders = /var/lib/openvas/plugins
max_hosts = 30
max_checks = 10
be_nice = no
logfile = /var/log/openvas/openvassd.messages
log_whole_attack = no
log_plugins_name_at_load = no
dumpfile = /var/log/openvas/openvassd.dump
rules = /usr/share/openvas/openvassd.rules
cgi_path = /cgi-bin:/scripts
port_range = default
optimize_test = yes
checks_read_timeout = 5
network_scan = no
non_simult_ports = 139, 445
plugins_timeout = 320
safe_checks = yes
auto_enable_dependencies = yes
silent_dependencies = no
use_mac_addr = no
save_knowledge_base = no
kb_restore = no
only_test_hosts_whose_kb_we_dont_have = no
only_test_hosts_whose_kb_we_have = no
kb_dont_replay_scanners = no
kb_dont_replay_info_gathering = no
kb_dont_replay_attacks = no
kb_dont_replay_denials = no
kb_max_age = 864000
slice_network_addresses = no
nasl_no_signature_check = yes
drop_privileges = no
unscanned_closed = yes
vhosts = 
vhosts_ip = 
report_host_details = yes
cert_file = /var/lib/openvas/CA/servercert.pem
key_file = /var/lib/openvas/private/CA/serverkey.pem
ca_file = /var/lib/openvas/CA/cacert.pem
reverse_lookup = no
config_file = /etc/openvas/openvassd.conf
Checking OpenVAS Scanner CA cert ...

        OK: OpenVAS Scanner CA Certificate is present as /var/lib/openvas/CA/cacert.pem.
Checking NVT collection ...

        OK: NVT collection in /var/lib/openvas/plugins contains 34669 NVTs.
Checking status of signature checking in OpenVAS Scanner ...
        WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
        SUGGEST: Enable signature checking (see http://www.openvas.org/trusted-nvts.html).

        OK: The NVT cache in /var/cache/openvas contains 34670 files for 34669 NVTs.

Checking presence of OpenVAS Manager ...
OpenVAS Manager 4.0.2
Manager DB revision 74
Copyright (C) 2010-2013 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

        OK: OpenVAS Manager is present in version 4.0.2.
Checking OpenVAS Manager client certificate ...

        OK: OpenVAS Manager client certificate is present as /var/lib/openvas/CA/clientcert.pem.
Checking OpenVAS Manager database ...

        OK: OpenVAS Manager database found in /var/lib/openvas/mgr/tasks.db.
Checking access rights of OpenVAS Manager database ...

        OK: Access rights for the OpenVAS Manager database are correct.
Checking sqlite3 presence ...
        OK: sqlite3 found, extended checks of the OpenVAS Manager installation enabled.

Checking OpenVAS Manager database revision ...
        OK: OpenVAS Manager database is at revision 74.
Checking database revision expected by OpenVAS Manager ...
        OK: OpenVAS Manager expects database at revision 74.
        OK: Database schema is up to date.
Checking OpenVAS Manager database (NVT data) ...
        OK: OpenVAS Manager database contains information about 34670 NVTs.
Checking OpenVAS SCAP database ...

        OK: OpenVAS SCAP database found in /var/lib/openvas/scap-data/scap.db.
Checking OpenVAS CERT database ...

        OK: OpenVAS CERT database found in /var/lib/openvas/cert-data/cert.db.
Checking xsltproc presence ...
        OK: xsltproc found.

Checking presence of OpenVAS Administrator ...
OpenVAS Administrator 1.3.0
Copyright (C) 2013 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

        OK: OpenVAS Administrator is present in version 1.3.0.
Checking if users exist ...
        OK: At least one user exists.

Checking if at least one admin user exists ...
        OK: At least one admin user exists.

Checking status of password policy ...
        WARNING: Your password policy is empty.
        SUGGEST: Edit the /etc/openvas/pwpolicy.conf file to set a password policy.

Checking presence of Greenbone Security Assistant ...
Greenbone Security Assistant 4.0.1
Copyright (C) 2010-2013 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



        OK: Greenbone Security Assistant is present in version 4.0.1.
Checking presence of OpenVAS CLI ...
omp: error while loading shared libraries: libopenvas_misc.so.7: cannot open shared object file: No such file or directory
        ERROR: No OpenVAS CLI (omp) found.
        FIX: Please install OpenVAS CLI.

et dans le .log :

/tmp/openvas-check-setup.log a écrit :

Checking presence of Greenbone Security Assistant ...
Greenbone Security Assistant 4.0.1
Copyright (C) 2010-2013 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



        OK: Greenbone Security Assistant is present in version 4.0.1.
Checking presence of OpenVAS CLI ...
omp: error while loading shared libraries: libopenvas_misc.so.7: cannot open shared object file: No such file or directory
        ERROR: No OpenVAS CLI (omp) found.
        FIX: Please install OpenVAS CLI.

Merci d'avance pour vos conseilles !

Dernière modification par Pacifick_FR42 (Le 04/05/2014, à 22:43)

Hors ligne

#2 Le 01/05/2014, à 12:29

89paladins

Re : [Résolu / contourné -> cmake...] Installation OpenVAS

Bonjour,

T'es sûr d'avoir installé openvas-cli ? Parce que ce n'est pas ce que disent tes logs.


Qui que nous soyons au fond de nous, nous ne sommes jugés que d’après nos actes. Rachel Dawes.

Hors ligne

#3 Le 04/05/2014, à 01:02

Pacifick_FR42

Re : [Résolu / contourné -> cmake...] Installation OpenVAS

Merci de ta réponse, mas oui, c'est installé.

Paquet : openvas-cli                          
Nouveau: oui
État: installé
Automatiquement installé: non
Version : 1.2.0+1.3.0+beta21.3+beta2+svn18825-0ubuntu1~precise
Priorité : supplémentaire
Section : net
Responsable : Nightly Package Builder <npb@dinotools.org>
Architecture : amd64
Taille décompressée : 78,8 k
Dépend: libc6 (>= 2.4), libglib2.0-0 (>= 2.14.0), libgnutls26 (>= 2.12.6.1-0), libopenvas6 (>= 6.0+7.0+beta4+7.0+beta5+svn18810)
Description : Command Line Tools for OpenVAS
 OpenVAS-CLI collects command line tools to handle with the OpenVAS services via the respective protocols.
Site : http://www.openvas.org/

Hors ligne

#4 Le 04/05/2014, à 09:08

89paladins

Re : [Résolu / contourné -> cmake...] Installation OpenVAS

Durant tes nombreuses tentatives, as-tu essayé dans un premier temps avec la documentation pour OpenVAS, puis dans un second temps le tutoriel que tu cites ?


Qui que nous soyons au fond de nous, nous ne sommes jugés que d’après nos actes. Rachel Dawes.

Hors ligne

#5 Le 04/05/2014, à 22:42

Pacifick_FR42

Re : [Résolu / contourné -> cmake...] Installation OpenVAS

Oui, j'ai "écumé" un peu prés tous... ET... je suis tombé là-dessus : Lien et... ça marche ! (très bien même)
Sauf que... je souhaiterais maintenant l'installer sur mon serveur OVH sous 12.04, et là.... je vais attendre juillet, pour faire ma MAN sur 14.04, car... impossible...

Merci à tous ! smile (particulièrement 89paladins)

Dernière modification par Pacifick_FR42 (Le 04/05/2014, à 22:43)

Hors ligne