Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id F1417B5D944 for ; Wed, 3 Aug 2011 21:06:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 10117-02 for ; Thu, 4 Aug 2011 00:06:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [96.126.97.249]) by mail.postgresql.org (Postfix) with ESMTP id 3C423B5D80A for ; Wed, 3 Aug 2011 21:06:52 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id C02E785B; Wed, 3 Aug 2011 20:06:50 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZW4czLN-wRgj; Wed, 3 Aug 2011 20:06:49 -0400 (EDT) Received: from mail.postnewspapers.com.au (office1.postnewspapers.com.au [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 324A610D; Wed, 3 Aug 2011 20:06:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 73357AE4C8; Thu, 4 Aug 2011 08:06:47 +0800 (WST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.postnewspapers.com.au X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vaY9q7rGrS36; Thu, 4 Aug 2011 08:06:42 +0800 (WST) Received: from [10.1.1.8] (124-169-181-228.dyn.iinet.net.au [124.169.181.228]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 0F5E3AE490; Thu, 4 Aug 2011 08:06:42 +0800 (WST) Message-ID: <4E39E290.7050607@postnewspapers.com.au> Date: Thu, 04 Aug 2011 08:06:40 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Steven Boyd , "pgsql-bugs@postgresql.org" Subject: Re: BUG #6140: PostgreSQL Server Service Not Starting References: <1312377808.508.YahooMailClassic@web161511.mail.bf1.yahoo.com> In-Reply-To: <1312377808.508.YahooMailClassic@web161511.mail.bf1.yahoo.com> Content-Type: multipart/alternative; boundary="------------050905000409050109020809" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.7 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.801 X-Spam-Level: X-Archive-Number: 201108/35 X-Sequence-Number: 30847 This is a multi-part message in MIME format. --------------050905000409050109020809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 3/08/2011 9:23 PM, Steven Boyd wrote: > Craig, > Good morning! > Working in IT, I understand how hard it is to troubleshoot an issue > with an incomplete picture. I wanted to tell you that your suggestion > worked! I removed the postgres account from the local administrators > group, restarted the VM and the service started (I had to re-enter the > service account password so the account could be given the "logon as a > service" right). So we'll see where things go from there. I really > appreciate your suggestion and it might be something that you can put > in the manuals. > Glad to hear it worked. It's not so much something that should be documented, as something that should give a useful error message when it happens, or should handle the error and start correctly. Adding additional rights should *NOT* cause the Pg service to fail. If it's decided that it should for security reasons, a conf flag should be available to allow those who genuinely feel they need the added privs to enable them. A useful error should be emitted. That said, I find developing on Windows to be a lot like a dentist visit without anesthetic, so I'm not going to be stepping up to implement it ;-) . > POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/ --------------050905000409050109020809 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 3/08/2011 9:23 PM, Steven Boyd wrote:
Craig,
 
Good morning!
 
Working in IT, I understand how hard it is to troubleshoot an issue with an incomplete picture.  I wanted to tell you that your suggestion worked!  I removed the postgres account from the local administrators group, restarted the VM and the service started (I had to re-enter the service account password so the account could be given the "logon as a service" right).  So we'll see where things go from there.  I really appreciate your suggestion and it might be something that you can put in the manuals. 

Glad to hear it worked.

It's not so much something that should be documented, as something that should give a useful error message when it happens, or should handle the error and start correctly.

Adding additional rights should *NOT* cause the Pg service to fail. If it's decided that it should for security reasons, a conf flag should be available to allow those who genuinely feel they need the added privs to enable them. A useful error should be emitted.

That said, I find developing on Windows to be a lot like a dentist visit without anesthetic, so I'm not going to be stepping up to implement it ;-) .



POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/
--------------050905000409050109020809--