Job for notus-scanner.service failed because the control process exited with error code.
See “systemctl status notus-scanner.service” and “journalctl -xeu notus-scanner.service” for details.
Failed to start Notus Scanner.
The file “/usr/local/bin/notus-scanner” is missing. However, I am confident that I did not miss any steps in building from source.
I also see numerous errors in ospd-openvas.log:
OSPD[44704] 2024-04-17 15:52:39,273: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
also the /var/log/gvm/notus-scanner.log file is missing
Yes, seems the instructions to install notus-scanner have been removed from the source code install instructions. I’m not sure why. Perhaps someone else can inform about this.
Here are the previous instructions from the official documentation:
Thank you, is there any way to get rid of these errors?
OSPD[81617] 2024-04-19 07:03:45,863: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[81617] 2024-04-19 07:03:55,874: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[81617] 2024-04-19 07:04:05,885: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[81617] 2024-04-19 07:04:15,896: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
OSPD[81617] 2024-04-19 07:04:25,907: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
i removed them, but issue still exist:
OSPD[1172] 2024-04-24 08:51:32,796: WARNING: (ospd_openvas.messaging.mqtt) Could not connect to MQTT broker, error was: [Errno 111] Connection refused. Trying again in 10s.
[Unit]
Description=OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)
Documentation=man:ospd-openvas(8) man:openvas(8)
After=network.target networking.service redis-server@openvas.service
Wants=redis-server@openvas.service
ConditionKernelCommandLine=!recovery