Skip site navigation (1) Skip section navigation (2)

initdb error: create shared memory segment: Function not implemented

From: "Larry Wipperman" <larryw(at)ilhawaii(dot)net>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: initdb error: create shared memory segment: Function not implemented
Date: 2004-07-05 08:16:50
Message-ID: JJEPIEKGGMPMGMJAIENCIEKIEPAA.larryw@ilhawaii.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
I have installed the latest Cygwin release on Windows 2000.
After building and installing postgresql-7.4.3 (along with the PostGIS
contribution package), when I execute initdb the following error occurs.  A
couple of days ago I installed the postgresql package from Cygwin and initdb
worked fine.  I executed configure before building as follows:
./configure --with-perl --with-java --enable-multibyte --with-CXX --prefix=/
usr --sysconfdir=/etc --docdir=/usr/doc/postgresql-$version.

Any ideas?

Thanks,
Larry Wipperman

The error:
bash-2.05b$ cygrunsrv -Q cygserver
Service cygserver exists
Type                : Own Process
Current State       : Running
Controls Accepted   : Accept Stop
bash-2.05b$ initdb -D /usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user "lkw".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:  could
not
 create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=1, size=1081344, 03600).

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"



Responses

pgsql-cygwin by date

Next:From: zuhans@iname.comDate: 2004-07-05 09:35:33
Subject: Re: signal 12 -SOLVED - solution included!! - with max_connections
Previous:From: cronDate: 2004-07-05 07:51:21
Subject: Problem with NTFS (win2000)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group