Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 95C131337BB7 for ; Mon, 21 Mar 2011 08:51:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 51490-05 for ; Mon, 21 Mar 2011 11:51:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id DE41B1336FA7 for ; Mon, 21 Mar 2011 08:51:26 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p2LBpQUZ071853 for ; Mon, 21 Mar 2011 11:51:26 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p2LBpQAh071852; Mon, 21 Mar 2011 11:51:26 GMT (envelope-from www) Date: Mon, 21 Mar 2011 11:51:26 GMT Message-Id: <201103211151.p2LBpQAh071852@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5937: initdb: FATAL error: could not open relation with OID 2608 From: "Etienne Robillard" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201103/257 X-Sequence-Number: 29767 The following bug has been logged online: Bug reference: 5937 Logged by: Etienne Robillard Email address: erob@gthcfoundation.org PostgreSQL version: 8.4.7 Operating system: GNU/Linux 2.6.38 (Debian) Description: initdb: FATAL error: could not open relation with OID 2608 Details: Could not run initdb --no-locale -D $PGDATA as pgsql user to setup the internal postgresql db: Script started on Mon 21 Mar 2011 07:44:29 AM EDT $ /usr/local/pgsql/bin/initdb --no-locale -D $PGDATA The files belonging to this database system will be owned by user "pgsql". This user must also own the server process. The database cluster will be initialized with locale C. The default database encoding has accordingly been set to SQL_ASCII. The default text search configuration will be set to "english". fixing permissions on existing directory /var/db/pgsql/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 28MB creating configuration files ... ok creating template1 database in /var/db/pgsql/data/base/1 ... ok initializing pg_authid ... FATAL: could not open relation with OID 2608 STATEMENT: CREATE TRIGGER pg_sync_pg_database AFTER INSERT OR UPDATE OR DELET child process exited with exit code 1 initdb: removing contents of data directory "/var/db/pgsql/data" $ exit Script done on Mon 21 Mar 2011 07:44:52 AM EDT