Re: cannot write block blind: Permission denied

From: Jason Tishler <jason(at)tishler(dot)net>
To: Brian McGiverin <bmcgiverin(at)saffrontech(dot)com>
Cc: "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: cannot write block blind: Permission denied
Date: 2003-07-09 17:16:13
Message-ID: 20030709171613.GC652@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Henshall, Stuart - TNP Southwest 2003-07-10 09:28:46 Re: trouble compiling PHP with PostgreSQL under cygwin
Previous Message Brian McGiverin 2003-07-09 16:08:18 cannot write block blind: Permission denied