Re: Having problem with postgresql configuration (template1 doesn't

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vinicius <cviniciusm(at)terra(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Having problem with postgresql configuration (template1 doesn't
Date: 2005-02-20 20:08:10
Message-ID: 15926.1108930090@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Vinicius <cviniciusm(at)terra(dot)com(dot)br> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2005-02-21 05:05:18 Re: Postgres crashed on invalid IP entry in pg_hba.conf
Previous Message Vinicius 2005-02-20 19:05:11 Re: Having problem with postgresql configuration (template1 doesn't