FATAL: shmat(id=1179648) failed: Invalid argument - Mailing list pgsql-general

From Greg
Subject FATAL: shmat(id=1179648) failed: Invalid argument
Date
Msg-id 40E7D30D.6080908@interia.pl
Whole thread Raw
List pgsql-general
Hi,

creating template1 database in /var/pgsql/data1/base/1... DEBUG:
invoking IpcMemoryCreate(size=1081344)
FATAL:  shmat(id=1179648) failed: Invalid argument

What's the problem why is shmat passed a wrong id?

I temporarily need Postgres running on Windows98
just to write a client app and I'm stuck at this point.
The same problem has been posted on the cygwin list
but there's no solution so far.
I've got a recent cygwin and tried cygwin postgres 7.4.2-1 and 7.4.3-1
Do I need to tweak the configuration file for cygserver?
I guess the problem is on the cygwin's side
but got no clue how to tackle it.

Help greatly appreciated.

Greg

--

Running in debug mode.

initdb: internal variables:
   PGDATA=/var/pgsql/data1
   datadir=/usr/share/postgresql
   PGPATH=/usr/bin
   ENCODING=
   ENCODINGID=0
   POSTGRES_SUPERUSERNAME=admin
   POSTGRES_BKI=/usr/share/postgresql/postgres.bki
   POSTGRES_DESCR=/usr/share/postgresql/postgres.description
   POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
   PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
   PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
The files belonging to this database system will be owned by user "admin".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /var/pgsql/data1... ok
creating directory /var/pgsql/data1/base... ok
creating directory /var/pgsql/data1/global... ok
creating directory /var/pgsql/data1/pg_xlog... ok
creating directory /var/pgsql/data1/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /var/pgsql/data1/base/1... DEBUG:
invoking IpcMemoryCreate(size=1081344)
FATAL:  shmat(id=1179648) failed: Invalid argument
DEBUG:  proc_exit(1)
DEBUG:  shmem_exit(1)
DEBUG:  exit(1)

initdb: failed



pgsql-general by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: alter table cascade does not give notice about dropped
Next
From: Bruce Momjian
Date:
Subject: Major PG news article