Skip site navigation (1) Skip section navigation (2)

Running postgresql/initdb on linux/parisc problem

From: Guy Martin <gmsoft(at)gentoo(dot)org>
To: pgsql-ports(at)postgresql(dot)org
Subject: Running postgresql/initdb on linux/parisc problem
Date: 2003-03-10 01:18:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

I'm currently porting gentoo on parisc aka hppa stations and I can't run
postgresql. It seems to be a common error but commons workarounds are not
working. (Log is at the bottom)

I've tryied what is described in with no

ipcs show zero semaphores and the result of
cat /proc/sys/kernel/shmmax && cat /proc/sys/kernel/sem
is :
250     32000   32      128

Tanks in advance for your help.

	Guy Martin

--- Log start ---
b180l postgresql # ebuild postgresql-7.3.ebuild config
 * >>> Creating data directory ...
 * >>> Initializing the database ...
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 /var/lib/postgresql/data... ok
creating directory /var/lib/postgresql/data/base... ok
creating directory /var/lib/postgresql/data/global... ok
creating directory /var/lib/postgresql/data/pg_xlog... ok
creating directory /var/lib/postgresql/data/pg_clog... ok
creating template1 database in /var/lib/postgresql/data/base/1...
IpcSemaphoreCreate: semget(key=129, num=17, 03600) failed: No space left on

This error does *not* mean that you have run out of disk space.

It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of
semaphores (SEMMNS), would be exceeded.  You need to raise the
respective kernel parameter.  Alternatively, reduce PostgreSQL's
consumption of semaphores by reducing its max_connections parameter
(currently 1).

The PostgreSQL Administrator's Guide contains more information about
configuring your system for PostgreSQL.

sed: couldn't write 74 items to stdout: Broken pipe
cat: write error: Broken pipe

initdb failed.
 * If you are upgrading from a pre-7.3 version of PostgreSQL, please read
 * the README.adddepend file for information on how to properly migrate
 * all serial columns, unique keys and foreign keys to this version.
b180l postgresql #
--- Log end ---

Rem : This is a simple script that runs initdb -D /var/lib/postgresql/data

pgsql-ports by date

Next:From: Fidel Aviñó CastroDate: 2003-03-11 06:57:01
Subject: Postgresql-7.2.1 problems
Previous:From: patrickDate: 2003-03-09 22:13:14
Subject: ./compile error (

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group