Re: Cygwin-Postgres-IpcMemoryCreate - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Cygwin-Postgres-IpcMemoryCreate
Date
Msg-id 20020417204816.GA1800@tishler.net
Whole thread Raw
In response to Cygwin-Postgres-IpcMemoryCreate  (Saravanan Bellan <SBellan@jareva.com>)
List pgsql-cygwin
On Tue, Apr 16, 2002 at 02:34:08PM -0700, Saravanan Bellan wrote:
> This was initially posted in comp.databases.postgresql.ports.cygwin.
>
> Updates:
>
> If using the rename() instead of link() the following error is not
> experienced anymore.
>
> > 1) FATAL 2:  link from /cygdrive/C/pg/data/pg_xlog/0000000000000004 to
> > /cygdrive/C/pg/data/pg_xlog/0000000000000007 (initialization of log
> > file 0, segment 7) failed: Permission denied

Please post your patch for the above, so we know precisely what change
you needed to make to solve your problem.  If the patch looks good,
then the next step would be to post it to pgsql-patches for consideration.

Note, however, that I have never seen an error message like the above.
What is your system info?

    Cygwin version
    cygipc version
    Windows version
    CYGWIN environment variable setting
    filesystem type (i.e., NTFS, FAT, etc.)

> But the following error,I think, is independent of the above one.
>
> > DEBUG:  all server processes terminated; reinitializing shared memory
> > and semaphores
> > IpcMemoryCreate: shmget(key=5432001, size=1441792, 03600) failed: Not
> > enough memory

I have seen the above error message when the permissions of the following
files were incorrect:

    /tmp/cygipc*
    /tmp/MultiFile*

Try removing them to see if this is your problem.

> Please the read the following initial post anyway.
>
> [snip]

BTW, I just built and tested PostgreSQL 7.2.1 under Cygwin 1.3.10.  make
installcheck passed all tests.

Jason

pgsql-cygwin by date:

Previous
From: Fernando Schapachnik
Date:
Subject: [GENERAL] Compiling libpgtcl.dll
Next
From: Tim Finch
Date:
Subject: Re: PostgreSQL and Cygwin as production database