From jamesn@swiftdsl.com.au Thu Nov 25 06:11:41 2004 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-- From vishalonlist@gmail.com Thu Nov 25 17:24:07 2004 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 9A25C3A474C for ; Thu, 25 Nov 2004 17:24:07 +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 38223-07 for ; Thu, 25 Nov 2004 17:24:02 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by svr1.postgresql.org (Postfix) with ESMTP id 8903C3A4744 for ; Thu, 25 Nov 2004 17:24:01 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 71so559345wra for ; Thu, 25 Nov 2004 09:24:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=DMRs9X9LFQHIclRfR/qaYp/VKVGZAtehYoitY/INfZuhgrVvkKeHEJplkU5fakv0jNkWfXuByOVzJXsEqFlV2AQVTLNppysWfebfQLLbFpnqHEbqXFzR+f4JK0MLFVopN8n2akl37f94k9VKPqWb80bxmarz+sUvrYnmgnwRvHk= Received: by 10.54.5.10 with SMTP id 10mr404473wre; Thu, 25 Nov 2004 09:24:00 -0800 (PST) Received: by 10.54.50.31 with HTTP; Thu, 25 Nov 2004 09:24:00 -0800 (PST) Message-ID: <77b69d2104112509244f970d18@mail.gmail.com> Date: Thu, 25 Nov 2004 22:54:00 +0530 From: "Vishal Kashyap @ [SaiHertz]" Reply-To: "Vishal Kashyap @ [SaiHertz]" To: James Nyunt Subject: Re: postgres in windows xP Cc: pgsql-admin@postgresql.org In-Reply-To: <000001c4d2b5$6fe700a0$6401a8c0@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <000001c4d2b5$6fe700a0$6401a8c0@laptop> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/190 X-Sequence-Number: 15573 Dear James , I dont know why you want to stick to cygwin when a windows port for PostgreSQL is available just download it at ftp://ftp22.us.postgresql.org/mirrors/ftp.postgresql.org/win32/postgresql-8.0.0-beta5-en.zip Kindly note its in beta state thus requesting you to use at maximum and report errors / bugs here. -- With Best Regards, Vishal Kashyap. Lead Software Developer, http://saihertz.com, http://vishalkashyap.tk From juanmime@ono.com Thu Nov 25 19:57:46 2004 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 908353A47BD for ; Thu, 25 Nov 2004 19:57:46 +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 19539-01 for ; Thu, 25 Nov 2004 19:57:43 +0000 (GMT) Received: from mta02.onolab.com (smtp.ono.com [62.42.230.12]) by svr1.postgresql.org (Postfix) with ESMTP id 6EF053A47B7 for ; Thu, 25 Nov 2004 19:57:43 +0000 (GMT) Received: from [192.168.1.101] (84.122.163.142) by mta02.onolab.com (7.1.016.11) (authenticated as juanmime) id 415C438A0045A7EE; Thu, 25 Nov 2004 20:57:33 +0100 Message-ID: <41A6392F.5070605@ono.com> Date: Thu, 25 Nov 2004 20:57:35 +0100 From: Juan Miguel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: es-es, en-us, en MIME-Version: 1.0 To: James Nyunt Cc: pgsql-admin@postgresql.org Subject: Re: postgres in windows xP References: <000001c4d2b5$6fe700a0$6401a8c0@laptop> In-Reply-To: <000001c4d2b5$6fe700a0$6401a8c0@laptop> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/191 X-Sequence-Number: 15574 I suggest that you try with Postgresql 8. It's already in beta phase, but is Windows native, and does not need cygwin. The performance of postgres with cygwin is poor. > 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 >