I think i had the same Problem but i am not sure how i solved it…
okay, i just restored an old VM backup with the same Problem. First download
the newest openvas-check-setup script, that solves the "issue“. that
https://wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
<https://wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup>
if you look inside the script:
case "$OPENVASMD_HOST" in
"0.0.0.0"|"::") log_and_print "OK: OpenVAS Manager is running and listening
on all interfaces." ;;
"127.0.0.1") log_and_print "WARNING: OpenVAS Manager is running and
listening only on the local interface."
log_and_print "This means that you will not be able to access
the OpenVAS Manager from the"
log_and_print "outside using GSD or OpenVAS CLI."
log_and_print "SUGGEST: Ensure that OpenVAS Manager listens on
all interfaces unless you want"
log_and_print "a local service only." ;;
"") log_and_print "ERROR: OpenVAS Manager is NOT running!"
log_and_print "FIX: Start OpenVAS Manager (openvasmd)."
OPENVASMD_PORT=-1 ;;
you may have to look a little bit further up, but the script checks on which
address your manager is listening. So you can specify on which address your
manger should listen, if you add the option "-a“ and the address in
/etc/sysconfig/openvas-manager unter options. openvasmd --help for more Infos.
then restart the scanner and wait until all NVTs are loaded!
[root@localhost ~]# systemctl restart openvas-scanner
...wait...
[root@localhost ~]# systemctl restart openvas-manager
[root@localhost ~]# systemctl restart gsad
> Am 16.12.2015 um 06:20 schrieb Muhammad Mudassar Saleem
> <[email protected]>:
>
> Hi Rene,
>
> yes i used atomicorp repo.
>
> below are the required information.
>
> [root@localhost ~]# rpm -qa | grep openvas
> openvas-manager-6.0.6-33.el7.art.x86_64
> openvas-libraries-8.0.5-21.el7.art.x86_64
> openvas-scanner-5.0.4-22.el7.art.x86_64
> openvas-1.0-20.el7.art.noarch
> openvas-smb-1.0.1-0.2.el7.art.x86_64
> openvas-cli-1.4.2-8.el7.art.x86_64
>
> [root@localhost ~]# openvas-check-setup oder openvas-check-setup --v8
> 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
> <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.4.
> OK: OpenVAS Scanner CA Certificate is present as
> /var/lib/openvas/CA/cacert.pem.
> OK: NVT collection in /var/lib/openvas/plugins contains 44735 NVTs.
> WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
> SUGGEST: Enable signature checking (see
> http://www.openvas.org/trusted-nvts.html
> <http://www.openvas.org/trusted-nvts.html>).
> OK: The NVT cache in /var/cache/openvas contains 44735 files for
> 44735 NVTs.
> OK: redis-server is present in version v=2.8.21.
> 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.6.
> 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: At least one user exists.
> OK: sqlite3 found, extended checks of the OpenVAS Manager
> installation enabled.
> OK: OpenVAS Manager database is at revision 146.
> OK: OpenVAS Manager expects database at revision 146.
> OK: Database schema is up to date.
> OK: OpenVAS Manager database contains information about 44735 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 user configuration ...
> 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 6.0.6.
> Step 5: Checking OpenVAS CLI ...
> OK: OpenVAS CLI version 1.4.2.
> Step 6: Checking Greenbone Security Desktop (GSD) ...
> SKIP: Skipping check for Greenbone Security Desktop.
> Step 7: Checking if OpenVAS services are up and running ...
> OK: netstat found, extended checks of the OpenVAS services enabled.
> OK: OpenVAS Scanner is running and listening on all interfaces.
> OK: OpenVAS Scanner is listening on port 9391, which is the default
> port.
> ERROR: OpenVAS Manager is NOT running!
> FIX: Start OpenVAS Manager (openvasmd).
> OK: Greenbone Security Assistant is running and listening on all
> interfaces.
> OK: Greenbone Security Assistant is listening on port 9392, which is
> the default port.
>
> ERROR: Your OpenVAS-8 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
> <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@localhost ~]# systemctl status openvas-manager.service
> openvas-manager.service - OpenVAS Manager
> Loaded: loaded (/usr/lib/systemd/system/openvas-manager.service; enabled)
> Active: active (running) since Wed 2015-12-16 15:16:15 PKT; 20s ago
> Process: 3944 ExecStart=/usr/sbin/openvasmd $OPTIONS (code=exited,
> status=0/SUCCESS)
> Main PID: 3945 (openvasmd)
> CGroup: /system.slice/openvas-manager.service
> └─3945 openvasmd
>
> Dec 16 15:16:15 localhost.localdomain systemd[1]: Started OpenVAS Manager.
> [root@localhost ~]#
>
>
>
> Subject: Re: [Openvas-discuss] /usr/bin/openvas-check-setup --v7 error
> From: [email protected]
> Date: Tue, 15 Dec 2015 13:09:48 +0100
> CC: [email protected]
> To: [email protected]
>
> You have installed OpenVAS 8. (atomicorp repo?)
> try openvas-check-setup oder openvas-check-setup --v8.
>
> Rene
>
> Am 15.12.2015 um 12:54 schrieb Muhammad Mudassar Saleem
> <[email protected] <mailto:[email protected]>>:
>
> Hi,
>
> i have installed OpenVAS on my CentOS Linux release 7.1.1503.
>
> when i try to perform scanning on one of my test target it shows nothing in
> Scan Results.
>
> below is the output openvas-check-setup
>
> [root@localhost ~]# /usr/bin/openvas-check-setup --v7
> openvas-check-setup 2.3.0
> Test completeness and readiness of OpenVAS-7
>
> Please report us any non-detected problems and
> help us to improve this check routine:
> http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
> <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 ...
> ERROR: OpenVAS Scanner too old or too new: 5.0.4
> FIX: Please install OpenVAS Scanner 4.0.
>
> ERROR: Your OpenVAS-7 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
> <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.
>
>
> Please help me to resolve this issue.
>
> ~Thanks
>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
> <https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss