Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 13:28:58 -0500
From:      "Dave VanAuken" <dave@hawk-systems.com>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   RE: FreeBSD 4.2 > jailled virtual machine and PostgreSQL install/execute
Message-ID:  <DBEIKNMKGOBGNDHAAKGNMENDCLAA.dave@hawk-systems.com>
In-Reply-To: <Pine.BSF.4.21.0101051824130.13962-100000@hellbell.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
I have already set the variable in the sysctl.conf file
## sysctl.conf contents ###
jail.set_hostname_allowed=0
jail.set_sysvipc_allowed=1

And to following up on Tom's latest

Have installed pgsql on the host machine, configured, added users...
all works well
Also did an ipcclean on the host machine...  looks like sysv is indeed
compiled in with the kernel, though I am open to additional checks.  I
cannot perform ipcclean within the jail environment (wasn't sure if I
should expect that to work of not given that the host machine would be
controlling the memory)...  it generated the following error, almost
leading me to believe that despite the jail/allow tag for sysv, it
isn't enabled within the jail for some reason:
	$ ipcclean
	ipcs: short read
	SVID messages facility not configured in the system
	ipcs: short read
	SVID shared memory facility not configured in the system
	ipcs: short read
	SVID semaphores facility not configured in the system
	$

Perhaps the jail environment is missing support for it despite its
being compiled into the host system that created the jail?

I sincerely appreciate all the insights, suggestions, and pointers
received to date...  am getting to the point where I am wondering if
this particular app will run under the jail environment because of the
shared memory issue...

Dave

-----Original Message-----
From: Alexey Zakirov [mailto:frank@agava.com]
Sent: Friday, January 05, 2001 10:25 AM
To: Dave VanAuken
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: FreeBSD 4.2 > jailled virtual machine and PostgreSQL
install/execute


On Thu, 4 Jan 2001, Dave VanAuken wrote:

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

sysctl -w jail.sysvipc_allowed=1
?

*** WBR, Alexey Zakirov (frank@agava.com)




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?DBEIKNMKGOBGNDHAAKGNMENDCLAA.dave>