pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: tsialiam@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
Date: Fri, 13 Jul 2012 23:15:55 +0800
Message-ID: <50003BAB.8050505@ringerc.id.au> (raw)
In-Reply-To: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org>
References: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org>

On 07/13/2012 09:00 PM, tsialiam@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6735
> Logged by:          Petros Tsialiamanis
> Email address:      tsialiam@gmail.com
> PostgreSQL version: 8.3.5
> Operating system:   WinXP Pro SP3
> Description:
>
> Hi,
> The first time I started the postgresql server as 'Local System' user and I
> created the PGDATA. Now I am trying to start the postgresql server again as
> 'pss-svc' user which is member of  Administrators group and I take the
> following error message (I've changed the debug log level)

The server shouldn't crash at the end, but otherwise this is all 
misconfiguration of your system. If you change the service account, you 
need to change the permissions on the PostgreSQL data directory to match 
the new service account credentials.

> DEBUG:  00000: mapped win32 error code 5 to 13
> LOCATION:  _dosmaperr, .\src\port\win32error.c:182
> PANIC:  42501: could not open control file "global/pg_control": Permission
> denied
> LOCATION:  ReadControlFile, .\src\backend\access\transam\xlog.c:3904
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> server starting
>

I'm not sure why it's crashing here, but you're running such an ancient 
version that it's hard to care. If you can reproduce the crash with the 
latest 8.3 point release it might be worth a look.

--
Craig Ringer





view thread (7+ messages)  latest in thread

Message-ID: <50003BAB.8050505@ringerc.id.au>
Permalink:  ../50003BAB.8050505@ringerc.id.au/
Also on:    postgresql.org/message-id/50003BAB.8050505@ringerc.id.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: ringerc@ringerc.id.au, tsialiam@gmail.com
  Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied
  In-Reply-To: <50003BAB.8050505@ringerc.id.au>
  References: <E1SpfTr-0004sc-RC@wrigleys.postgresql.org> <50003BAB.8050505@ringerc.id.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