Error installing OpenVas in Parrot 5

Hi everyone! I’m trying install openvas in parrot 5, however show this error:
#gvm-check-setup
gvm-check-setup 21.4.3
Test completeness and readiness of GVM-21.4.3
Step 1: Checking OpenVAS (Scanner)…
OK: OpenVAS Scanner is present in version 21.4.4.
OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
OK: _gvm owns all files in /var/lib/openvas/gnupg
OK: redis-server is present.
OK: scanner (db_address setting) is configured properly using the redis-server socket: /var/run/redis-openvas/redis-server.sock
OK: redis-server is running and listening on socket: /var/run/redis-openvas/redis-server.sock.
OK: redis-server configuration is OK and redis-server is running.
OK: _gvm owns all files in /var/lib/openvas/plugins
OK: NVT collection in /var/lib/openvas/plugins contains 31052 NVTs.
Checking that the obsolete redis database has been removed
OK: No old Redis DB
OK: ospd-OpenVAS is present in version 21.4.4.
Step 2: Checking GVMD Manager …
OK: GVM Manager (gvmd) is present in version 21.4.5.
Step 3: Checking Certificates …
OK: GVM client certificate is valid and present as /var/lib/gvm/CA/clientcert.pem.
OK: Your GVM certificate infrastructure passed validation.
Step 4: Checking data …
OK: SCAP data found in /var/lib/gvm/scap-data.
OK: CERT data found in /var/lib/gvm/cert-data.
Step 5: Checking Postgresql DB and user …
OK: Postgresql version and default port are OK.
gvmd | _gvm | UTF8 | C.UTF-8 | C.UTF-8 |
OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) …
ERROR: No Greenbone Security Assistant (gsad) found.
FIX: Please install Greenbone Security Assistant.

ERROR: Your GVM-21.4.3 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.

#cat /var/log/gvm/ospd-openvas.log
OSPD[2336] 2022-09-12 05:12:25,213: WARNING: (ospd_openvas.openvas) Could not gather openvas settings. Reason Command ‘[‘openvas’, ‘-s’]’ returned non-zero exit status 127.

#systemctl status gsad.service
× gsad.service - Greenbone Security Assistant daemon (gsad)
Loaded: loaded (/lib/systemd/system/gsad.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-09-13 18:28:51 -04; 2h 48min ago
Docs: man:gsad(8)
https://www.greenbone.net
Process: 74100 ExecStart=/usr/sbin/gsad --listen 127.0.0.1 --port 9392 (code=exited, status=1/FAILURE)
CPU: 26ms

sep 13 18:28:50 p1 systemd[1]: gsad.service: Control process exited, code=exited, status=1/FAILURE
sep 13 18:28:50 p1 systemd[1]: gsad.service: Failed with result ‘exit-code’.
sep 13 18:28:50 p1 systemd[1]: Failed to start Greenbone Security Assistant daemon (gsad).
sep 13 18:28:51 p1 systemd[1]: gsad.service: Scheduled restart job, restart counter is at 10.
sep 13 18:28:51 p1 systemd[1]: Stopped Greenbone Security Assistant daemon (gsad).
sep 13 18:28:51 p1 systemd[1]: gsad.service: Start request repeated too quickly.
sep 13 18:28:51 p1 systemd[1]: gsad.service: Failed with result ‘exit-code’.
sep 13 18:28:51 p1 systemd[1]: Failed to start Greenbone Security Assistant daemon (gsad).

Can you help me, please? Thanks!!

You need to look at the openvas.log file to get some more info about the real issue.

1 Like

The other one is likely the same as Gsad.service activating - #13 by russm

1 Like

Thankssss. I installed the assistant and solved.

Then probleme i have ia with Scan, interrumped at 0%. I Tried qith db aadress same OpenVas -s with redus.conf and same problem, Tried greenbone-nvt-sync and this a error : connection reset by peer. Error in socket IO (video 10) arii.c(784). Connection unexpectedly clișee. Error in rsync protocol data stresam. Any idea about this problem? Thanks

If you don’t have feed data the scan will not work. Please read Building 21.4 from Source - Greenbone Community Documentation to get some info about the feed sync.

To be able to download the feed data you need to be able to use the rsync service on port 873 which is often blocked by firewalls.

1 Like

I Will read thanks. I no have firewall. I Will read this document.

It’s scanning 14% i hope will be ok :grinning:

Thank you a lot!

Sorry, i have a new problem, i can scan, however only in localhost show the vulnerabilities, but servers in others networks show severity = 0.0 (log), for my gateway show for severity = NA.
My router no have IPS, i no have firewall. Any idea???

Thanksssss

Please create a new topic for this new question with some additional info like:

  • Network setup
  • Additional info on the environment