i have an Openvas 9 kali that stopped working since a reboot. the scanner was performing scan when it rebooted.
I checked logs and found nothing. Did an strace and foudn it seems to be waiting for the redis server
it is redoing the below mulitple times
socket(AF_UNIX, SOCK_STREAM, 0) = 5
fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(5, {sa_family=AF_UNIX, sun_path="/var/run/redis-openvas/redis-server.sock"}, 110) = 0
fcntl(5, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(5, F_SETFL, O_RDWR) = 0
write(5, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60
read(5, ":0\r\n", 16384) = 4
write(5, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60
read(5, ":0\r\n", 16384) = 4
write(5, "*4\r\n$6\r\nHSETNX\r\n$23\r\nOpenVAS.__G"..., 60) = 60
the redis server is up & running & the /var/run/redis-openvas/redis-server.sock file is present
ps -aux | grep redis
redis 808 0.2 1.4 147872 115516 ? Ssl 04:41 0:04 /usr/bin/redis-server 127.0.0.1:0
Anyone can help me to understand what is prevening the openvassd to start ?
systemctl reported event
systemctl status openvas-scanner.service
● openvas-scanner.service - Open Vulnerability Assessment System Scanner Dae
Loaded: loaded (/lib/systemd/system/openvas-scanner.service; enabled; ven
Active: failed (Result: timeout) since Fri 2018-08-10 04:53:58 EDT; 24min
Docs: man:openvassd(8)
http://www.openvas.org/
Process: 3237 ExecStart=/usr/sbin/openvassd --unix-socket=/var/run/openvas
Aug 10 04:52:28 frdrtsuova01p systemd[1]: Starting Open Vulnerability Assess
Aug 10 04:53:58 frdrtsuova01p systemd[1]: openvas-scanner.service: Start openvassd
Aug 10 04:53:58 frdrtsuova01p systemd[1]: openvas-scanner.service: Failed with result "timeout". Terminating.
Aug 10 04:53:58 frdrtsuova01p systemd[1]: Failed to start Open Vulnerability Assessment System Scanner Daemon.
lines 1-11/11 (END)...skipping...