From: Martin Guy <gmsoft@gentoo.org>
To: pgsql-admin@postgresql.org
Subject: Running postgresql/initdb on linux/parisc problem
Date: Sun, 23 Feb 2003 03:27:34 +0100
Message-ID: <E18mls1-0000Vo-00@server.da-kot> (raw)
Hi,
I'm currently porting gentoo on parsic aka hppa stations and I can't run
postgresql. It seems to be a common error but common workaround are not
working. (Log is at the bottom)
I've tryied what is described in
http://developer.postgresql.org/docs/postgres/kernel-resources.html with no
result.
ipcs show zero semaphores and the result of
cat /proc/sys/kernel/shmmax && cat /proc/sys/kernel/sem
is :
134217728
250 32000 32 128
Tanks in advance for your help.
Guy Martin
PS : can you CC to me cause I've not subscribe
--- 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
device
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/data
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gmsoft@gentoo.org
Subject: Re: Running postgresql/initdb on linux/parisc problem
In-Reply-To: <E18mls1-0000Vo-00@server.da-kot>
References: <E18mls1-0000Vo-00@server.da-kot>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox