X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F12018BB013 for ; Sun, 20 Feb 2005 20:08:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72255-05 for ; Sun, 20 Feb 2005 20:08:10 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id AC4658BAFCA for ; Sun, 20 Feb 2005 20:08:10 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j1KK8AAu015927; Sun, 20 Feb 2005 15:08:10 -0500 (EST) To: Vinicius Cc: pgsql-admin@postgresql.org Subject: Re: Having problem with postgresql configuration (template1 doesn't In-reply-to: References: <15094.1108921716@sss.pgh.pa.us> Comments: In-reply-to Vinicius message dated "Sun, 20 Feb 2005 16:05:11 -0300" Date: Sun, 20 Feb 2005 15:08:10 -0500 Message-ID: <15926.1108930090@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/178 X-Sequence-Number: 16346 Vinicius writes: > I tryed to create another data dir because I don't have the template1 > database. I think you got bit by one of the early-FC3 selinux policy bugs; see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142607 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143208 You probably want to rm -rf /var/lib/pgsql/data/ and try again after making sure (a) you have the latest postgres and selinux packages and (b) you've done restorecon on /var/lib/pgsql and /var/log/pgsql. regards, tom lane