Re: Updated Cygwin Package: postgresql-7.4.2-1 - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Updated Cygwin Package: postgresql-7.4.2-1
Date
Msg-id 20040613152746.GI772@tishler.net
Whole thread Raw
In response to Re: Updated Cygwin Package: postgresql-7.4.2-1  ("David P. Lurie" <dbase4@hotmail.com>)
List pgsql-cygwin
David,

On Sat, Jun 12, 2004 at 10:57:25PM -0400, David P. Lurie wrote:
> 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.
>
> [snip]
>
> postmaster : PID 3388 : starting service `r' failed: redirect_fd: open
> (1, /var/log/postmaster.log): 13, Permission denied.

Does the following from the README help?

    3. Cygwin PostgreSQL can fail to start or not function properly if
    certain files and directories have incorrect permissions.  The
    following usually solves these kinds of problems:

        $ chmod a+rwx /tmp
        $ chmod a+rx /usr/bin /usr/bin/*
        $ chmod a+rw /var/log # could adversely affect other daemons

In particular, note the third chmod above.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: "David P. Lurie"
Date:
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Next
From: "Barry"
Date:
Subject: Source name not found