Forum-Breadcrumbs - Du bist hier:Knowledge BaseSecurity - Don't let perfect the enemy of good: Kali/gvmdefault PostgreSQL version is not …
Bitte Anmelden, um Beiträge und Themen zu erstellen.
default PostgreSQL version is not that is required by libgvmd error
#1 · 15. Dezember 2022, 8:58
Zitat von mpachmann am 15. Dezember 2022, 8:58 Uhr[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (13) is not 14 that is required by libgvmd
[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster
One of the most probable reasons what may be preventing the service start is the port configuration - the following changes have to be done:
- sudo nano /etc/postgresql/newversion/main/postgresql.conf - search for port and change it to 5432;
- sudo nano /etc/postgresql/oldversion/main/postgresql.conf - check whether the port is the same as in the config. file above - if so, change it to e.g. 5433 (this must be different!)
- run sudo systemctl restart postgresql
- (re)run sudo gvm-setup and wait for the procedure to end (updating the GVM feeds may take a while).
[>] Starting PostgreSQL service
[-] ERROR: The default PostgreSQL version (13) is not 14 that is required by libgvmd
[-] ERROR: Use pg_upgradecluster to update your PostgreSQL cluster
One of the most probable reasons what may be preventing the service start is the port configuration - the following changes have to be done:
- sudo nano /etc/postgresql/newversion/main/postgresql.conf - search for port and change it to 5432;
- sudo nano /etc/postgresql/oldversion/main/postgresql.conf - check whether the port is the same as in the config. file above - if so, change it to e.g. 5433 (this must be different!)
- run sudo systemctl restart postgresql
- (re)run sudo gvm-setup and wait for the procedure to end (updating the GVM feeds may take a while).