# Gvm-setup is not working

**URL:** <https://forum.greenbone.net/t/gvm-setup-is-not-working/10750>\
**Category:** Greenbone Community Edition\
**Created:** [November 19, 2021, 5:55am UTC](https://forum.greenbone.net/t/gvm-setup-is-not-working/10750 "2021-11-19T05:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pewi](https://forum.greenbone.net/letter_avatar/pewi/32/6_449c533f586939b6e5f246632a46421f.png) [@Pewi](https://forum.greenbone.net/u/Pewi)\
**Post date:** [November 19, 2021, 5:55am UTC](https://forum.greenbone.net/t/gvm-setup-is-not-working/10750/1 "2021-11-19T05:55:12Z")

</div>

![Postgresql not working](https://community.greenbone.net/uploads/default/original/2X/2/2f2fc92dbf168e3c18577e599d04a34312b110a6.png)

I tried the same thing on 3 different VMs and it’s not working  
when I used psql --version it says PostgreSQL versions is 14  
so idk what I’m doing wrong

---

<div class="post-metadata">

**Author:** ![heewey](https://forum.greenbone.net/user_avatar/forum.greenbone.net/heewey/32/1770_2.png) [@heewey](https://forum.greenbone.net/u/heewey)\
**Post date:** [November 19, 2021, 10:07am UTC](https://forum.greenbone.net/t/gvm-setup-is-not-working/10750/2 "2021-11-19T10:07:19Z")

</div>

Hi,

check - [GVM Install & setting on kali linux 2020.3 - #6 by bricks](https://community.greenbone.net/t/gvm-install-setting-on-kali-linux-2020-3/7298/6)

> **[r/Kalilinux - openVAS install errors](https://www.reddit.com/r/Kalilinux/comments/jfitq5/openvas_install_errors/)**
>
> Bis jetzt 7 Votes und 25 Kommentare auf Reddit

A quick solution is to edit the " `port =` " lines in the

`/etc/postgresql/12/main/postgresql.conf`

and

`/etc/postgresql/13/main/postgresql.conf`

configuration files. Give the v. 13 port the value of 5432, and give the v. 12 port any other value. Then restart postgres using:

`sudo systemctl restart postgresql`"

Do the same for Postgres 14

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [April 7, 2025, 10:12am UTC](https://forum.greenbone.net/t/gvm-setup-is-not-working/10750/3 "2025-04-07T10:12:59Z")

</div>

Closed on April 7, 2025, 10:12am UTC


