Re: [Openvas-discuss] OpenVAS9 reboot and REDIS error message

2017-11-06 Thread Reindl Harald



Am 06.11.2017 um 16:44 schrieb None:
During a reboot of my OpenVAS9 install, I received the following when 
'openvas-scanner' tried to start on its own:


Nov 06 10:28:41 openvas-01 systemd[1]: Starting LSB: remote network 
security auditor - scanner...
Nov 06 10:28:41 openvas-01 openvas-scanner[1091]: (openvassd:1142): lib  
kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number: 
LOADING Redis is loading the dataset in memory

how much memory has the box?
assign at least 3 GB for proper operations would be my first guess
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] OpenVAS9 reboot and REDIS error message

2017-11-06 Thread None
During a reboot of my OpenVAS9 install, I received the following when
'openvas-scanner' tried to start on its own:

Nov 06 10:28:41 openvas-01 systemd[1]: Starting LSB: remote network
security auditor - scanner...
Nov 06 10:28:41 openvas-01 openvas-scanner[1091]: (openvassd:1142): lib
kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number:
LOADING Redis is loading the dataset in memory
Nov 06 10:21:46 openvas-01 systemd[1]: openvas-scanner.service: Start
operation timed out. Terminating.
Nov 06 10:21:46 openvas-01 systemd[1]: Failed to start LSB: remote network
security auditor - scanner.
Nov 06 10:21:46 openvas-01 systemd[1]: openvas-scanner.service: Unit
entered failed state.
Nov 06 10:21:46 openvas-01 systemd[1]: openvas-scanner.service: Failed with
result 'timeout'.

I don't have any issues with my redis server starting:

root@openvas-01:~# systemctl status redis
● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled;
vendor preset: enabled)
   Active: active (running) since Mon 2017-11-06 10:28:41 EST; 13min ago
 Docs: http://redis.io/documentation,
   man:redis-server(1)
  Process: 1062 ExecStartPost=/bin/run-parts --verbose
/etc/redis/redis-server.post-up.d (code=exited, status=0/SUCCESS)
  Process: 1047 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf
(code=exited, status=0/SUCCESS)
  Process: 1035 ExecStartPre=/bin/run-parts --verbose
/etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)
 Main PID: 1061 (redis-server)
Tasks: 3
   Memory: 151.5M
  CPU: 1.285s
   CGroup: /system.slice/redis-server.service
   └─1061 /usr/bin/redis-server 127.0.0.1:6379

Nov 06 10:28:40 openvas-01 systemd[1]: Starting Advanced key-value store...
Nov 06 10:28:40 openvas-01 run-parts[1035]: run-parts: executing
/etc/redis/redis-server.pre-up.d/00_example
Nov 06 10:28:41 openvas-01 systemd[1]: Started Advanced key-value store.

I'm not able to bring the 'openvas-scanner' back up at all. Could someone
point me in the right direction to resolving the issue?
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss