Hi Michael,

thanks for your answer. I checked this, see following output: 

root@openvas02:/var/lib/openvas/plugins# find -name "*.nasl" | wc -l
48306
root@openvas02:/var/lib/openvas/plugins# openvas-nvt-sync
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 
'http://www.openvas.org/openvas-nvt-feed.html'.
[i] NVT dir: /var/lib/openvas/plugins
OpenVAS feed server - http://www.openvas.org/
This service is hosted by Intevation GmbH - http://intevation.de/
All transactions are logged.

Please report synchronization problems to [email protected].
If you have any other questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

[i] Feed is already current, no synchronization necessary.

root@openvas02:/var/lib/openvas/plugins# find -name "*.nasl" | wc -l
48306

In the WebGUI under SecInfo Management -> Dashboard almost all charts are empty 
:(
 
NVTs by severity (Total: 0)
CVEs by creation time (Total: 0)
CERT-Bund Advisories by severity (Total: 4231)

Also in the database are zero entries in table "nvts"
# sqlite3 /var/lib/openvas/mgr/tasks.db
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints.
sqlite> select count(*) from nvts limit 1;
0

Thanks
Best regards

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Gesendet: Freitag, 22. Juli 2016 10:46
An: [email protected]
Cc: Jan Schwarzkopf
Betreff: Re: [Openvas-discuss] No NVTS after openvasmd rebuild


Dear Jan,

can you please enter shell and run this command:

cd /var/lib/openvas/plugins && find -name "*.nasl" | wc -l

This should output you a number around ~48557. If that number is  much lower, 
then you have NVT's missing.
Alternatively you can check via SecInfo Management in WebGUI.

As solution, you could try to run a manual Feedupdate, that should fix the 
issue.

Please let us know, thanks in advance.

Cheers, Michael (Eissele).




On 22.07.2016 09:12, Jan Schwarzkopf wrote:
> Hi guys,
> 
> i installed the newest version of OpenVAS 9 beta via Ubuntu PPA 
> yesterday. Installation was successfully and everything seems to work.
> Openvas-check-setup also discovered no critical errors.
> 
> Before the creation of first scan tasks i updated the nvt cache via 
> CLI "openvas-nvt-sync" and "openvasmd --rebuild --progress -v". No 
> errors.
> 
> After creating targets, schedules and tasks a few hours later i 
> updated/rebuilded the cache again. Now there were no more plugins left 
> in the web GUI (SecInfo -> NVTs).
> 
> Openvas-check-setup shows this:
> 
>         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'.
> 
> It seems the table "nvts" in the sqlite-database 
> /var/lib/openvas/tasks.db is empty. Does someone knows a solution for 
> this problem?
> 
> There are other threads about this problem but nowhere i can find a
> solution:
> 
> http://lists.wald.intevation.org/pipermail/openvas-discuss/2015-Januar
> y/007289.html 
> https://lists.wald.intevation.org/pipermail/openvas-discuss/2016-April
> /009540.html 
> http://openvas-discuss.wald.intevation.narkive.com/Tdu8dShM/error-the-
> number-of-nvts-in-the-openvas-manager-database-is-too-low
> 
> Thanks
> Best regards
> 
> 
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-dis
> cuss


_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to