Re: cannot initdb - Mailing list pgsql-general

From Joseph Koenig
Subject Re: cannot initdb
Date
Msg-id 3C8E7FDB.DCA31D82@jwebmedia.com
Whole thread Raw
In response to cannot initdb  (Joseph Koenig <joe@jwebmedia.com>)
List pgsql-general
I'm losing my mind on this - I have set jail.sysvipc_allowed=1 in my
/etc/sysctl.conf file as is needed for jails to use the shared memory,
however, they aren't. I know it is turned on on the main system itself:

ipcs -s
Semaphores:
T     ID     KEY        MODE       OWNER    GROUP

Someone please tell me they have experience with PostgreSQL inside a
FreeBSD jail. I desperately need to get PostgreSQL up and running and
this is the one roadblock. Someone please help. This is what I get in
the jail:

%ipcs -s
ipcs: short read
SVID semaphores facility not configured in the system

Thanks,

Joe

Doug McNaught wrote:
>
> Joseph Koenig <joe@jwebmedia.com> writes:
>
> > I don't see a SYSV IPC anywhere in the LINT file or the GENERIC. I
> > looked at:
> >
> > http://www3.ca.postgresql.org/users-lounge/docs/7.1/admin/kernel-resources.html
> >
> > and recompiled my kernel accordingly. This is in a jail, does that
> > affect things? I rebuild the kernel for the jail and restarted the jail
> > - received the same error. Any ideas? Should I try installing from the
> > source, or are the ports the best way to go? BTW, this machine has 1GB
> > of RAM and is a 1GHz processor if that helps at all. Thanks,
>
> I wish I knew enought about FreeBSD to help you--I'm more of a Linux
> guy.  It certainly sounds like it might have something to do with the
> jail, but I don't know any details of how that system works.
>
> Perhaps one of the FreeBSD lists might be of help...
>
> -Doug
> --
> Doug McNaught       Wireboard Industries      http://www.wireboard.com/
>
>       Custom software development, systems and network consulting.
>       Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

pgsql-general by date:

Previous
From: Kacper Nowicki
Date:
Subject: index on large table
Next
From: Doug McNaught
Date:
Subject: Re: cannot initdb