GVM 11 installation


I’m installing GVM 11 but I don’t find the “redis-server.sock” or “redis.sock” configuration file. How can I generate them ?


I tired this before and it works
sudo usermod -aG redis gvm
ldconfig ;
cp /etc/redis/redis.conf /etc/redis/redis.orig ;
cp /opt/gvm/src/openvas-7.0.0/config/redis-openvas.conf /etc/redis/ ;
chown redis:redis /etc/redis/redis-openvas.conf ;
echo “db_address = /run/redis-openvas/redis.sock” > /opt/gvm/etc/openvas/openvas.conf ;
systemctl enable redis-server@openvas.service ;
systemctl start redis-server@openvas.service


Hi! I am trying to setup GVM 11, but no luck so far. Can you share the instructions you are following? I am following INSTALL.md from GitHub but it’s not very complete.

Hi, redis.sock is not a configuration file, it’s a socket on which redis service is listening. It must be where gvmd expect to find it, otherwise it can’t work.

redis.sock location is defined in your /etc/redis/redis.conf file, with the following:

unixsocket /var/run/redis/redis.sock

Openvas looks for the redis socket defined in it’s configuration file: /opt/gvm/etc/openvas/openvas.conf with the following line:

db_address = /var/run/redis/redis.sock

1 Like