X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D0AD13A4543 for ; Thu, 25 Nov 2004 06:11:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28736-09 for ; Thu, 25 Nov 2004 06:11:38 +0000 (GMT) Received: from tibor.swiftdsl.com.au (tibor.swiftdsl.com.au [202.154.92.226]) by svr1.postgresql.org (Postfix) with ESMTP id 307F13A4531 for ; Thu, 25 Nov 2004 06:11:25 +0000 (GMT) Received: (qmail 3581 invoked from network); 25 Nov 2004 06:11:16 -0000 Received: from unknown (HELO laptop) ([218.214.0.75]) (envelope-sender ) by tibor.swiftdsl.com.au (qmail-ldap-1.03) with SMTP for ; 25 Nov 2004 06:11:16 -0000 From: "James Nyunt" To: Subject: postgres in windows xP Date: Thu, 25 Nov 2004 17:10:11 +1100 Message-ID: <000001c4d2b5$6fe700a0$6401a8c0@laptop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C4D311.A35778A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_70_80, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200411/189 X-Sequence-Number: 15572 This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C4D311.A35778A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi I have been trying to get postgres in windows through cygwin. No success yet. I followed all the instructions in postgresql-7.4.5 step by step. But the last a few steps, particularly, in step 9, cygrunsrv -S postmaster doesn't work. I could not start postmaster as service at all. I have added postgres to log on as service in secpol.msc. I can also see postmaster in service, in postmaster's property, log in tab, I can also see postgres. Ok, here are a few messages, I got, I tried both commands cygrunsrv and net start. When I run as admin user , who got admin right, I got these errors admin@laptop ~ $ cygrunsrv -S postmaster cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. admin@laptop ~ $ net start postmaster The postmaster service is starting. The postmaster service could not be started. A system error has occurred. System error 1067 has occurred. The process terminated unexpectedly. When I run as postgres user, who got limited right, I got these postgres@laptop ~ $ cygrunsrv -S postmaster cygrunsrv: Error starting a service: OpenSCManager: Win32 error 5: Access is denied. postgres@laptop ~ $ net start postmaster System error 5 has occurred. Access is denied. Any Help please, With many thanks James ------=_NextPart_000_0001_01C4D311.A35778A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

I have been trying to get postgres in windows through cygwin. No success yet. I followed all the instructions in = postgresql-7.4.5 step by step. But the last a few steps, particularly, in step 9, cygrunsrv –S postmaster  doesn’t work. I could not = start postmaster as service at all. I have added postgres to log on as service in = secpol.msc. I can also see postmaster in service, in postmaster’s property, log = in tab, I can also see postgres.

Ok, here are a few messages, I got, I tried both = commands cygrunsrv and net start.

When I run as   admin user , who got admin = right, I got these errors

 

admin@laptop ~

$ cygrunsrv -S = postmaster

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 = error 1062:

The service has not been = started.

 

admin@laptop ~

$ net start postmaster

The postmaster service is = starting.

The postmaster service could not be = started.

 

A system error has = occurred.

 

System error 1067 has = occurred.

 

The process terminated = unexpectedly.

 

When I run as postgres user, who got limited right, I = got these

 

postgres@laptop ~

$ cygrunsrv -S = postmaster

cygrunsrv: Error starting a service: = OpenSCManager:  Win32 error = 5:

Access is denied.

 

postgres@laptop ~

$ net start postmaster

System error 5 has = occurred.

 

Access is denied.

 

 

Any Help please,

With many thanks

James

 

 

------=_NextPart_000_0001_01C4D311.A35778A0--