From: Dave VanAuken <dave@hawk-systems.com>
To: pgsql-general@postgresql.org
Subject: running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2
Date: Thu, 4 Jan 2001 17:04:50 -0500
Message-ID: <DBEIKNMKGOBGNDHAAKGNMEINCLAA.dave@hawk-systems.com> (raw)
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNAEHLCLAA.dave@hawk-systems.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dave@hawk-systems.com, pgsql-general@postgresql.org
Subject: Re: running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNMEINCLAA.dave@hawk-systems.com>
References: <DBEIKNMKGOBGNDHAAKGNAEHLCLAA.dave@hawk-systems.com> <DBEIKNMKGOBGNDHAAKGNMEINCLAA.dave@hawk-systems.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox