Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Дата
Msg-id 1246273680.11346.12.camel@ayaki
обсуждение исходный текст
Ответ на Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Sun, 2009-06-28 at 00:32 -0400, Tom Lane wrote:
> "Armin Jenewein" <jenewein@googlemail.com> writes:
> > When i run "/etc/init.d/postgresql status" as a non-root user, it shows
> > "postmaster is stopped" while it actually is running. If i run it as root it
> > reports correctly.
>
> AFAICS this just depends on "pidof postmaster".  Perhaps you should be
> filing a bug against pidof.

First, though, make sure that SELinux isn't hiding the `postmaster'
process from your normal users. Make sure you can actually see it with
`ps aux' or `ps -ef' .

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #4890: Allow insert character has no equivalent in "LATIN2"
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #4892: postmaster died and didn't restart