pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Marco Ippolito <ippolito.marco@gmail.com>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: No existing local cluster is suitable as a default target
Date: Wed, 18 Sep 2019 07:41:41 -0700
Message-ID: <793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com> (raw)
In-Reply-To: <CAFegzBT5_GSQbRTpamocdJL8GqPHrFJ+DGG=pChc6-Lh8nJmAQ@mail.gmail.com>
References: <CAFegzBRjjrzv2mPTi4_dYAZjqvL951CbfRffngnCmmy5jN1QRA@mail.gmail.com>
	<VisenaEmail.56.bae53721737ec52e.16d43e8f7e1@tc7-visena>
	<CAFegzBQ-mO076Xrs7KSLeZCDXw3JzA6R3kTm4y1W64zDGDnrvg@mail.gmail.com>
	<20190918131106.GA167414@sh4-5.1blu.de>
	<CAFegzBT5_GSQbRTpamocdJL8GqPHrFJ+DGG=pChc6-Lh8nJmAQ@mail.gmail.com>

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





view thread (13+ messages)  latest in thread

Message-ID: <793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com>
Permalink:  ../793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com/
Also on:    postgresql.org/message-id/793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ippolito.marco@gmail.com, guru@unixarea.de
  Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: No existing local cluster is suitable as a default target
  In-Reply-To: <793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com>
  References: <CAFegzBRjjrzv2mPTi4_dYAZjqvL951CbfRffngnCmmy5jN1QRA@mail.gmail.com> <VisenaEmail.56.bae53721737ec52e.16d43e8f7e1@tc7-visena> <CAFegzBQ-mO076Xrs7KSLeZCDXw3JzA6R3kTm4y1W64zDGDnrvg@mail.gmail.com> <20190918131106.GA167414@sh4-5.1blu.de> <CAFegzBT5_GSQbRTpamocdJL8GqPHrFJ+DGG=pChc6-Lh8nJmAQ@mail.gmail.com> <793c3697-dc15-973b-575e-e269cf3b0cad@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox