Re: Can't restart Postgres

From: Gmail <robjsargent(at)gmail(dot)com>
To: Shawn Thomas <thomassd(at)u(dot)washington(dot)edu>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't restart Postgres
Date: 2017-02-15 05:26:40
Message-ID: 8F8F9F19-DAFB-46B3-837D-5C5C6E773F15@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sent from my iPad

> On Feb 14, 2017, at 9:47 PM, Shawn Thomas <thomassd(at)u(dot)washington(dot)edu> wrote:
>
> No it doesn’t matter if run with sudo, postgres or even root. Debian actually wraps the command and executes some some initial scripts with different privileges but ends up making sure that Postgres ends up running under the postgres user. I get the same output if run with sudo:
>
> sudo systemctl status postgresql(at)9(dot)4-main(dot)service -l
> Error: could not exec start -D /var/lib/postgresql/9.4/main -l /var/log/postgresql/postgresql-9.4-main.log -s -o -c config_file="/etc/postgresql/9.4/main/postgresql.conf”
>
> Thanks, though.
>
> -
which start

Can you run start with -x ?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sathesh S 2017-02-15 06:16:51 Get tables ending with numbers
Previous Message Shawn Thomas 2017-02-15 04:47:16 Re: Can't restart Postgres