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

Re: Updated Cygwin Package: postgresql-7.4.2-1

From: Jason Tishler <jason(at)tishler(dot)net>
To: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Date: 2004-06-13 15:27:46
Message-ID: 20040613152746.GI772@tishler.net (view raw or flat)
Thread:
Lists: pgsql-announcepgsql-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

In response to

Responses

pgsql-cygwin by date

Next:From: BarryDate: 2004-06-13 16:59:25
Subject: Source name not found
Previous:From: Windemuth AndreasDate: 2004-06-13 03:49:37
Subject: Problem with initdb

pgsql-announce by date

Next:From: Joerg BudischewskiDate: 2004-06-13 19:44:03
Subject: Native postgresql driver for OpenOffice.org
Previous:From: David P. LurieDate: 2004-06-13 02:57:25
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1

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