X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A87D5474E5C for ; Sat, 22 Feb 2003 21:28:17 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 69880-03 for ; Sat, 22 Feb 2003 21:28:02 -0500 (EST) Received: from server.da-kot (21-40.CampusNet.ucl.ac.be [130.104.21.40]) by postgresql.org (Postfix) with ESMTP id 9B4A9474E4F for ; Sat, 22 Feb 2003 21:28:01 -0500 (EST) Received: from guy.da-kot ([192.168.0.7] helo=there) by server.da-kot with smtp (Exim 3.36 #1 (Debian)) id 18mls1-0000Vo-00 for ; Sun, 23 Feb 2003 03:28:01 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Martin Guy To: pgsql-admin@postgresql.org Subject: Running postgresql/initdb on linux/parisc problem Date: Sun, 23 Feb 2003 03:27:34 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Message-Id: Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/446 X-Sequence-Number: 7644 Hi, I'm currently porting gentoo on parsic aka hppa stations and I can't run=20 postgresql. It seems to be a common error but common workaround are not=20 working. (Log is at the bottom) I've tryied what is described in=20 http://developer.postgresql.org/docs/postgres/kernel-resources.html with no= =20 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...=20 IpcSemaphoreCreate: semget(key=3D129, num=3D17, 03600) failed: No space lef= t 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