Hi guys,

my problem is party solved. After executing "openvasmd --update --progress -v" 
the SecInfo dashboard now displays a correct number of nvts.

But I have a new problem. When i try to have a look at the results of my 
reports, the column "Vulnerability" displays NVT OIDs instead of readable 
names. Some names are displayed correctly but in a large part there appear OIDs.
 
I think both tables nvt and nvt_cves are complete:
root@openvas02:/var/lib/openvas/mgr# 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;
48306
sqlite> select count(*) from nvt_cves limit 1;
152627
sqlite>

Thank you anyway. 
Best regards


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