Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Date
Msg-id 50010148.3080303@hogranch.com
Whole thread Raw
In response to BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied  (tsialiam@gmail.com)
List pgsql-bugs
On 07/13/12 6:00 AM, tsialiam@gmail.com wrote:
> PANIC:  42501: could not open control file "global/pg_control": Permission
> denied

start a CMD prompt ('dos') via 'run as admin'.
from this privileged command window,

     CACLS \path\to\pg\data /T /E /G pss-svc:(OI)(CI)F

then try restarting postgres.

LOCAL_SYSTEM created the files, and owns them.

Oh, the pss-svc user should not be a member of Administrators.




--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Next
From: Tom Lane
Date:
Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied