Re: cannot initdb ; semget(key=1, num=17, 03600) failed , FreeBSD - Mailing list pgsql-general

From Serkan Bektaş
Subject Re: cannot initdb ; semget(key=1, num=17, 03600) failed , FreeBSD
Date
Msg-id NGBBKAHEKENENJFJMBDGOEHPCBAA.sbektas@karincaint.com.tr
Whole thread Raw
In response to cannot initdb  (Joseph Koenig <joe@jwebmedia.com>)
List pgsql-general
You can see active semaphores  ;
   ipcs -s

and you can remove semaphores ;
   ipcrm - s <sem ID>


karincaint# ipcs -s
Semaphores:
T     ID     KEY        MODE       OWNER    GROUP
s 1114112    5432001 --rw-------    pgsql    pgsql
s 1114113    5432002 --rw-------    pgsql    pgsql
s 655362    5432003 --rw-------    pgsql    pgsql

karincaint# ipcrm -s 1114112


You must remove all active semaphores before initdb
I hope this helps.

Serkan Bektas




-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org]On Behalf Of Joseph Koenig
Sent: 12 Mart 2002 Sali 16:18
To: pgsql-general@postgresql.org
Subject: [GENERAL] cannot initdb


I installed 7.1.3 from ports on FreeBSD 4.2 and when I tried to initdb,
it failed:

su -l pgsql -c initdb
This database system will be initialized with username "pgsql".
This user will own all the data files and must also own the server process.

Creating directory /usr/local/pgsql/data
Creating directory /usr/local/pgsql/data/base
Creating directory /usr/local/pgsql/data/global
Creating directory /usr/local/pgsql/data/pg_xlog
Creating template1 database in /usr/local/pgsql/data/base/1
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
implemented

initdb failed.
Removing /usr/local/pgsql/data.
Removing temp file /tmp/initdb.16303.

What does the IpcSemaphoreCreate line mean? Thanks,

Joe

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org





pgsql-general by date:

Previous
From: Serkan Bektaş
Date:
Subject: Re: cannot initdb
Next
From: Hunter Hillegas
Date:
Subject: Tuning 7.2? Different than 7.1.3?