Atomicorp / gvm

Greenbone Vulnerability Manager / Openvas packaging project
GNU Affero General Public License v3.0
74 stars 19 forks source link

Reconfigure the default OSPD scanner socket path #56

Closed presianbg closed 2 years ago

presianbg commented 2 years ago

Hi,

I hit the following issue: https://community.greenbone.net/t/gvmd-could-not-connect-to-scanner/11109

TL;DR - the installer uses /var/run/ospd/ospd-openvas.sock , but the manager is not configured for this custom path. Fix - https://github.com/greenbone/gvmd/blob/v21.4.4/INSTALL.md#configure-the-default-ospd-scanner-socket-path

Cheers, PY

atomicturtle commented 2 years ago

Nod, the manager does look for the socket at /var/run/ospd/ospd-openvas.sock, its part of the systemd file:

ExecStart=/usr/sbin/gvmd --osp-vt-update=/var/run/ospd/ospd-openvas.sock $OPTIONS