Where is the gvmd.sock?

Gvmd.sock does not exist while installing from source.
I want to use gvm-cli to create task.
Need Help!
I just find ospd.sock,but it can not to use.
Here is my version:
842
And there is no sock file in /usr/local/var/run/


Thx!

The actual path depends on the build and runtime settings of gvmd. By default it uses $CMAKE_INSTALL_PREFIX/var/run/gvmd.sock. But also the daemon must be running already. You can adjust the path of the unix socket via -c flag at runtime too. See gvmd --help

c, --unix-socket=<filename>                  Listen on UNIX socket at <filename>.
2 Likes

Thank you for reply.
But I use the command"find / -name gvmd.sock" ,there is no returned.

1 Like

Please double check if gvmd is running at all and if is not configured to use TLS.

1 Like

Hello,

I have the same issue as xieyt, how can we check if gvmd uses TLS? My gvmd service is running.

1 Like

Hi,

this might be a bit surprising but gvmd and gsad don’t have config files for settings. All settings must be configured when starting the daemons. This means to change the settings you most likely have to adjust the systemd service files.

1 Like