Skip site navigation (1) Skip section navigation (2)

Re: Updated Cygwin Package: postgresql-7.4.2-1

From: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Cc: cygwin-announce(at)cygwin(dot)com
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Date: 2004-06-13 02:57:25
Message-ID: cagfqm$c5o$1@sea.gmane.org (view raw or flat)
Thread:
Lists: pgsql-announcepgsql-cygwin
"Jason Tishler" <jason(at)tishler(dot)net> wrote in message
news:20040611151956(dot)GA1960(at)tishler(dot)net(dot)(dot)(dot)
> New News:
> === ====
> I have updated the version of PostgreSQL to 7.4.2-1.  The tarballs should
> be available on a Cygwin mirror near you shortly.
>
> The following are notable changes since the previous release:
>
>     o build against cygserver instead of cygipc
>     o upgrade to PostgreSQL 7.4.2
>

I was able to get both cygserver and postmaster to install as services under
XP Pro, but only cygserver will successfully run as a service.

postmaster fails to run as a service, either from the command line or the
control panel services applet. C:\cygwin\bin is in the system path.

Here is the error when run from a bash shell prompt:

$ cygrunsrv -S postmaster
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

The Windows event viewer lists the following errors:

postmaster : PID 3388 : starting service `r' failed: redirect_fd: open (1,
/var/log/postmaster.log): 13, Permission denied.



postmaster : PID 2716 : starting service `postmaster' failed: execv: 1,
Operation not permitted.




postmaster seems to load normally from a command line with pg_ctl.

I tried installing it as a service to be run by the postgres user (with
privileges to run as a service) per the README, and then by my logon when
that failed.

Thanks,

David P. Lurie




In response to

Responses

pgsql-cygwin by date

Next:From: Windemuth AndreasDate: 2004-06-13 03:49:37
Subject: Problem with initdb
Previous:From: Larry AdamsDate: 2004-06-12 03:12:55
Subject: Problem in Cygwin1.DLL

pgsql-announce by date

Next:From: Jason TishlerDate: 2004-06-13 15:27:46
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Previous:From: Jason TishlerDate: 2004-06-11 15:19:57
Subject: Updated Cygwin Package: postgresql-7.4.2-1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group