After finally resolving an issue with the latest kali and realizing that the greenbone-security-assistant service was missing, I’m now having issues trying to start the greenbone-security-assistant
service after resolving that issue.
When running systemctl start greenbone-security-assistant
, it seems to actually spin up the gsad
process and listens on port 9392 as I expect; however, the actual service itself isn’t starting though.
Here’s what I’m seeing:
┌──(root㉿pt)-[~]
└─# netstat -antp | grep -i listen
tcp 0 0 127.0.0.1:2222 0.0.0.0:* LISTEN 19/sshd: /usr/sbin/
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1434/postgres
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:5432 :::* LISTEN 1434/postgres
┌──(root㉿pt)-[~]
└─# systemctl status greenbone-security-assistant
greenbone-security-assistant.service - Greenbone Security Assistant daemon (gsad)
Loaded: loaded (/usr/lib/systemd/system/greenbone-security-assistant.service, enabled)
Active: inactive (dead)
┌──(root㉿pt)-[~]
└─# systemctl start greenbone-security-assistant
┌──(root㉿pt)-[~]
└─# systemctl status greenbone-security-assistant
greenbone-security-assistant.service - Greenbone Security Assistant daemon (gsad)
Loaded: loaded (/usr/lib/systemd/system/greenbone-security-assistant.service, enabled)
Active: inactive (dead)
┌──(root㉿pt)-[~]
└─# netstat -antp | grep -i listen
tcp 0 0 127.0.0.1:2222 0.0.0.0:* LISTEN 19/sshd: /usr/sbin/
tcp 0 0 127.0.0.1:9392 0.0.0.0:* LISTEN 18222/gsad
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1434/postgres
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:5432 :::* LISTEN 1434/postgres
As shown above, the port is actually listening, so not quite sure what’s going on here. What I’m noticing in the /var/log/gvm/gsad.log
file, however, is this:
┌──(root㉿pt)-[/]
└─# tail -f /var/log/gvm/gsad.log
gsad main:MESSAGE:2022-03-15 02h52.43 utc:18221: Starting GSAD version 21.4.4
gsad main:WARNING:2022-03-15 02h52.43 utc:18223: main: start_http_daemon redirect failed !
Here’s the tail end of my gvm-check-setup
(run from the / directory):
Oops, secure memory pool already initialized
OK: Greenbone Security Assistant is present in version 21.4.4.
Step 7: Checking if GVM services are up and running ...
OK: ospd-openvas service is active.
OK: gvmd service is active.
Starting gsad service
Waiting for gsad service
ERROR: gsad service did not start.
Please check journalctl -xe and /var/log/gvm/gsad.log
ERROR: Your GVM-21.4.3 installation is not yet complete!
Please follow the instructions marked with FIX above and run this
script again.
Any thoughts on this would be greatly appreciated. I do this process on a daily basis, quite often actually, so I’m pretty sure there was just some weird update in Kali that may have caused this; however, I just wanted to check here as well.