Unable to start GVM , getting these errors

This is the log for gvm start check :

gvm-check-setup 21.4.2
Test completeness and readiness of GVM-21.4.2
Step 1: Checking OpenVAS (Scanner)…
OK: OpenVAS Scanner is present in version 21.4.2.
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 75769 NVTs.
Checking that the obsolete redis database has been removed
OK: No old Redis DB
OK: ospd-OpenVAS is present in version 21.4.2.
Step 2: Checking GVMD Manager …
OK: GVM Manager (gvmd) is present in version 21.4.3.
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.
[5:12 AM]
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 | en_US.UTF-8 | en_US.UTF-8 |
OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) …
Oops, secure memory pool already initialized
OK: Greenbone Security Assistant is present in version 21.4.2.
Step 7: Checking if GVM services are up and running …
Starting ospd-openvas service
Job for ospd-openvas.service failed because the control process exited with error code.
See “systemctl status ospd-openvas.service” and “journalctl -xe” for details.
Waiting for ospd-openvas service
ERROR: ospd-openvas service did not start.
Please check journalctl -xe

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

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

This is the system ctl status for openvas sercvice
systemctl status ospd-openvas.service
● ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)
Loaded: loaded (/lib/systemd/system/ospd-openvas.service; disabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2021-08-24 05:29:05 +0545; 21s ago
Docs: man:ospd-openvas(8)
man:openvas(8)
Process: 9839 ExecStart=/usr/bin/ospd-openvas --config /etc/gvm/ospd-openvas.conf --log-config /etc/gvm/ospd-logging.conf --unix-socket /run/ospd/ospd.sock --pid-file /run/ospd/ospd-o>
CPU: 424ms

Aug 24 05:26:25 sudo[9623]: : TTY=pts/1 ; PWD=/home/ ; USER=root ; COMMAND=/usr/bin/gvm-check-setup
Aug 24 05:26:25 sudo[9623]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Aug 24 05:27:49 sudo[9623]: pam_unix(sudo:session): session closed for user root

Googled a lot for this but unable to solve this issue;

Hi,

first of all it would be easier if you reformat the output as preformatted text. It is very difficult to read.
Nevertheless the actual error is not listed. I guess you are using Kali Linux. In that case you should find a log file with more errors at /var/log/gvm/ospd-openvas.log.

2 Likes

Hi @s3curitymatt3rs,

To solve your issue go to this video well explained how to solve the problem GVM-21.4.2 installation is not yet completed! and also you can have a look at this website to find more instructions OpenVas Setup

1 Like

Video doesn’t have any influence I have correct settings in this files.

/var/log/gvm/ospd-openvas.log
OSPD[218338] 2022-04-02 10:47:57,374: WARNING: (ospd_openvas.openvas) Could not gather openvas settings. Reason Command ‘[‘o
penvas’, ‘-s’]’ returned non-zero exit status 127.
OSPD[218338] 2022-04-02 10:48:02,387: WARNING: (ospd_openvas.openvas) Could not gather openvas settings. Reason Command ‘[‘o
penvas’, ‘-s’]’ returned non-zero exit status 127.
OSPD[218338] 2022-04-02 10:48:07,392: WARNING: (ospd_openvas.openvas) Could not gather openvas settings. Reason Command ‘[‘o
penvas’, ‘-s’]’ returned non-zero exit status 127.
OSPD[218338] 2022-04-02 10:48:12,399: ERROR: (ospd_openvas.db) Redis Error: Not possible to connect to the kb.