Redis Setup
Note: If you have any questions on this topic please start a new thread for each question and link back to this topic so that it can be updated accordingly.
When running a GSE/GVM/OpenVAS setup build from source please pay special attention on the setup / configuration of Redis
for a smooth operation of your whole setup. If you’re facing issues with your scans please see the “Common issues” section below.
The following documentation is guiding you through this setup:
Common issues
Scanner / openvassd startup is timing out
If your scanner startup (example of systemd) is timing out with the following message:
Redirecting to /bin/systemctl start openvas-scanner.service.service
Job for openvas-scanner.service failed because a timeout was exceeded.
See "systemctl status openvas-scanner.service" and "journalctl -xe" for details.
revisit your Redis setup with the resources mentioned above. The following steps are known to work and to solve this issue:
- Delete the file
dump.rdb
(Located in e.g./var/run/redis
depending on your setup) - Comment out/remove all
save xy z
(e.g.save 900 1
) from yourredis.conf
(Located in e.g./etc/redis
depending on your setup) - Optional: Flush your redis database (Depending on your setup, e.g.
redis-cli -s /var/run/redis/redis.sock flushall
) - Restart redis (Depending on your setup, e.g.
service redis-server restart
) - Restart the Scanner (
openvassd
) and try again