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

From David P. Lurie
Subject Re: Updated Cygwin Package: postgresql-7.4.2-1
Date
Msg-id canjke$bu1$1@sea.gmane.org
Whole thread Raw
In response to Updated Cygwin Package: postgresql-7.4.2-1  (Jason Tishler <jason@tishler.net>)
Responses Re: Updated Cygwin Package: postgresql-7.4.2-1
List pgsql-cygwin
Jason -

"Jason Tishler" <jason@tishler.net> wrote > Is it still failing on the
following:
>
> > postmaster : PID 3388 : starting service `r' failed: redirect_fd: open
> > (1, /var/log/postmaster.log): 13, Permission denied.
>
> If so, what does the following indicate?
>
> $ ls -ld /var/log /var/log/postmaster.log
> drwxrwxrwt+   4 jt       None         4096 Jun 13 11:39 /var/log
> -rw-r--r--    1 postgres None       644805 Jun 13 11:40
/var/log/postmaster.log
>
$ ls -ls
total 1371
   0 -rw-r--r--    1 SYSTEM   root            0 Jun 14 13:58 cygserver.log
   4 -rw-r--r--    1 David P. None         3865 Jun 15 11:41 postmaster.log
  30 -rwxr-x---+   1 David P. Users       30043 Jun 13 18:07 setup.log
1337 -rwxr-x---+   1 David P. Users     1368129 Jun 13 18:07 setup.log.full

I think that the leftover postmaster.log from when I set up postgresql from
my normal logon caused the problem via permissions.

I moved that log to a different name, retried starting the postmaster
service (as user postgres), with success.

Thanks a lot for your assistance.

David



pgsql-cygwin by date:

Previous
From: Frank Seesink
Date:
Subject: Re: Source name not found
Next
From: Jason Tishler
Date:
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1