BUG #1090: initdb does not work

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1090: initdb does not work
Date: 2004-03-03 03:07:59
Message-ID: 20040303030759.6B44FCF4D3C@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1090
Logged by: Simon

Email address: simon(dot)huang(at)miusi(dot)com

PostgreSQL version: 7.4

Operating system: windows and cygwin

Description: initdb does not work

Details:

hi,
I installed the last version of cygwin(the version of the setup.exe is
2.416) in my windows XP, when I want to init the postgres, it throw a error
could you please tell me how to solve this problem

thanks in advanced
Simon

-----------------------------------------
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "Simon
Huang".

This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/share/postgresql/data/base/1... FATAL:
coul
d 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/share/postgresql/data"

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ben 2004-03-03 03:59:36 Re: 转发: docs on tsearch2
Previous Message 帅猛 2004-03-03 02:42:27 转发: docs on tsearch2