Ana Roizen wrote:
> 
> Hi .
> Installing version 6.5.2 on a recently installed Linux RedHat 6.0, I get
> the following message when running initdb:

Hi, Ana.

There are RPM's now available for PostgreSQL 6.5.2 for RedHat 6.0 --
http://www.ramifordistat.net/postgres/RPMS/redhat-6.0

The RPM's follow a little more standard way of doing things that you do
here.

> Creating template database in /sql/data/base/template1
> initdb: could not create template database
> initdb: cleaning up by wiping out /sql/data/base/template1 "

Either /sql/data/base/template1 already existed, or the user postgres
doesn't have sufficient permissions to that directory, or /sql/data
doesn't exist -- use mkdir to create it before running initdb.  Make
sure that the user postgres (UID 500) both owns /sql/data, AND has rwx
rights to it.

Hope this helps.

Lamar Owen
WGCR Internet Radio

************

Reply via email to