Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 316A81337B4F for ; Mon, 29 Nov 2010 18:14:59 -0400 (AST) 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 40603-04 for ; Mon, 29 Nov 2010 22:14:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id E14411335B36 for ; Mon, 29 Nov 2010 18:14:51 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PNBzl-0008PH-2B for pgsql-admin@postgresql.org; Mon, 29 Nov 2010 23:14:49 +0100 Received: from ppp-93-104-185-163.dynamic.mnet-online.de ([93.104.185.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Nov 2010 23:14:49 +0100 Received: from spam_eater by ppp-93-104-185-163.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Nov 2010 23:14:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Re: Postgres service won't start, doesn't log any errors Date: Mon, 29 Nov 2010 23:14:33 +0100 Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ppp-93-104-185-163.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/240 X-Sequence-Number: 36206 Joe Carr wrote on 19.10.2010 00:55: > Hi Thomas, Thanks for your reply. pg_ctrl has given me some more > information, but I'm not quite there yet. > > I have verified that the postgres user has "full control" access to > the data directory. > > When I take the commandline from the service definition and execute > it, I get the following: > > C:\Program Files\PostgreSQL\9.0\bin>"C:/Program > Files/PostgreSQL/9.0/bin/pg_ctl.exe" runservice -N "postgresql-9.0" > -D "C:/Program Files/PostgreSQL/9.0/data" -w > > pg_ctl: could not start service "postgresql-9.0": error code 1063 > > So, if I replace "runservice" with "start", the server starts without issue : > > and this will work whether I'm logged in as "postgres" or under my > user account. Additionally, the \data\pg_log directory is being > filled with logging information, indicating (I believe), that > permissions are set correctly. > > But, the service will not start from the service control manager, or > pgAdmin3 (which I imagine attempts to start the service in the same > manner). > > So, I think it's very close at this point. Thanks again beforehand! Are you sure the service is started under the postgres account? Is the password given there correct? Regards Thomas