Skip site navigation (1) Skip section navigation (2)

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

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Armin Jenewein <jenewein(at)googlemail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Date: 2009-06-29 11:08:00
Message-ID: 1246273680.11346.12.camel@ayaki (view raw or flat)
Thread:
Lists: pgsql-bugs
On Sun, 2009-06-28 at 00:32 -0400, Tom Lane wrote:
> "Armin Jenewein" <jenewein(at)googlemail(dot)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


In response to

pgsql-bugs by date

Next:From: Craig RingerDate: 2009-06-29 11:19:18
Subject: Re: BUG #4892: postmaster died and didn't restart
Previous:From: Craig RingerDate: 2009-06-29 11:04:49
Subject: Re: BUG #4890: Allow insert character has no equivalent in "LATIN2"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group