I’m running OpenVAS inside a Docker Compose setup, and after a feed update the scans have been. My system is no longer functioning properly. The NVT status in the UI shows:
Synchronization issue: Could not connect to scanner to get feed info
The following errors appear in the container logs:
OSPD[7] ERROR: Redis Error: Not possible to connect to the kb.
GVMD:
WARNING: The gvmd data feed directory /var/lib/gvm/data-objects/gvmd or one of its subdirectories does not exist.
WARNING: nvts_feed_info_internal: failed to connect to /run/ospd/ospd-openvas.sock
WARNING: osp_scanner_feed_version: failed to connect to /run/ospd/ospd-openvas.sock
It looks like the scanner and GVMD cannot communicate with OSPD, and the Redis KB isn’t accessible anymore.
Has anyone encountered this issue before? What steps can I take to fix the scanner/Redis socket problem and get the feeds working again?
After stopping the container manually I got the same message.
And after executing the follwing command I got this message:
docker volume rm greenbone-community-edition_redis_socket_vol
Error response from daemon: remove greenbone-community-edition_redis_socket_vol: volume is in use
Hi, could you do me a favor and format your messages according to Start Here/Read Me First - #3 by bricks next time? they are difficult to read at the moment.
Means the containers references in the compose file aren’t running anymore
Means some other container is still referencing the volume
Please check your running containers. There should be a misconfiguration in some kind. If you need help paste the output of docker container ps -a.
It is also possible to force the removal of the containers by using docker volume rm -f greenbone-community-edition_redis_socket_vol but not being able to remove the volume indicates some misconfiguration issue on your side.
docker volume rm greenbone-community-edition_redis_socket_vol
Error response from daemon: remove greenbone-community-edition_redis_socket_vol: volume is in use
Hi, please format such outputs according to Start Here/Read Me First - #3 by bricks next time. Otherwise it’s horrible to read. I’ve fixed it for you this time.