Hi, I tried to setup the OpenVas tool on BackTrack5R1 VM but it seems that there is something wrong with database tasks.db file. The openvas-check-setup log displayed the following details:
openvas-check-setup 2.1.5 Checking for old OpenVAS Scanner <= 2.0 ... ./openvas-check-setup: line 124: openvasd: command not found Checking presence of OpenVAS Scanner ... OpenVAS Scanner 3.2.3 Nessus origin: (C) 2004 Renaud Deraison <derai...@nessus.org> Most new code since OpenVAS: (C) 2011 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.2.3. plugins_folder = /usr/local/var/lib/openvas/plugins cache_folder = /usr/local/var/cache/openvas include_folders = /usr/local/var/lib/openvas/plugins max_hosts = 30 max_checks = 10 be_nice = no logfile = /usr/local/var/log/openvas/openvassd.messages log_whole_attack = no log_plugins_name_at_load = no dumpfile = /usr/local/var/log/openvas/openvassd.dump rules = /usr/local/share/openvas/openvassd.rules cgi_path = /cgi-bin:/scripts port_range = default optimize_test = yes checks_read_timeout = 5 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 = cert_file = /usr/local/var/lib/openvas/CA/servercert.pem key_file = /usr/local/var/lib/openvas/private/CA/serverkey.pem ca_file = /usr/local/var/lib/openvas/CA/cacert.pem config_file = /usr/local/etc/openvas/openvassd.conf Checking OpenVAS Scanner CA cert ... OK: OpenVAS Scanner CA Certificate is present as /usr/local/var/lib/openvas/CA/cacert.pem. Checking NVT collection ... OK: NVT collection in /usr/local/var/lib/openvas/plugins contains 24296 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). Checking presence of OpenVAS Manager ... OpenVAS Manager 2.0.4 Manager DB revision 41 Copyright (C) 2010 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 2.0.4. Checking OpenVAS Manager client certificate ... OK: OpenVAS Manager client certificate is present as /usr/local/var/lib/openvas/CA/clientcert.pem. Checking OpenVAS Manager database ... OK: OpenVAS Manager database found in /usr/local/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 41. Checking database revision expected by OpenVAS Manager ... OK: OpenVAS Manager expects database at revision 41. OK: Database schema is up to date. Checking OpenVAS Manager database (NVT data) ... ERROR: The number of NVTs in the OpenVAS Manager database is too low. FIX: Make sure OpenVAS Scanner is running with an up-to-date NVT collection and run 'openvasmd --rebuild'. The openvas manager database log (openvasmd.log) showed some erraneous log md main:WARNING:2012-02-16 17h28.18 utc:2793: sql_x: sqlite3_prepare failed: no such table: meta md main:WARNING:2012-02-16 17h28.19 utc:2793: read_from_server: failed to read from server: A TLS packet with unexpected length was received. md main:WARNING:2012-02-16 17h29.26 utc:2861: read_from_server: failed to read from server: A TLS packet with unexpected length was received. md main:WARNING:2012-02-16 17h31.01 utc:2931: read_from_server: failed to read from server: A TLS packet with unexpected length was received. md main:WARNING:2012-02-16 17h55.58 utc:3205: sql_x: sqlite3_prepare failed: no such table: meta md main:CRITICAL:2012-02-16 17h55.58 utc:3205: main: database must be initialised (with --update or --rebuild) md main:WARNING:2012-02-16 17h56.23 utc:3210: sql_x: sqlite3_prepare failed: no such table: meta md main:WARNING:2012-02-16 17h56.24 utc:3210: read_from_server: failed to read from server: A TLS packet with unexpected length was received. md main:WARNING:2012-02-16 17h57.13 utc:3284: sql_x: sqlite3_prepare failed: no such table: meta md main:CRITICAL:2012-02-16 17h57.13 utc:3284: main: database must be initialised (with --update or --rebuild) md main:WARNING:2012-02-16 17h58.04 utc:3291: sql_x: sqlite3_prepare failed: no such table: meta md main:CRITICAL:2012-02-16 17h58.28 utc:3306: main: database must be initialised (with --update or --rebuild) md main:WARNING:2012-02-16 18h00.02 utc:3319: read_from_server: failed to read from server: A TLS packet with unexpected length was received. However, back-up the database and rebuild it didn't help to fix the issue. Openvassd.messages file displays "Bad login attempt from 127.0.0.1" Is anyone knows how to fix the issue and give some pointers? Regards, Pawan This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the content to any other person or entity. If you have received this email in error, please notify to in-care@in.schneider- electric.com
_______________________________________________ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss