Cant start gvm

Hi
I’m new to openvas and trying to run it on Kali.
After installation, tried to run sudo gvm start, which failed.
Checked the gvm logs:

OSPD[59074] 2021-08-07 06:47:24,543: WARNING: (ospd_openvas.openvas) Could not gather openvas settings. Reason Command ‘[‘openvas’, ‘-s’]’ returned non-zero exit status 1.
OSPD[59074] 2021-08-07 06:47:29,549: ERROR: (ospd_openvas.db) Redis Error: Not possible to connect to the kb.

from redis-openvas.conf:
unixsocket /var/run/redis-openvas/redis-server.sock
unixsocketperm 770

from openvas.conf
“#” Use location matching /etc/redis/redis-openvas.conf which is
“#” used by systemd’s redis@openvas.service
db_address = /var/run/redis-openvas/redis-server.sock

openvas -s:

└─$ openvas -s
cgi_path = /cgi-bin:/scripts
checks_read_timeout = 5
nasl_no_signature_check = yes
max_checks = 10
time_between_request = 0
safe_checks = yes
optimize_test = yes
allow_simultaneous_ips = yes
unscanned_closed = yes
debug_tls = 0
test_empty_vhost = no
open_sock_max_attempts = 5
plugins_timeout = 320
scanner_plugins_timeout = 36000
timeout_retry = 3
vendor_version =
plugins_folder = /var/lib/openvas/plugins
config_file = /etc/openvas/openvas.conf
max_hosts = 30
db_address = /var/run/redis-openvas/redis-server.sock
report_host_details = yes
expand_vhosts = yes
log_plugins_name_at_load = no
log_whole_attack = no
include_folders = /var/lib/openvas/plugins
auto_enable_dependencies = yes
drop_privileges = no
test_alive_hosts_only = yes
unscanned_closed_udp = yes
non_simult_ports = 139, 445, 3389, Services/irc

I could find no mention of kb in the conf files.

GVM versions

**gsad: 21.4.1~dev1
gvmd: 21.4.2
openvas-scanner: 21.4.1

Environment

Operating system: Kali
Kernel: 5.10.0-kali7-amd64 SMP Debian 5.10.28-1kali1

Is anyone familiar with the issue?

Could be a duplicate of:

What is the result of this command :

sudo -u gvm openvas -u

Did u add this in the sudoers file :

%gvm ALL = NOPASSWD: /usr/local/sbin/openvas

1 Like