View Issue Details

IDProjectCategoryView StatusLast Update
0008688Kali LinuxKali Package Bugpublic2025-03-20 13:02
Reporteryasserhabib Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
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

g0tmi1k

g0tmi1k

2025-03-20 13:02

administrator   ~0020439

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2024-03-24 07:22 yasserhabib New Issue
2025-03-20 13:02 g0tmi1k Note Added: 0020439
2025-03-20 13:02 g0tmi1k Status new => closed