I’ve compiled and installed OpenVAs 21.4.2, then started ospd-openvas, gvmd, and gsad daemons with success. I can access the web portal and log in, then create my first target (192.168.2.0/24), then a scan task to test. Unfortunately, the scan complete without nothing detected. I can ping the subnet IP and nmap also work on the subnet IP. Port List data exist as well as Scan configs data and Scanners (CVE, OpenVAS Default). Therefore I’m a little bit lost now and need help to found out where the problem is, thanks.
you can increase the logging level /etc/gvm for gsad_log.conf gvmd_log.conf where “level=128” means DEBUG.
and inspect future logs from targets. I using the “htop” too, during the scan - for some additional pieces of information.
Thanks for you help. It seems that the problem is related to the “Alive Test” option. If I put the “Consider Alive” parameter to avoid ping, then it works and I can scan my subnet. So the question here is why the ping is not working?
The services provided by the GVM framework should run as a dedicated user and group. Therefore a gvm user and a group with the same name will be created.
Nothing works, I have tried all the “Alive Tests” available without success. I’m starting to run out of ideas, I don’t understand why the scan doesn’t return anything.
When you check the openvas.log which is generated to the path by systemd unity configuration.
On my installation is in /var/log/gvm/openvas.log
and when you grep “Alive” then you can find what happened during the scan.
In the case when the logging level is not sufficient for you, you can update unit config /etc/systemd/system/ospd-openvas.service by adding a parameter to “ExecStart=”