Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target - Mailing list pgsql-general

From Marco Ippolito
Subject Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
Date
Msg-id CAFegzBSTYU+-1k33HJG+VoE6xyyGU+GNZ8t0z09868JT9Gu1cw@mail.gmail.com
Whole thread Raw
In response to Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hi Adrian,

after purging from Ubuntu 18.04.02 everything related to postgresql-11, I re-installed it and made it working, yes...finally working... with this useful and good guidelines: https://pgdash.io/blog/postgres-11-getting-started.html.

Marco

Il giorno mer 18 set 2019 alle ore 16:41 Adrian Klaver <adrian.klaver@aklaver.com> ha scritto:
On 9/18/19 6:13 AM, Marco Ippolito wrote:
> Thanks Matthias,
> very kind. Hopefully I will get some hints on how to solve my problem.

You should probably take a look at:

https://help.ubuntu.com/lts/serverguide/postgresql.html

FYI, you should set the permission son /usr/lib/postgresql back to root
and use:

sudo pg_ctl <command>

>
> Marco
>
> Il giorno mer 18 set 2019 alle ore 15:11 Matthias Apitz
> <guru@unixarea.de <mailto:guru@unixarea.de>> ha scritto:
>
>     El día Wednesday, September 18, 2019 a las 12:44:20PM +0200, Marco
>     Ippolito escribió:
>
>      > thanks Andreas.
>      >
>      > After changing ownership of /usr/lib/postgresql to postgres user,
>      >
>      > postgres@pc:/home/marco$ /usr/lib/postgresql/11/bin/pg_ctl -D
>      > /usr/local/pgsql/data -l /usr/lib/postgresql/11/log/logfile start
>      > waiting for server to start.... done
>      > server started
>      > postgres@pc:/home/marco$
>      >
>      > But now... how to call and use psql?
>
>     Marco, I compiled 11.4 on Linux for our needs and wrote a Confluence
>     page about this and the cluster setup. I could send you this pages
>     in PDF off-list.
>
>              matthias
>     --
>     Matthias Apitz, ✉ guru@unixarea.de <mailto:guru@unixarea.de>,
>     http://www.unixarea.de/ +49-176-38902045
>     Public GnuPG key: http://www.unixarea.de/key.pub
>     May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
Next
From: Matthias Apitz
Date:
Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target