postgresql-ctl systemd failed: permission denied

Поиск
Список
Период
Сортировка
От arnaud gaboury
Тема postgresql-ctl systemd failed: permission denied
Дата
Msg-id CAK1hC9sMTOGEW1gftNiqczp-B8iNj3VrBC6dGHhV2tz2_kOBxQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: postgresql-ctl systemd failed: permission denied  (Francisco Olarte <folarte@peoplecall.com>)
Re: postgresql-ctl systemd failed: permission denied  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-general
On Fedora 22

% pg_ctl -V
pg_ctl (PostgreSQL) 9.4.4

----------------------------------------------------------------
% systemctl status postgresql.service -l
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/etc/systemd/system/postgresql.service; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2015-07-28 11:50:01
CEST; 19min ago

Jul 28 11:49:56 poppy systemd[1]: Starting PostgreSQL database server...
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/


I have found a few entries on the web but with no clear fix. I even
saw this was a bug.

Can anyone tell me more and how to fix if it is possible?

Thank you
--

google.com/+arnaudgabourygabx


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

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: *SOLVED* Connections closing due to "terminating connection due to administrator command"
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: postgresql-ctl systemd failed: permission denied