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.
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.
] 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/
Typing such types of command without the background is really a dangerous way solving issues
I suggest you should understand your setup and what a socket is and how it is created first.