Hi all,
I have finished install openvas from source in a Debian12 host and i need help to solve the following error.
When I try to perform a scan it automaticattly result as a fail, it reports the following in the webUI:
Also I could check that all the services were running but some warnings appeared and i dont know if it is related with my fail or not.
OSPD-openvas.log
OSPD[816] 2024-06-21 06:30:38,133: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:30:49,239: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:30:52,860: INFO: (ospd.command.command) Scan 7417d86f-52ee-486c-b8ff-20bf19321458 added to the queue in position 2.
OSPD[816] 2024-06-21 06:30:59,558: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:00,820: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[816] 2024-06-21 06:31:01,091: INFO: (ospd.ospd) Starting scan 7417d86f-52ee-486c-b8ff-20bf19321458.
OSPD[816] 2024-06-21 06:31:09,560: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:19,561: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:29,562: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:39,563: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:49,565: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:31:59,566: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:32:09,567: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:32:12,265: WARNING: (ospd_openvas.daemon) Missing VT oid for a result
OSPD[816] 2024-06-21 06:32:12,266: WARNING: (ospd_openvas.daemon) Invalid VT oid for a result
OSPD[816] 2024-06-21 06:32:13,272: INFO: (ospd.ospd) 7417d86f-52ee-486c-b8ff-20bf19321458: Host scan finished.
OSPD[816] 2024-06-21 06:32:13,276: INFO: (ospd.ospd) 7417d86f-52ee-486c-b8ff-20bf19321458: Host scan got interrupted. Progress: 0, Status: RUNNING
OSPD[816] 2024-06-21 06:32:13,276: INFO: (ospd.ospd) 7417d86f-52ee-486c-b8ff-20bf19321458: Scan interrupted.
OSPD[816] 2024-06-21 06:32:13,343: INFO: (ospd.ospd) 7417d86f-52ee-486c-b8ff-20bf19321458: Scan process is dead and its progress is 0
OSPD[816] 2024-06-21 06:32:13,344: INFO: (ospd.ospd) 7417d86f-52ee-486c-b8ff-20bf19321458: Scan interrupted.
OSPD[816] 2024-06-21 06:32:19,568: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[816] 2024-06-21 06:32:29,569: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
In openvas.log we can see:
libgvm util:MESSAGE:2024-06-19 12h51.01 utc:1435: Updated NVT cache from version 0 to 202406140605
libgvm util:MESSAGE:2024-06-20 09h27.19 utc:30818: Updated NVT cache from version 202406140605 to 202406190607
sd main:MESSAGE:2024-06-20 12h30.01 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: openvas 23.0.1 started
sd main:MESSAGE:2024-06-20 12h30.01 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: attack_network_init: LSC via openvasd
sd main:MESSAGE:2024-06-20 12h30.01 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: Vulnerability scan 764e7ffb-e728-496d-8fef-f7a5f410019c started: Target has 126 hosts: 10.30.20.0/25, with max_hosts = 20 and max_checks = 4
libgvm boreas:WARNING:2024-06-20 12h30.01 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: set_socket: failed to open ICMPV4 socket: Operation not permitted
libgvm boreas:WARNING:2024-06-20 12h30.01 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: start_alive_detection. Boreas could not initialise alive detection. Boreas was not able to open a new socket. Exit Boreas.
sd main:MESSAGE:2024-06-20 12h30.02 utc:35793:764e7ffb-e728-496d-8fef-f7a5f410019c: Vulnerability scan 764e7ffb-e728-496d-8fef-f7a5f410019c finished in 1 seconds: 0 alive hosts of 126
Thanks in advanced,
Regards,