Thread: initdb failed: Detail: Failed system call was shmget(key=1,size=1081344, 03600)

initdb failed: Detail: Failed system call was shmget(key=1,size=1081344, 03600)

From
"Sheela Rayala"
Date:
Installed Cygwin on a Win2k machine.  After pouring
thru the existing archives about logging in as a
seperate database user before initializing postgresql,
created a user called postgres, ran the sshd
configuration script (selected no when asked "should
privilege seperation be used").  then gave the command
ssh -l ,<user> localhost and started it as a service.
Then gave the command "initdb -D
/usr/share/postgresql/data".  It started off creating
the directories in data and then came up with
/
Creating template1 database in
/usr/share/postgresql/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

How do I recover from this and start initdb?

Thanks for the help,
Sheela

Re: initdb failed: Detail: Failed system call was shmget(key=1,size=1081344, 03600)

From
Peter Eisentraut
Date:
Sheela Rayala wrote:
> Creating template1 database in
> /usr/share/postgresql/data/base/1/... FATAL:could not
> create shared memory segment: Function not implemented

You forgot to start ipc-daemon.