Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 23FC41337C9C for ; Mon, 21 Mar 2011 14:50:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 87362-01-8 for ; Mon, 21 Mar 2011 17:50:23 +0000 (UTC) X-Greylist: delayed 01:00:00.511686 by SQLgrey-1.7.6 Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mail.postgresql.org (Postfix) with ESMTP id 397A0133828E for ; Mon, 21 Mar 2011 13:29:46 -0300 (ADT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from [192.168.0.100] ([184.162.50.38]) by vl-mh-mrz21.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LIE00NY3Z083P70@vl-mh-mrz21.ip.videotron.ca> for pgsql-bugs@postgresql.org; Mon, 21 Mar 2011 11:28:57 -0400 (EDT) Message-id: <4D876EBD.9060502@gthcfoundation.org> Date: Mon, 21 Mar 2011 11:29:01 -0400 From: Etienne Robillard Reply-to: erob@gthcfoundation.org Organization: Green Tea Hackers Club User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5937: initdb: FATAL error: could not open relation with OID 2608 References: <201103211151.p2LBpQAh071852@wwwmaster.postgresql.org> <22484.1300719639@sss.pgh.pa.us> In-reply-to: <22484.1300719639@sss.pgh.pa.us> X-Enigmail-Version: 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201103/263 X-Sequence-Number: 29773 On 21/03/11 11:00 AM, Tom Lane wrote: > "Etienne Robillard" writes: > >> 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 >> > That's pretty darn odd. Is this really an unmodified copy of 8.4.7? > What's different between your machine and all the other ones where > initdb works just fine? > > regards, tom lane > Hi, $ md5sum postgresql-8.4.7.tar.gz 4771d4ae4fd9e7e9b92c22253517508d postgresql-8.4.7.tar.gz The detached MD5 signature matches the tarball I used for compiling postgresql server so I don't think its necessary to try downloading another. Maybe this is strictly a 8.4.x issue but will need to verify by downgrading to 8.3.x... kind regards, Etienne -- Etienne Robillard Company: Green Tea Hackers Club Occupation: Software Developer (and CEO) E-mail: erob@gthcfoundation.org Work phone: 450-936-2123 Website (Company): https://gthc.org/ Website (Blog): https://gthc.org/blog/ PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086 DDEC During times of universal deceit, telling the truth becomes a revolutionary act. -- George Orwell If a free society cannot help the many who are poor, it cannot save the few who are rich. -- John F. Kennedy