View Full Version : postgresql not starting (gvm 20.8 upgrade)

2021-03-07, 23:22
I have Kali 2021.1 installed /from an upgrade.

tried upgrading from gvm11 to gvm 20.8 and that did not work
So my latest attempt was to uninstall gvm and postgresql with it's database to try and install gvm 20.8 and get it to work
installed postgresql-13.2
I am at this stage with postgresql:

logged in as sudo su - postgres

psql gives the following

psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

there was no pga_hba.conf in /etc/postgresql - I was able to place a copy in from the sample file out of postgresql

also when running
sudo pg_ctlcluster 13 main start

gives the following:

Error: specified cluster '13 main' does not exist

these are basic errors, but can someone point me in the right direction?
I can post what I did to get it to work.

How do i create the main cluster and the template1