Not sure if this is the right place to put this, so please correct me if it’s not.
I’m running Kali 2020 and have installed GVM-11. When I run gvm-start, it returns a few errors that the gsad failed to start. If I run another gvm-start or a gvm-check-setup everything starts up correctly.
When using the web GUI, I can do everything I would expect to as far as setting up targets/scans and changing configs, but any scan I run finishes immediately and returns no results and no hosts are scanned. I’ve checked the database is running and NVT/SCAP data is synced, but I’m at a loss why none of the scans are showing results.
Here is the output when starting the service. Any guidance into what I’m doing wrong would be appreciated.
peterborg@kali:~$ sudo gvm-start
[] Please wait for the GVM / OpenVAS services to start.
[]
[] You might need to refresh your browser once it opens.
[]
[*] Web UI (Greenbone Security Assistant):
- greenbone-security-assistant.service - Greenbone Security Assistant (gsad)
Loaded: loaded (/lib/systemd/system/greenbone-security-assistant.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2020-07-31 13:06:14 MDT; 17s ago
Docs: man:gsad(8)
Process: 1179 ExecStart=/usr/sbin/gsad --listen=127.0.0.1 --port=9392 (code=exited, status=0/SUCCESS)
Main PID: 1180 (code=exited, status=1/FAILURE)
Jul 31 13:06:14 kali systemd[1]: greenbone-security-assistant.service: Scheduled restart job, restart counter is at 5.
Jul 31 13:06:14 kali systemd[1]: Stopped Greenbone Security Assistant (gsad).
Jul 31 13:06:14 kali systemd[1]: greenbone-security-assistant.service: Start request repeated too quickly.
Jul 31 13:06:14 kali systemd[1]: greenbone-security-assistant.service: Failed with result ‘exit-code’.
Jul 31 13:06:14 kali systemd[1]: Failed to start Greenbone Security Assistant (gsad).
- gvmd.service - Open Vulnerability Assessment System Manager Daemon
Loaded: loaded (/lib/systemd/system/gvmd.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-07-31 13:06:26 MDT; 5s ago
Docs: man:gvmd(8)
Process: 1192 ExecStart=/usr/sbin/gvmd --osp-vt-update=/run/ospd/ospd.sock (code=exited, status=0/SUCCESS)
Main PID: 1193 (gvmd)
Tasks: 1 (limit: 2203)
Memory: 206.8M
CGroup: /system.slice/gvmd.service
`-1193 gvmd: Waiting for incoming connections
Jul 31 13:06:15 kali systemd[1]: Starting Open Vulnerability Assessment System Manager Daemon…
Jul 31 13:06:16 kali systemd[1]: gvmd.service: Can’t open PID file /run/gvm/gvmd.pid (yet?) after start: Operation not permitted
Jul 31 13:06:26 kali systemd[1]: Started Open Vulnerability Assessment System Manager Daemon.
- ospd-openvas.service - OSPD OpenVAS
Loaded: loaded (/lib/systemd/system/ospd-openvas.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-07-31 13:06:27 MDT; 5s ago
Process: 1214 ExecStart=/usr/bin/ospd-openvas --unix-socket=/run/ospd/ospd.sock --pid-file=/run/ospd/ospd-openvas.pid (code=exited, status=0/SUCCESS)
Main PID: 1223 (ospd-openvas)
Tasks: 1 (limit: 2203)
Memory: 52.4M
CGroup: /system.slice/ospd-openvas.service
`-1223 /usr/bin/python3 /usr/bin/ospd-openvas --unix-socket=/run/ospd/ospd.sock --pid-file=/run/ospd/ospd-openvas.pid
Jul 31 13:06:26 kali systemd[1]: Starting OSPD OpenVAS…
Jul 31 13:06:27 kali systemd[1]: Started OSPD OpenVAS.
peterborg@kali:~$ sudo gvm-start
[] Please wait for the GVM / OpenVAS services to start.
[]
[] You might need to refresh your browser once it opens.
[]
[*] Web UI (Greenbone Security Assistant):
- greenbone-security-assistant.service - Greenbone Security Assistant (gsad)
Loaded: loaded (/lib/systemd/system/greenbone-security-assistant.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-07-31 13:06:44 MDT; 5s ago
Docs: man:gsad(8)
Process: 1245 ExecStart=/usr/sbin/gsad --listen=127.0.0.1 --port=9392 (code=exited, status=0/SUCCESS)
Main PID: 1246 (gsad)
Tasks: 2 (limit: 2203)
Memory: 2.8M
CGroup: /system.slice/greenbone-security-assistant.service
`-1246 /usr/sbin/gsad --listen=127.0.0.1 --port=9392
Jul 31 13:06:44 kali systemd[1]: Starting Greenbone Security Assistant (gsad)…
Jul 31 13:06:44 kali gsad[1245]: Oops, secure memory pool already initialized
Jul 31 13:06:44 kali systemd[1]: Started Greenbone Security Assistant (gsad).
- gvmd.service - Open Vulnerability Assessment System Manager Daemon
Loaded: loaded (/lib/systemd/system/gvmd.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-07-31 13:06:26 MDT; 23s ago
Docs: man:gvmd(8)
Process: 1192 ExecStart=/usr/sbin/gvmd --osp-vt-update=/run/ospd/ospd.sock (code=exited, status=0/SUCCESS)
Main PID: 1193 (gvmd)
Tasks: 1 (limit: 2203)
Memory: 206.9M
CGroup: /system.slice/gvmd.service
`-1193 gvmd: Waiting for incoming connections
Jul 31 13:06:15 kali systemd[1]: Starting Open Vulnerability Assessment System Manager Daemon…
Jul 31 13:06:16 kali systemd[1]: gvmd.service: Can’t open PID file /run/gvm/gvmd.pid (yet?) after start: Operation not permitted
Jul 31 13:06:26 kali systemd[1]: Started Open Vulnerability Assessment System Manager Daemon.
- ospd-openvas.service - OSPD OpenVAS
Loaded: loaded (/lib/systemd/system/ospd-openvas.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-07-31 13:06:27 MDT; 22s ago
Process: 1214 ExecStart=/usr/bin/ospd-openvas --unix-socket=/run/ospd/ospd.sock --pid-file=/run/ospd/ospd-openvas.pid (code=exited, status=0/SUCCESS)
Main PID: 1223 (ospd-openvas)
Tasks: 1 (limit: 2203)
Memory: 103.5M
CGroup: /system.slice/ospd-openvas.service
`-1223 /usr/bin/python3 /usr/bin/ospd-openvas --unix-socket=/run/ospd/ospd.sock --pid-file=/run/ospd/ospd-openvas.pid
Jul 31 13:06:26 kali systemd[1]: Starting OSPD OpenVAS…
Jul 31 13:06:27 kali systemd[1]: Started OSPD OpenVAS.
[*] Opening Web UI () in: 5… 4… 3… 2… 1…