postgres in windows xP - Mailing list pgsql-admin

From James Nyunt
Subject postgres in windows xP
Date
Msg-id 000001c4d2b5$6fe700a0$6401a8c0@laptop
Whole thread Raw
Responses Re: postgres in windows xP
Re: postgres in windows xP
List pgsql-admin

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

 

 

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: hardware to get best performance
Next
From: "Vishal Kashyap @ [SaiHertz]"
Date:
Subject: Re: postgres in windows xP