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 Adrian Klaver
Subject Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
Date
Msg-id 793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.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  (Marco Ippolito <ippolito.marco@gmail.com>)
Responses Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
List pgsql-general
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: Pg_auto_failover
Next
From: Marco Ippolito
Date:
Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target