Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 13:14:23 -0500
From:      "Dave VanAuken" <dave@hawk-systems.com>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   FreeBSD 4.2 > jailled virtual machine and PostgreSQL install/execute
Message-ID:  <DBEIKNMKGOBGNDHAAKGNIEHMCLAA.dave@hawk-systems.com>
In-Reply-To: <20010104114456.A66792@wjv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Have posted this to a pgsql list, but fear that the problem may be
with the interaction of it and the jail'ed virtual machine.

FreeBSD 4.2 host machine
2 Jailled virtual machines on the host with apache, php...
running fine with the insightfull tips from jail users in this list.

in installing the pgsql port... problems arise

(note, this port was installed prior to the apache port which
installed php, mysql, and all the other garbage I selected for the
test installation.)

telnet into jail'ed virtual machine
su to user pgsql (the only uid who has permission to do anything with
pgsql)
try and start the postmaster produces the following output:

%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
%

is this a pgsql configuration problem? or the fact that it cannot deal
with being in jail...  not sure where to start picking this one apart.
initial thoughs would be that shmget isn't allowed to function from
within the jail, or isn't installed/didn't complete installation when
pgsql was installed.

TIA

Dave



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNIEHMCLAA.dave>