From owner-freebsd-questions Wed Jun 19 9:25: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (h015.c007.snv.cp.net [209.228.33.243]) by hub.freebsd.org (Postfix) with SMTP id 7C4B837B406 for ; Wed, 19 Jun 2002 09:24:53 -0700 (PDT) Received: (cpmta 2483 invoked from network); 19 Jun 2002 09:24:51 -0700 Received: from 64.194.5.249 (HELO jaymax.com) by smtp.directvinternet.com (209.228.33.243) with SMTP; 19 Jun 2002 09:24:51 -0700 X-Sent: 19 Jun 2002 16:24:51 GMT Message-ID: <3D10B0FD.F0B7F4A5@jaymax.com> Date: Wed, 19 Jun 2002 09:27:42 -0700 From: Joseph Maxwell X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Problems w/ Semaphore - I'm in 'jail' Content-Type: multipart/alternative; boundary="------------BDD3560F58A3DEFFF09E0A18" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --------------BDD3560F58A3DEFFF09E0A18 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, Hope there are users in this group w/ PostgreSQL familiarity and this BSD interaction I am setting up postgreSQL and have ran into a problem related to either kernel config or operating within 'the jail'. Some interactions w/ the postgresql user groups ==> Systems: PostgreSQL version 7.2.1, with all default settings on a BSD platform ,4.5-RELEASE FreeBSD. hostname# initdb -D /usr/local/pgsql/data The files belonging to this database system will be owned by user "postgres". This user must also own the server process. Fixing permissions on existing 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 creating template1 database in /usr/local/pgsql/data/base/1... IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not implemented initdb failed. Any ideas on the semget() function, remembered reading on it somewhere before but can't remember where I hope this does not call for a kernel rebuild I did an ipcs -s which ===> hostname# ipcs -s Semaphores: T ID KEY MODE OWNER GROUP hostname# Any insight on this type of problem? Response ===> Hmm, usually this means either the kernel's not configured for SYSV ipc or that you're running in a jail and the sysctl to let the jail use sysv ipc is not turned on. Is this a plausible explanation, & if it is that the kernel's not configured for SYSV ipc or that I am running in a jail how can the sysctl be turned on to allow the jail to use sysv ipc? Thanks I've spoken w/ my ISP, Tech. support personnel not quite familiar w/ problem but promised to investigate. Any other experienced opinions welcomed ... --- Joe --- --------------BDD3560F58A3DEFFF09E0A18 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hello,
Hope there are users in this group w/ PostgreSQL familiarity and this BSD interaction
I am setting up postgreSQL and have ran into a problem related to either
kernel config or operating within 'the jail'.

Some interactions w/ the postgresql user groups ==>

Systems:  PostgreSQL version 7.2.1, with all default settings on a
  BSD platform  ,4.5-RELEASE FreeBSD.
 

  hostname# initdb -D /usr/local/pgsql/data
   The files belonging to this database system will be owned by user "postgres".
   This user must also own the server process.

   Fixing permissions on existing 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
   creating template1 database in /usr/local/pgsql/data/base/1...
   IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not implemented

   initdb failed.
 

   Any ideas on the semget() function, remembered reading on it somewhere before but
   can't remember where
   I hope this does not call for a kernel rebuild
   I did an ipcs -s which ===>
 
       hostname# ipcs -s
       Semaphores:
       T     ID     KEY        MODE       OWNER    GROUP

      hostname#
 

   Any insight on this type of problem?

Response ===>
  Hmm, usually this means either the kernel's not configured for SYSV ipc
  or that you're running in a jail and the sysctl to let the jail use
  sysv ipc is not turned on.
 

Is this a plausible explanation, & if it is that  the kernel's not configured for SYSV ipc
or that I am running in a jail how can the sysctl be turned on to allow the jail to use sysv ipc?

 Thanks

I've spoken w/ my ISP, Tech. support personnel not quite familiar w/ problem but promised to investigate.
Any other experienced opinions welcomed ...

---   Joe   ---
 
 
  --------------BDD3560F58A3DEFFF09E0A18-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message