Re: [GENERAL] Can't restart Postgres

Поиск
Список
Период
Сортировка
От Gmail
Тема Re: [GENERAL] Can't restart Postgres
Дата
Msg-id 8F8F9F19-DAFB-46B3-837D-5C5C6E773F15@gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Can't restart Postgres  (Shawn Thomas <thomassd@u.washington.edu>)
Список pgsql-general


Sent from my iPad

On Feb 14, 2017, at 9:47 PM, Shawn Thomas <thomassd@u.washington.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@9.4-main.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 ?

В списке pgsql-general по дате отправления:

Предыдущее
От: Shawn Thomas
Дата:
Сообщение: Re: [GENERAL] Can't restart Postgres
Следующее
От: Sathesh S
Дата:
Сообщение: [GENERAL] Get tables ending with numbers