installing postgresql 8.1.4

From: Folkert van Heusden <folkert(at)vanheusden(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: installing postgresql 8.1.4
Date: 2006-09-19 20:57:02
Message-ID: 20060919205701.GK5218@vanheusden.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

I'm trying to install PostgreSQL 8.1.4 on my computer.
It is a Linux system with GCC 3.4.6 and GLIBC 2.3.6.
Things run on a pentium 4 (32bit) with plenty (2GB) of ram.
I can ./configure --disable-spinlocks with CFLAGS: -O2 -march=pentium4
-fprefetch-loop-arrays.

Now when I run: /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
I get the following errors:

postgres(at)muur:/tmp$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /usr/local/pgsql/data ... ok
creating directory /usr/local/pgsql/data/global ... ok
creating directory /usr/local/pgsql/data/pg_xlog ... ok
creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok
creating directory /usr/local/pgsql/data/pg_clog ... ok
creating directory /usr/local/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/pgsql/data/pg_twophase ... ok
creating directory /usr/local/pgsql/data/pg_multixact/members ... ok
creating directory /usr/local/pgsql/data/pg_multixact/offsets ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/base/1 ... ok
creating directory /usr/local/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... sh: line 1: 793 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=500 -c max_connections=100 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 798 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=250 -c max_connections=50 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 800 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=200 -c max_connections=40 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 805 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=150 -c max_connections=30 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 807 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=100 -c max_connections=20 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 809 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=50 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
10
selecting default shared_buffers ... sh: line 1: 814 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=900 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 817 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=800 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 819 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=700 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 821 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=600 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 825 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=500 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 827 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=400 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 829 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=300 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 831 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=200 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 837 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=100 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 840 Aborted (core dumped) "/usr/local/pgsql/bin/postgres" -boot -x0 -F -c shared_buffers=50 -c max_connections=10 template1 <"/dev/null" >"/dev/null" 2>&1
50
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... PANIC: too many semaphores created
child process was terminated by signal 6
initdb: removing contents of data directory "/usr/local/pgsql/data"

How can I fix this?

Folkert van Heusden

www.vanheusden.com/multitail - multitail is tail on steroids. multiple
windows, filtering, coloring, anything you can think of
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2006-09-19 23:12:59 Re: installing postgresql 8.1.4
Previous Message Lukasz 2006-09-19 13:05:12 Access to PostgreSQL database from external world