GVM versions
gsad: ('gsad 21.4.4)
gvmd: ('gvmd 21.4.5)
openvas-scanner: (OpenVAS 21.4.4)
gvm-libs: (21.4.4)
Environment
Operating system:
Kernel: (5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux)
Installation method / source: = https://greenbone.github.io/docs/latest/21.04/source-build/
Hello,
I’ve run into a very strange issue with Redis. When I kick off a scan I get the following redis error.
==> /var/log/gvm/openvas.log <==
sd main:MESSAGE:2022-06-15 13h25.55 utc:189645: openvas 21.4.4 started
libgvm util:CRITICAL:2022-06-15 13h25.55 utc:189645: redis_find: redis connection error to /run/redis-openvas/redis.sock: Permission denied
libgvm util:CRITICAL:2022-06-15 13h25.55 utc:189645: get_redis_ctx: redis connection error to /run/redis-openvas/redis.sock: Permission denied
libgvm util:CRITICAL:2022-06-15 13h25.55 utc:189645: get_redis_ctx: redis connection error to /run/redis-openvas/redis.sock: Permission denied
sd main:MESSAGE:2022-06-15 13h25.55 utc:189645: Failed to initialize nvti cache.
libgvm util:CRITICAL:2022-06-15 13h25.55 utc:189645: redis_find: redis connection error to /run/redis-openvas/redis.sock: Permission denied
But from a permissions standpoint, I’m pretty sure they are correct. The gvm
user is in the redis group and the /run/redis-openvas/redis.sock
file is set properly to my knowledge.
From /etc/group
I see this, redis:x:120:gvm
and the file permissions are srwxrwx--- 1 redis redis 0 Jun 15 13:01 /run/redis-openvas/redis.sock
.
Any pointers as to where else to look would be greatly appreciated.
Thank you!