Re: [Openvas-discuss] OpenVas9: cannot retrieve max DB number...
Hi, On 15.11.2017 15:47, Christiaan De Vries wrote: > Nov 15 14:20:48 DMZ-NVT-01 systemd[1]: Starting LSB: remote network > security auditor - scanner... > > Nov 15 14:20:48 DMZ-NVT-01 openvas-scanner[1198]: (openvassd:1246): lib > kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number: > LOADING Redis is loading the dataset in memory > > Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Start > operation timed out. Terminating. > > Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: Failed to start LSB: remote > network security auditor - scanner. > > Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Unit > entered failed state. > > Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Failed > with result 'timeout'. This is probably the known issue where redis is blocking / doesn't accept any connections anymore. Make sure that you have commented out all: save xyz statements in your redis.conf, delete the dump.rdb of redis and then restart redis. There are quite a lot posts here at the channel or at the mailinglists about that where updating redis like explained above helped. Regards, -- Christian Fischer | PGP Key: 0x54F3CE5B76C597AD Greenbone Networks GmbH | http://greenbone.net Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
[Openvas-discuss] OpenVas9: cannot retrieve max DB number...
Hi everybody, I’m having issues with my OpenVAS9 machine running on Ubuntu 16.04.03 LTS, in particular the database preventing the scanner from starting, please see below: root@DMZ-NVT-01:~# /etc/init.d/openvas-scanner status ● openvas-scanner.service - LSB: remote network security auditor - scanner Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled) Active: failed (Result: timeout) since Wed 2017-11-15 14:25:48 GMT; 18min ago Docs: man:systemd-sysv-generator(8) Process: 1198 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM) Tasks: 1 Memory: 3.8M CPU: 22ms CGroup: /system.slice/openvas-scanner.service └─1246 /usr/sbin/openvassd Nov 15 14:20:48 DMZ-NVT-01 systemd[1]: Starting LSB: remote network security auditor - scanner... Nov 15 14:20:48 DMZ-NVT-01 openvas-scanner[1198]: (openvassd:1246): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number: LOADING Redis is loading the dataset in memory Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Start operation timed out. Terminating. Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: Failed to start LSB: remote network security auditor - scanner. Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Unit entered failed state. Nov 15 14:25:48 DMZ-NVT-01 systemd[1]: openvas-scanner.service: Failed with result 'timeout'. root@DMZ-NVT-01:~# The machine has more than enough RAM (8GB), so I’m hoping somebody here could give me some pointers on how to tackle/solve this issue? Regards, Christiaan de Vries Digital Planet ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss