Re: postgres in windows xP

Lists: pgsql-admin
From: "James Nyunt" <jamesn(at)swiftdsl(dot)com(dot)au>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: postgres in windows xP
Date: 2004-11-25 06:10:11
Message-ID: 000001c4d2b5$6fe700a0$6401a8c0@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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(at)laptop ~
$ cygrunsrv -S postmaster
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
1062:
The service has not been started.

admin(at)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(at)laptop ~
$ cygrunsrv -S postmaster
cygrunsrv: Error starting a service: OpenSCManager: Win32 error 5:
Access is denied.

postgres(at)laptop ~
$ net start postmaster
System error 5 has occurred.

Access is denied.


Any Help please,
With many thanks
James



From: "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>
To: James Nyunt <jamesn(at)swiftdsl(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres in windows xP
Date: 2004-11-25 17:24:00
Message-ID: 77b69d2104112509244f970d18@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

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: Juan Miguel <juanmime(at)ono(dot)com>
To: James Nyunt <jamesn(at)swiftdsl(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres in windows xP
Date: 2004-11-25 19:57:35
Message-ID: 41A6392F.5070605@ono.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

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(at)laptop ~
>
> $ cygrunsrv -S postmaster
>
> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
>
> The service has not been started.
>
> admin(at)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(at)laptop ~
>
> $ cygrunsrv -S postmaster
>
> cygrunsrv: Error starting a service: OpenSCManager: Win32 error 5:
>
> Access is denied.
>
> postgres(at)laptop ~
>
> $ net start postmaster
>
> System error 5 has occurred.
>
> Access is denied.
>
> Any Help please,
>
> With many thanks
>
> James
>