View Issue Details

IDProjectCategoryView StatusLast Update
0008688Kali LinuxKali Package Bugpublic2024-03-24 07:42
Reporteryasserhabib Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0008688: I cannot run gvm “ERROR: The Postgresql DB does not exist.
Description

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. I have attached a screenshot

Thanks

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-03-24 07:22 yasserhabib New Issue