Md manage:WARNING:2022-11-23 08h33.32 UTC:63422: osp_scanner_feed_version: failed to connect to /run/ospd/ospd-openvas.sock

Hello

I have made new installation on debian 11 flowing https://greenbone.github.io/docs/latest/22.4/source-build/index.html

In gvmd.log I see “md manage:WARNING:2022-11-23 08h33.32 UTC:63422: osp_scanner_feed_version: failed to connect to /run/ospd/ospd-openvas.sock” poping up every 10 seconds.

There is pid file for ospd-openvas but no sock.

Tried restarting both services without any success.

Any help will be appreciated.

You need to check /var/log/gvm/ospd-openvas.log for possible errors. gvmd waits until ospd-openvas has loaded the VT meta information from the feed data and is ready to accept connections via the unix socket. It seems that something is going wrong during the startup of ospd-openvas.

1 Like
# cat /var/log/gvm/ospd-openvas.log 
OSPD[39775] 2022-11-22 15:04:32,639: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[39775] 2022-11-23 08:01:22,849: INFO: (ospd.main) Shutting-down server ...
OSPD[62504] 2022-11-23 08:01:25,388: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[62504] 2022-11-23 08:22:07,472: INFO: (ospd.main) Shutting-down server ...
OSPD[62997] 2022-11-23 08:22:07,757: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[62997] 2022-11-23 08:22:18,576: INFO: (ospd.main) Shutting-down server ...
OSPD[63025] 2022-11-23 08:22:18,848: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[63025] 2022-11-23 08:37:18,277: INFO: (ospd.main) Shutting-down server ...
OSPD[63566] 2022-11-23 08:37:18,598: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[63566] 2022-11-23 08:59:58,514: INFO: (ospd.main) Shutting-down server ...
OSPD[64084] 2022-11-23 08:59:58,768: DEBUG: (ospd.ospd) removing uuid files in /var/lib/openvas
OSPD[64084] 2022-11-23 08:59:58,786: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.

I haven’t implemented logrotate for this logs yet.