Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: "robert(at)redo2oo(dot)ch" <robert(at)redo2oo(dot)ch>
Cc: robert rottermann <robert(at)redcor(dot)ch>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Date: 2021-01-24 07:04:08
Message-ID: CAOBaU_bjyqL49wiPe4rFHt0zrBaSmJU9Ru61JORUdjRWaUSScg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Jan 24, 2021 at 2:58 PM robert(at)redo2oo(dot)ch <robert(at)redo2oo(dot)ch> wrote:
>
> root(at)elfero-test:~/scripts# pg_lsclusters
> Ver Cluster Port Status Owner Data directory Log file
> 10 main 5433 online postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log
> [...]
> psycopg2.OperationalError: could not connect to server: Connection refused
> Is the server running on host "localhost" (127.0.0.1) and accepting
> TCP/IP connections on port 5432?

It looks like your instance is configured to listen on port 5433, not 5432.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hemil Ruparel 2021-01-24 07:08:21 Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Previous Message robert@redo2oo.ch 2021-01-24 06:58:02 Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it