From: | Serkan Bektaş <sbektas(at)karincaint(dot)com(dot)tr> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: cannot initdb ; semget(key=1, num=17, 03600) failed , FreeBSD |
Date: | 2002-03-12 19:13:06 |
Message-ID: | NGBBKAHEKENENJFJMBDGOEHPCBAA.sbektas@karincaint.com.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Joseph Koenig
Sent: 12 Mart 2002 Sali 16:18
To: pgsql-general(at)postgresql(dot)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?
From | Date | Subject | |
---|---|---|---|
Next Message | Hunter Hillegas | 2002-03-12 20:05:11 | Tuning 7.2? Different than 7.1.3? |
Previous Message | Neil Conway | 2002-03-12 18:51:14 | Re: Zlib vulnerability heads-up. |