Your GVM-21.4.3 installation is not yet complete!

Hello everyone,
Hello all,
I have the following problem, GVM does not start.

psql: Fehler: Verbindung zum Server auf Socket »/var/run/postgresql/.s.PGSQL.5432« fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
Läuft der Server lokal und akzeptiert er Verbindungen auf diesem Socket?
ERROR: The Postgresql DB does not exist.
FIX: Run ‘sudo runuser -u postgres – /usr/share/gvm/create-postgresql-database’

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

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

1 Like

Hi @Bruzzler and welcome to the forum :slight_smile:

This part below:

ERROR: The Postgresql DB does not exist.
FIX: Run ‘sudo runuser -u postgres – /usr/share/gvm/create-postgresql-database’

is telling you that the database is missing and what to do to fix the error. You will want to run

sudo runuser -u postgres – /usr/share/gvm/create-postgresql-database

from the command line to create the database and see if it fixes it.

2 Likes

Hello,
thanks for the answer.

when i enter this code then i get the message:
sudo runuser -u postgres – /usr/share/gvm/create-postgresql-database
runuser: failed to execute –: Datei oder Verzeichnis nicht gefunden

new message:
redis-openvas/redis-server.sock
ERROR: redis-server is not running or not listening on socket: /var/run/redis-openvas/redis-server.sock
FIX: You should start the redis-server with ‘systemctl start redis-server@openvas.service’ or configure it to listen on socket: /var/run/redis-openvas/redis-server.sock

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

sudo gvm-start
[>] Please wait for the GVM services to start.
[>]
[>] You might need to refresh your browser once it opens.
[>]
[>] Web UI (Greenbone Security Assistant): https://127.0.0.1:9392

Job for ospd-openvas.service failed because the control process exited with error code.
See “systemctl status ospd-openvas.service” and “journalctl -xeu ospd-openvas.service” for details.

1 Like

] Creating extension pgcrypto
psql: Fehler: Verbindung zum Server auf Socket »/var/run/postgresql/.s.PGSQL.5432« fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
Läuft der Server lokal und akzeptiert er Verbindungen auf diesem Socket?

Hi @Bruzzler and thanks for the additional info. Are you using Kali Linux? They have their own package of the software and their own scripts (we can offer hints, but there are different things so we can’t support it fully). It looks like some things might be missing, so whenever you see an error, stop at that error and fix that one (in the order that they appear), then try running the script again, then fix the next error, until none are left. Help and resources for Kali Linux is here: https://forums.kali.org/

2 Likes

thank you :slightly_smiling_face:

You’re welcome :slight_smile:

sudo chmod 777 /run/gvm/gvmd.sock
chmod: cannot access ‘/run/gvm/gvmd.sock’: No such file or directory

My system allready done pip and GitHub but what is problem I am try but we not solved

Hi,

Typing such types of command without the background is really a dangerous way solving issues :wink:
I suggest you should understand your setup and what a socket is and how it is created first.

2 Likes