Not able to have NVTs

Hi, I have an issue when I want to use the opensource version of Openvas. I tried to install multiples times and with different linux distro. But I keep having the same issue everywhere. I’m not able to update the NVT. CVE CERT and GVMD are perfectly fine but I can’t have the NVT. I tried all the command to update, restart and reinstall but no sucess. Here’s a picture of my issue :

Hi, you need to look /var/lib/openvas/plugins if this directory contains .nasl files and at the /var/log/ospd-openvas.log file to evaluate why the NVTs couldn’t be loaded. The feed sync always consists of two parts. Downloading the data with a sync script and loading of the data by one of our services.

1 Like

Hi,

Thank you for your reply. First, there’s .nasl file inside the pluigins folder. Second I can’t seem to find the issue inside the openvas.log file, here’s what’s inside the log file:

OSPD[4205] 2023-01-28 18:28:38,860: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.4.
OSPD[4205] 2023-01-28 18:28:38,864: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[4205] 2023-01-28 18:28:48,901: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait…
OSPD[4205] 2023-01-28 18:28:48,975: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[4205] 2023-01-28 18:28:48,975: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[4205] 2023-01-28 18:28:48,976: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[4205] 2023-01-28 18:28:48,976: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[4205] 2023-01-28 18:28:48,979: INFO: (ospd.main) Shutting-down server …
OSPD[9574] 2023-01-28 18:37:44,553: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.4.
OSPD[9574] 2023-01-28 18:37:44,562: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[9574] 2023-01-28 18:37:54,605: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait…
OSPD[9574] 2023-01-28 18:37:54,689: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[9574] 2023-01-28 18:37:54,690: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[9574] 2023-01-28 18:37:54,690: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[9574] 2023-01-28 18:37:54,690: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[9574] 2023-01-28 18:37:54,694: INFO: (ospd.main) Shutting-down server …
OSPD[10390] 2023-01-28 18:38:55,468: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.4.
OSPD[10390] 2023-01-28 18:38:55,472: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[10390] 2023-01-28 18:39:05,510: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait…
OSPD[10390] 2023-01-28 18:39:05,590: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[10390] 2023-01-28 18:39:05,590: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[10390] 2023-01-28 18:39:05,590: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[10390] 2023-01-28 18:39:05,590: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[10390] 2023-01-28 18:39:05,594: INFO: (ospd.main) Shutting-down server …
OSPD[11166] 2023-01-28 18:40:06,238: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.4.
OSPD[11166] 2023-01-28 18:40:06,242: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[11166] 2023-01-28 18:40:16,281: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait…
OSPD[11166] 2023-01-28 18:40:16,360: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[11166] 2023-01-28 18:40:16,361: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[11166] 2023-01-28 18:40:16,361: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[11166] 2023-01-28 18:40:16,361: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[11166] 2023-01-28 18:40:16,365: INFO: (ospd.main) Shutting-down server …

Again thank you for your help

Seems to be the same issue as Kali ospd-openvas not staring with MQTT broker errors - #2 by bricks

1 Like

Thank you very much it worked perfectly. I have an unrelated question regarding the tool. Can you do an external vulnerability scan? Or only internal? Thank you

Please create a new topic for a new / unrelated question.