Skip site navigation (1) Skip section navigation (2)

running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2

From: "Dave VanAuken" <dave(at)hawk-systems(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2
Date: 2001-01-04 22:04:50
Message-ID: DBEIKNMKGOBGNDHAAKGNMEINCLAA.dave@hawk-systems.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-generalpgsql-hackers
Have a FreeBSD 4.2 box...  have created two Virtual machines with the
jail process.
Apache and PHp configure and execute fine, but am having some
configuration and execution problems with pgsql... not sure if I am
missing something or if pgsql just cannot deal with being in the jail
and sharing the sysv memory

Attempting to manually start the postmaster produces the following:

%postmaster -i
IpcMemoryCreate: shmget failed (Function not implemented) key=5432010,
size=144, permission=700
This type of error is usually caused by an improper
shared memory or System V IPC semaphore configuration.
For more information, see the FAQ and platform-specific
FAQ's in the source directory pgsql/doc or on our
web site at http://www.postgresql.org.
IpcMemoryIdGet: shmget failed (Function not implemented) key=5432010,
size=144, permission=0
IpcMemoryAttach: shmat failed (Function not implemented) id=-2
FATAL 1:  AttachSLockMemory: could not attach segment
%

Have modified the sysctl.conf file to allow usage of sysv memory, but
as it is already shared from the host machine, this may be causing
pgsql to barf on it.

Searching for jail faq's and posts regarding this matter produces some
close, but not helpful posts regarding chroot'ed environments.

Any insights, requests for details, and assistance are appreciated.

Dave


In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2001-01-04 22:33:13
Subject: Re: Missing ColLabel tokens
Previous:From: Tom LaneDate: 2001-01-04 21:44:32
Subject: Re: Missing ColLabel tokens

pgsql-admin by date

Next:From: Merhaut, James HDate: 2001-01-05 00:10:42
Subject: Listing users
Previous:From: Dave VanAukenDate: 2001-01-04 18:02:21
Subject: Installation and execution under Jail'ed virtual machine

pgsql-general by date

Next:From: Jeff DavisDate: 2001-01-04 22:12:29
Subject: Restriction of Database size
Previous:From: Nelio Alves Pereira FilhoDate: 2001-01-04 20:17:08
Subject: Inheritance and Foreign Keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group