I have installed gvm and I cann’t run it everytime I go to https://127.0.0.1:9392 … it show me failed connection! And when I tried to check the issues that’s what happened:
1 - when I put this command:
$ sudo gvm-check-setup
It showed me this error:
Step 5: Checking Postgresql DB and user
OK: Postgresql version and default port are OK.
ERROR: The Postgresql DB does not exist.
FIX: Run ‘sudo runuser -u postgres - /usr/share/gm/create-postgresql-database’
2- when I tried to run the command as it said:
$ sudo runuser -u postgres - /usr/share/gm/create-postgresql-database
It showed me this error:
[ij User -gvm already exists in PostgreSQL [il Database gmd already exists in PostgreSQL
[i] Role DBA already exists in PostgreSQL
[*] Applying permissions
NOTICE:
role “_gvm” has already been granted membership in role “ba” by role “postgres”
GRANT ROLE
[i] Extension wuid-ossp already exists for gmd database
[i] Extension pcrypto already exists for gmd database
[i] Extension pg-gm already exists for gumd database
…
So all databases seems exist already so why I keep get this error?
Please help I been in this problem since long time.
Thanks