dbTalk Databases Forums  

[BUGS] BUG #1090: initdb does not work

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1090: initdb does not work in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1090: initdb does not work - 03-02-2004 , 09:11 PM







The following bug has been logged online:

Bug reference: 1090
Logged by: Simon

Email address: simon.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"



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

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

Reply With Quote
  #2  
Old   
Suresh Babu.A.G
 
Posts: n/a

Default Re: [BUGS] BUG #1090: initdb does not work - 03-03-2004 , 03:37 PM






Hi,

Use ipc-daemon2.exe instead of ipc-daemon.exe

I had the same problem and the same message when I upgraded to the latest
version. Using the ipc-demon2.exe solved the problem

TIP the message
selecting default max_connections... 10 should be 100 after starting
ipc-daemon2.exe









Quote:
From: "PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] BUG #1090: initdb does not work
Date: Tue, 2 Mar 2004 23:07:59 -0400 (AST)

The following bug has been logged online:

Bug reference: 1090
Logged by: Simon

Email address: simon.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"



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

http://www.postgresql.org/docs/faqs/FAQ.html
__________________________________________________ _______________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag
Only on www.shaadi.com. Register now!


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #3  
Old   
Richard Huxton
 
Posts: n/a

Default Re: [BUGS] BUG #1090: initdb does not work - 06-10-2004 , 03:03 AM



On Wednesday 03 March 2004 03:07, PostgreSQL Bugs List wrote:
Quote:
The following bug has been logged online:

Bug reference: 1090
Logged by: Simon
Email address: simon.huang (AT) miusi (DOT) com

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

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).
Have you read the FAQ?
http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN

You don't say whether you followed step 3a - starting the ipc daemon.
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


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.