Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 62D50EA3551 for ; Fri, 13 Jul 2012 12:16:15 -0300 (ADT) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SphbJ-0004CY-Js for pgsql-bugs@postgresql.org; Fri, 13 Jul 2012 15:16:14 +0000 Received: by yenl2 with SMTP id l2so3663857yen.19 for ; Fri, 13 Jul 2012 08:16:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=rJUrU+DJfZ1Ofcm3G2HaUd9jDWQ8NvwZ8kB3Ad88YPU=; b=cx2iGoyX67ZE9bBoggxH3Rv6LeEvFNFD+Yt+HpshpxplpLzjYDwMdYuGA3e9glnSu+ 90xCM/xS6VW+VlljLpvdWXotjyq+8Kjx/DZpig98IQww1hiPLYmanjofvelKVorsFz7r LWpf25yOjDURlZ0a7owSba3gJUX122e3+qT9GNS0MW8duKUIiReu/9lCNEw8MgPwSi0d JIxgSeyK4XudkqL6cMvPaDe0Q2k8cUiJC97WKOk8+HChZIf5aG+9kyi+CqKjwHmKC+D/ MB0WXZi826BkaVfIW2SPfPiizvaHA6dNv9HdOLsjGJ9QJiPOVmP8LgTZrEzuAd5++pdu BcjQ== Received: by 10.66.79.195 with SMTP id l3mr2886693pax.33.1342192559849; Fri, 13 Jul 2012 08:15:59 -0700 (PDT) Received: from ayaki.localdomain (124-169-84-247.dyn.iinet.net.au. [124.169.84.247]) by mx.google.com with ESMTPS id jp10sm6183993pbb.16.2012.07.13.08.15.57 (version=SSLv3 cipher=OTHER); Fri, 13 Jul 2012 08:15:58 -0700 (PDT) Message-ID: <50003BAB.8050505@ringerc.id.au> Date: Fri, 13 Jul 2012 23:15:55 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 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 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkfOsfSsH6E8c4u4rWVFlvZuB29lojUlJYd/c6+Cl4njoUKi+DIUoSv3v4QoKQLFg/aMk3I X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/106 X-Sequence-Number: 33582 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