Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Date: 2012-07-14 05:19:04
Message-ID: 50010148.3080303@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 07/13/12 6:00 AM, tsialiam(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-07-14 05:20:53 Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Previous Message Craig Ringer 2012-07-14 04:56:50 Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied