Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-11 Thread Alex Hunsaker
On Mon, May 10, 2010 at 18:04, Tom Lane wrote: > valentin.hoc...@kabelbw.de (Valentin Hocher) writes: >> [ cPanel's "Shell Fork Bomb Protection" actually does this: ] >>         ulimit -n 100 -u 20 -m 20 -d 20 -s 8192 -c 20 -v 20 >> 2>/dev/null > > Just to annotate that: some expe

Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-11 Thread Craig Ringer
On 11/05/10 08:04, Tom Lane wrote: > valentin.hoc...@kabelbw.de (Valentin Hocher) writes: >> [ cPanel's "Shell Fork Bomb Protection" actually does this: ] >> ulimit -n 100 -u 20 -m 20 -d 20 -s 8192 -c 20 -v 20 >> 2>/dev/null > > Just to annotate that: some experimentation

Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-10 Thread Tom Lane
valentin.hoc...@kabelbw.de (Valentin Hocher) writes: > [ cPanel's "Shell Fork Bomb Protection" actually does this: ] > ulimit -n 100 -u 20 -m 20 -d 20 -s 8192 -c 20 -v 20 > 2>/dev/null Just to annotate that: some experimentation I did confirms that on RHEL5 x86_64, PG 8.4.

Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-10 Thread Valentin Hocher
> > The solution is very simple and can be done in the cPanel configuration, > > just disabled "Shell Fork Bomb Protection" in the security center. That's > > all. The ulimit restrictions are removed! > > Huh, that's interesting. With a name like that, I'd have thought it > would set limits on n

Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-07 Thread Tom Lane
valentin.hoc...@kabelbw.de (Valentin Hocher) writes: > creating conversions ... FATAL: could not load library > "/usr/lib64/pgsql/utf8_and_shift_jis_2004.so": > /usr/lib64/pgsql/utf8_and_shift_jis_2004.so: failed to map segment from > shared object: Cannot allocate memory FWIW, I tried to dupl

Re: [GENERAL] initdb fails on Centos 5.4 x64

2010-05-07 Thread Tom Lane
valentin.hoc...@kabelbw.de (Valentin Hocher) writes: > creating conversions ... FATAL: could not load library > "/usr/lib64/pgsql/utf8_and_shift_jis_2004.so": > /usr/lib64/pgsql/utf8_and_shift_jis_2004.so: failed to map segment from > shared object: Cannot allocate memory Hmm, there was someth

[GENERAL] initdb fails on Centos 5.4 x64

2010-05-07 Thread Valentin Hocher
Hi, i've tried to install 8.4.3 for about two days, but i don't get it. 8.1.x has been installed before and was runnig but never used. I've removed it with yum and wiped /var/lib/pgsl. -=>> service postgresql initdb Initializing database: [FAILED] -=>> cat