initdb fails with invalid argument to shmat

From: Kevin Marth <kem1(at)peoplepc(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: initdb fails with invalid argument to shmat
Date: 2004-06-27 05:13:53
Message-ID: 31643283.1088313233737.JavaMail.root@wamui01.slb.atl.earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I am using Cygwin 1.5.10-3 and postgresql 7.4.3-1 freshly downloaded and installed from scratch earlier today.

I have set CYGWIN=server and started cygserver (from the default account).

I receive the following when I execute "initdb -D /home/default/data --debug". Can someone set me straight? I don't see this particular problem in the archives. Thanks.

================

Running in debug mode.

initdb: internal variables:
PGDATA=/home/default/data
datadir=/usr/share/postgresql
PGPATH=/usr/bin
ENCODING=
ENCODINGID=0
POSTGRES_SUPERUSERNAME=default
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 "default".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /home/default/data... ok
creating directory /home/default/data/base... ok
creating directory /home/default/data/global... ok
creating directory /home/default/data/pg_xlog... ok
creating directory /home/default/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /home/default/data/base/1... DEBUG: invoking IpcMemoryCreate(size=1081344)
FATAL: shmat(id=983040) failed: Invalid argument
DEBUG: proc_exit(1)
DEBUG: shmem_exit(1)
DEBUG: exit(1)

________________________________________
PeoplePC Online
A better way to Internet
http://www.peoplepc.com

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message cron 2004-06-27 09:43:29 Problem with NTFS
Previous Message Mark Lubratt 2004-06-26 18:11:22 Upgrade 7.4.1 to 7.4.3 not working