Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group