Job for gvmd.service failed because a timeout was exceeded. See "systemctl status gvmd.service" and "journalctl -xeu gvmd.service" for details

Hi! I am having trouble finishing the setup for gvm and was wondering if anyone could guide me in the right direction. The error occurs below when running sudo gvm-check-setup. I will attach the log file content below as well.

gvm-check-setup 22.4.1
  Test completeness and readiness of GVM-22.4.1
Step 1: Checking OpenVAS (Scanner)... 
        OK: OpenVAS Scanner is present in version 22.4.1.
        OK: Notus Scanner is present in version 22.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: the mqtt_server_uri is defined in /etc/openvas/openvas.conf
        OK: _gvm owns all files in /var/lib/openvas/plugins
        OK: NVT collection in /var/lib/openvas/plugins contains 85180 NVTs.
        OK: The notus directory /var/lib/notus/products contains 426 NVTs.
Checking that the obsolete redis database has been removed
        OK: No old Redis DB
        OK: ospd-OpenVAS is present in version 22.4.6.
Step 2: Checking GVMD Manager ... 
        OK: GVM Manager (gvmd) is present in version 22.4.2.
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     | en_US.UTF-8 | en_US.UTF-8 |            | libc            | 
16451|pg-gvm|10|2200|f|22.4.0||
        OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) ... 
        OK: Greenbone Security Assistant is present in version 22.04.1~git.
Step 7: Checking if GVM services are up and running ... 
        OK: ospd-openvas service is active.
        Starting gvmd service
Job for gvmd.service failed because a timeout was exceeded.
See "systemctl status gvmd.service" and "journalctl -xeu gvmd.service" for details.
        Waiting for gvmd service
        ERROR: gvmd service did not start.
        Please check journalctl -xe and /var/log/gvm/gvmd.log

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

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

OUTPUT FROM /var/log/gvm/gvmd.log

md manage:MESSAGE:2023-04-19 22h27.02 utc:4112: No SCAP database found
libgvm util:   INFO:2023-04-19 22h27.02 utc:4112: starting key generation ...
libgvm util:WARNING:2023-04-19 22h27.02 utc:4112: error creating OpenPGP key 'GVM Credential Encryption': Permission denied <GnuPG>
libgvm util:MESSAGE:2023-04-19 22h27.02 utc:4112: error searching for OpenPGP key 'GVM Credential Encryption': Not found
md   main:CRITICAL:2023-04-19 22h27.02 utc:4112: gvmd: failed to initialise GMP daemon

OUTPUT FROM systemctl status gvmd.service

● gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)
     Loaded: loaded (/lib/systemd/system/gvmd.service; disabled; preset: disabled)
     Active: activating (start) since Wed 2023-04-19 18:30:03 EDT; 41s ago
       Docs: man:gvmd(8)
    Process: 4676 ExecStart=/usr/sbin/gvmd --osp-vt-update=/run/ospd/ospd.sock --listen-group=_gvm (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 2245)
     Memory: 4.0K
        CPU: 67ms
     CGroup: /system.slice/gvmd.service

Apr 19 18:30:03 kali systemd[1]: Starting gvmd.service - Greenbone Vulnerability Manager daemon (gvmd)...
Apr 19 18:30:03 kali systemd[1]: gvmd.service: Can't open PID file /run/gvmd/gvmd.pid (yet?) after start: Operation not permitted

I can clearly tell from the log something is wrong but I can’t find a good way to understand the issue or fix it, so any help is GREATY appreciated. If you need any more information from me please let me know! :slight_smile: