On Tue, 20 Dec 2011, Patrick Kevin McCaffrey wrote: > I'm running into this issue when trying to set up a PostgreSQL server > inside one of my containers. The Postgre mailing list seems suspect of > my LXC setup, so I thought I'd see if anyone has any input. The outline > of my problem is below. I've got Postgre installed/configured, but I > can't run the "initdb" command as seen below...
> Subject: Re: [GENERAL] New User: PostgreSQL Setup - "The Program 'postgress' > is needed by initdb but was not found in the same directory..." > > Patrick Kevin McCaffrey <p...@uwm.edu> writes: >>> I'm following the instructions that come with the source, and am stuck on >>> this line: >>> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data >>> When I run it, I get the following: >>> sh: cannot create /dev/null: Permission denied If the other replies aren't helping, I'm wondering if your running your container under NFS? I've been doing this recently and having issues with NFSv3 & 4, but 2 is OK. I think it's something to do with ACSs possibly being enabled, but I've not had time to check further - as it works with good old v2 and that's OK for me, for now... Gordon ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users