pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Steve Boyd <sboyd67@yahoo.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6140: PostgreSQL Server Service Not Starting
Date: Thu, 04 Aug 2011 09:16:41 +0800
Message-ID: <4E39F2F9.6040300@postnewspapers.com.au> (raw)
In-Reply-To: <4E388620.4040503@postnewspapers.com.au>
References: <201108021201.p72C1nDx013168@wwwmaster.postgresql.org>
	<4E388620.4040503@postnewspapers.com.au>

On 3/08/2011 7:20 AM, Craig Ringer wrote:
> On 2/08/2011 8:01 PM, Steve Boyd wrote:
>
>> "could not open process token: error code 5"
>>
>> The service account is in the local administrators group and has full
>> control over the data directory.
>
> AFAIK PostgreSQL service account should *NOT* be part of the local
> administrators group.
>
> That said, the fact that it fails so ungracefully is definitely a bug
> that bears investigation.

An on-list follow-up:

Removing the Pg service account from local admins resolved Steve's problem.

Pg should really fail more gracefully and informatively - or not fail to 
launch at all - in this case. It involves Win32 API programming, though....

--
Craig Ringer

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088     Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/



view thread (4+ messages)

Message-ID: <4E39F2F9.6040300@postnewspapers.com.au>
Permalink:  ../4E39F2F9.6040300@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4E39F2F9.6040300@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: craig@postnewspapers.com.au, sboyd67@yahoo.com
  Subject: Re: BUG #6140: PostgreSQL Server Service Not Starting
  In-Reply-To: <4E39F2F9.6040300@postnewspapers.com.au>
  References: <201108021201.p72C1nDx013168@wwwmaster.postgresql.org> <4E388620.4040503@postnewspapers.com.au> <4E39F2F9.6040300@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox