Re: cannot write block blind: Permission denied - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: cannot write block blind: Permission denied
Date
Msg-id 20030709171613.GC652@tishler.net
Whole thread Raw
In response to cannot write block blind: Permission denied  (Brian McGiverin <bmcgiverin@saffrontech.com>)
List pgsql-cygwin
Brian,

On Wed, Jul 09, 2003 at 12:08:18PM -0400, Brian McGiverin wrote:
> However, I do not know if this is Windows' way of reporting to
> cygwin/postgres that a file locking problem occurred.

Bingo!  My WAG is that more than one process is trying to (exclusively)
access the same file.

> I apologize for not having a consistent method of reproducing the
> problem... I'm working on it. :-)

When you can, you may want to strace postmaster so you can get the
winerror that is associated with the permission denied error.  However,
I will warn you that the strace log will probably be huge and the
winerror will most likely be 5.

Another alternative is to use the Sysinternals Filemon utility to
determine whether or not my WAG is correct.  Unfortunately, if I am,
then it may be difficult to solve this problem... :,(

> Please let me know if there is a better forum for this problem.

No, this is probably the best place.  You may want to try the Cygwin
list if you can isolate the problem down to a Cygwin issue.

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: Brian McGiverin
Date:
Subject: cannot write block blind: Permission denied
Next
From: Xinyu Hua
Date:
Subject: installation question