Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 277C455C5A4 for ; Mon, 16 Jul 2012 12:03:22 -0300 (ADT) Received: from mail-qa0-f46.google.com ([209.85.216.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SqmpU-0001or-DI for pgsql-bugs@postgresql.org; Mon, 16 Jul 2012 15:03:21 +0000 Received: by qadb17 with SMTP id b17so1608150qad.19 for ; Mon, 16 Jul 2012 08:03:07 -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=lvyra2ymBVw/Oth02FJ7Ash4ym5mblGTE9tfta15rYI=; b=buun2yYJHgqsi7Htur144R03q8510zrBwi2KKuHjU1LW2yKpVm7MWNbioXgYJKusGM /LFWdTbGR/dKzu+nM3xdXwgQZ5H/4u/BtyZrijuSssTyZtuxq4H87nHNeXsU+EjSR1jK 3PGKCkjEYNyoxAEfOK/uow5wVp7rFcMEgApdhdRTpFnOHJLgvQRzhn7QSlDUnCMjPggl +AEu1EF4yHuByMABnlmd8GOI82TA1TFwET2SvlLooQ9l1RyjhU4yT04HlSWgw1M3eQfv 79mEdySZGpdYNxvVOdxVjUg93kp1uf4P66XP+FQkhPYowzHMORoA1+bOFpr0xv0vhxQC q+Yg== Received: by 10.50.188.201 with SMTP id gc9mr5374506igc.44.1342450986909; Mon, 16 Jul 2012 08:03:06 -0700 (PDT) Received: from ayaki.localdomain (58-7-231-93.dyn.iinet.net.au. [58.7.231.93]) by mx.google.com with ESMTPS id q1sm19130692igj.15.2012.07.16.08.03.04 (version=SSLv3 cipher=OTHER); Mon, 16 Jul 2012 08:03:06 -0700 (PDT) Message-ID: <50042D25.8030605@ringerc.id.au> Date: Mon, 16 Jul 2012 23:03:01 +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: Petros Tsialiamanis CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied References: <50003BAB.8050505@ringerc.id.au> <5000FC12.90300@ringerc.id.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmvlIU6JOPicEJWjF3zprPMLc7+XXzPLjd3ANGnOxbUV3wZXtSMVD0A3p/TdBS3/YIEdnGY X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/120 X-Sequence-Number: 33596 On 07/16/2012 07:54 PM, Petros Tsialiamanis wrote: > Sorry for the misunderstanding. When I said that I reproduced the > error in 9.1 version, I mean that I created the PGDATA with 9.1 > postgresql server as 'local system' user and after that I tried to > start the postgresql server as 'pss-svc' user and I took the error > message which I sent with my previous mail. So there isn't any > incompatibility problem with PGDATA. OK, that helps explain that. Thanks for following up with a current version, then. I have a Windows VM on this machine so I'll see if I can reproduce that issue. I need a bit more information to do so. Specifically I need to know how the user 'pss-svc' was created, what its group memberships are and what its rights are ("can interact with desktop", "login as service", etc). > As 'pss-svc' user I can open, read and write to the pg_control file ( > I took backup of this file first ). Open, read and write using what command(s) or programs? Is there a UAC prompt? Did you run the CACLS command you were given by John? > I have exactly the same problem when I try to start progresql server > as Administrator instead of 'pss-svc' user If 'pss-svc' user is a member of Administrators or Local Admins, remove the user from those groups. Pg is quite insistent about not being run as admin. That shouldn't be the cause of these issues, as it's quite explicit about it when that's the case, but it's a good idea anyway. Personally I think Pg should let this up to the user, but that's the way it is for now. -- Craig Ringer