FATAL: shmat(id=1179648) failed: Invalid argument

From: Greg <gsl(at)interia(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: FATAL: shmat(id=1179648) failed: Invalid argument
Date: 2004-07-04 09:51:09
Message-ID: 40E7D30D.6080908@interia.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-07-04 12:00:46 Major PG news article
Previous Message Adam Smith 2004-07-04 08:54:26 Re: Is this a "Stupid Question" ?