No Scan Results - NVT 0/0


#1

I’m running
Greenbone OS 4.2.24
VMware workstation 14
Linux 4 host 64bit

I’ve updated the feeds and they are showing as current

NVT NVTs Greenbone Community Feed 201902121108 Current
SCAP CVEs, CPEs, OVAL Definitions OpenVAS SCAP Feed 201902120000 Current
CERT CERT-Bund Advisories, DFN-CERT Advisories OpenVAS CERT Feed 201902120100 Current

I’ve got plenty of hosts and know that some are insecure. When I run the scan it shows it runs but does not come up with any vulnerabilities.

I have seen posts similar to this where they have said that issuing openvasmd --update fixes the issue. I have gone to maintenance and opened the shell. I have pasted this command but it isnt recognised!

Anyone able to help?


No post scan results
Vulnerability appears with NVT references instead of human friendly / After upgrade: Scans showing no/0 results
#2

Does your report contain any hosts? I.e. has the scan “seen” any hosts ?

This is shown in the Report: Hosts view. You can find this view at

Web GUI > Scans > Reports

click on the date of the report

hover over Report: Results to open a drop down menu

select Report: Hosts


#3

Please also note the following of https://www.greenbone.net/en/install_use_gce/ :

The feed update now runs in the background and you are on the main menu of the administration. Via “About” you can have a look at the key properties of your setup, especially the address of the web interface and whether there still runs the Feed update as a system operation.

Only after the feed update completed there will be all information in the SecInfo area and first scans possible. This could take half an hour or even longer.

Even if the GSA is telling you that the feed versions are current the initial feed sync and the rebuild of the database might still run. So if you’re getting an NVT count of 0/0 please have some more patience, especially for the first sync after the initial setup of the appliance.


#4

Same issue. No hosts found in GUI. Feed update looks good on all pages.


#5

If your Report features no hosts either, this means in the first phase of the scan, the Alive Test found all ip addresses in the target “dead”.

The Alive Test is a setting of the Target.

If your Target isn’t overly big, change the Alive Test to “consider alive” to skip it altogether and scan every ip address in your Target, dead or not.


#6

@lowtone

Additionally could you please specify if you’re really getting a NVT count of 0/0 within the SecInfo -> NVTs menu of your GSA?

If this is not the case then your issue is different then from the OP and we need to split your question / issue into a separate topic.


#7

I had exactly the same issue. New VM, waited until the feeds were processed and still not a single scan result.

Read somewhere else to issue the following command in the root command shell (you have to enable it first in your advanced config options , then go to a non-root shell, then use su to get a root shell) - all this is not done in the web interface, but by using SSH.

openvasmd --rebuild

And after that, it worked !


#8

As said here many time, if you run a ROOT command on the GCE you will break it.

On the GCE is a permission model in place, if you run any command as root it might override files with permission that can´t be read by the GVMd running NOT as root. So this is a very risky idea.
You NEVER need to run any command as root. My suggestion is reinstall it. Check if you can run a feed-sync and wait some time until the feed update is finished. This might take up to 4h. If you run any command as root, you can most likely re-install it.