dbTalk Databases Forums  

Get error during initdb

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Get error during initdb in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Olaf Meding
 
Posts: n/a

Default Get error during initdb - 01-10-2004 , 11:44 AM






Any suggestions as to why I can not initialize the database (see error
below) are greatly appreciated.

I am new to PostgreSQL. I am using W2K, Cygwin, and within Cygwin
PostgreSQL 7.4.1-2.

Olaf


omeding@santorini ~
$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "omeding".
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"

omeding@santorini ~
$



Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: Get error during initdb - 01-11-2004 , 02:15 PM






"Olaf Meding" <OlafMeding (AT) noSpam (DOT) compuserve.com> writes:
Quote:
I am new to PostgreSQL. I am using W2K, Cygwin, and within Cygwin
PostgreSQL 7.4.1-2.
You need to enable the cygipc code to run PG under Cygwin. This is
explained somewhere in the docs, but not being a Cygwin user, I'm
not sure exactly where...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
  #3  
Old   
George Weaver
 
Posts: n/a

Default Re: Get error during initdb - 01-11-2004 , 09:28 PM



Olaf,

Check out the following readme for assistance with this problem:

http://www.tishler.net/jason/softwar...l-7.4.1.README

You need to make sure that you are using the right version of cygipc, that
it is running, and that you have set the file permissions correctly.

Regards,
George

----- Original Message -----
From: "Olaf Meding" <OlafMeding (AT) noSpam (DOT) compuserve.com>
To: <pgsql-novice (AT) postgresql (DOT) org>
Sent: Saturday, January 10, 2004 11:44 AM
Subject: [NOVICE] Get error during initdb


Quote:
Any suggestions as to why I can not initialize the database (see error
below) are greatly appreciated.

I am new to PostgreSQL. I am using W2K, Cygwin, and within Cygwin
PostgreSQL 7.4.1-2.

Olaf


omeding@santorini ~
$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user
"omeding".
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"

omeding@santorini ~
$



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.