Re: postgresql-ctl systemd failed: permission denied

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: postgresql-ctl systemd failed: permission denied
Дата
Msg-id CA+bJJbwSP+Pc5aMkhJCUm7YgSpE_t6ELDoAegXJ_mfa=od3dOA@mail.gmail.com
обсуждение исходный текст
Ответ на postgresql-ctl systemd failed: permission denied  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Ответы Re: postgresql-ctl systemd failed: permission denied  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Список pgsql-general
Hi Arnaud...

On Tue, Jul 28, 2015 at 12:13 PM, arnaud gaboury
<arnaud.gaboury@gmail.com> wrote:
> On Fedora 22
...
> Jul 28 11:49:57 poppy postgresql-ctl[307]: FATAL:  42501: could not
> open log file "/storage/log/postgresql/postgresql-Tue.log": Permission
> denied
> Jul 28 11:49:57 poppy postgresql-ctl[307]: LOCATION:  logfile_open,
> syslogger.c:1160
> Jul 28 11:50:01 poppy postgresql-ctl[307]: pg_ctl: could not start server
> ----------------------------------------------------------------

> % ls -al /storage/log
> drwxr-xr-x 1 postgres postgres    0 Jul 28 11:29 postgresql/

May be stating the obvious, but can you try 'touch
/storage/log/postgresql/postgresql-Tue.log" as postgres to see it it
works. Also, doing the ls -al on /storage/log/postgresql, in case it
has a previous read only file for Tue, and may be even a lsattr on the
paths ( listing the fs type will be useful too, maybe Fedora is using
some extended thingies ).

Francisco Olarte.


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

Предыдущее
От: arnaud gaboury
Дата:
Сообщение: postgresql-ctl systemd failed: permission denied
Следующее
От: arnaud gaboury
Дата:
Сообщение: Re: postgresql-ctl systemd failed: permission denied