Hi, I have upgraded my OpenVAS installation from 7.0 to 8.0 using YUM installer and now i am having the following problem. After resolving the Redis server issue, when i run the check script i am getting the error no user is found although i have tried creating several users. The output from script and the log file is posted below. I appreciate any feedback.
openvas-check-setup 2.3.0 Test completeness and readiness of OpenVAS-8 (add '--v6' or '--v7' or '--9' 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 5.0.1. OK: OpenVAS Scanner CA Certificate is present as /var/lib/openvas/CA/cacert.pem. OK: NVT collection in /var/lib/openvas/plugins contains 39035 NVTs. OK: Signature checking of NVTs is enabled in OpenVAS Scanner. OK: The NVT cache in /var/cache/openvas contains 39035 files for 39035 NVTs. OK: redis-server is present in version v=2.8.20. OK: scanner (kb_location setting) is configured properly using the redis-server socket: /tmp/redis.sock OK: redis-server is running and listening on socket: /tmp/redis.sock. OK: redis-server configuration is OK and redis-server is running. Step 2: Checking OpenVAS Manager ... OK: OpenVAS Manager is present in version 6.0.1. 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. ERROR: No users found. You need to create at least one user to log in. It is recommended to have at least one user with role Admin. FIX: create a user by running 'openvasmd --create-user=<name> --role=Admin && openvasmd --user=<name> --new-password=<password>' ERROR: Your OpenVAS-8 installation is not yet complete! /usr/bin/openvas-check-setup-new: line 163: openvasd: command not found Checking presence of OpenVAS Scanner ... OpenVAS Scanner 5.0.1 Most new code since 2005: (C) 2015 Greenbone Networks GmbH Nessus origin: (C) 2004 Renaud Deraison <[email protected]> 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 5.0.1. 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.log log_whole_attack = no log_plugins_name_at_load = no dumpfile = /var/log/openvas/openvassd.dump cgi_path = /cgi-bin:/scripts 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 use_mac_addr = no nasl_no_signature_check = no drop_privileges = no unscanned_closed = yes unscanned_closed_udp = 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 kb_location = /tmp/redis.sock rules = /etc/openvas/openvassd.rules port_range = default silent_dependencies = 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 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 39035 NVTs. Checking status of signature checking in OpenVAS Scanner ... OK: Signature checking of NVTs is enabled in OpenVAS Scanner. OK: The NVT cache in /var/cache/openvas contains 39035 files for 39035 NVTs. Checking presence of redis ... OK: redis-server is present in version v=2.8.20. Checking if redis-server is configured properly to run with openVAS ... OK: scanner (kb_location setting) is configured properly using the redis-server socket: /tmp/redis.sock Checking if redis-server is running ... OK: redis-server is running and listening on socket: /tmp/redis.sock. OK: redis-server configuration is OK and redis-server is running. Checking presence of OpenVAS Manager ... OpenVAS Manager 6.0.1 Manager DB revision 146 Copyright (C) 2010-2015 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 6.0.1. 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 if users exist ... ERROR: No users found. You need to create at least one user to log in. It is recommended to have at least one user with role Admin. FIX: create a user by running 'openvasmd --create-user=<name> --role=Admin && openvasmd --user=<name> --new-password=<password>'
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
