From: SAI SIU <ss012@byuh.edu>
To: pgsql-admin@postgresql.org
Subject: Initdb problem in red Hat 6.0
Date: Thu, 17 Feb 2000 17:19:49 -1000
Message-ID: <s8ac2dee.078@byuh.edu> (raw)
Hi,
I am a cs student at BYUH.I am trying to install Postgresql 6.5.2.1 in my Red hat linux 6.0. After the RPM installation, when I try to initdb. I always got a masseage like
initdb does not know where to find the files that make up
Postgres (the PGLIB directory). You must identify the PGLIB
directory either with a --pglib invocation option, or by
setting the PGLIB environment variable, or by having a program
called 'postconfig' in your search path that outputs an asignment
for PGLIB.
I tryed this "/etc/rc.d/init.d/postgresql start"
also. It give me a message like
We are initializing the database system with username postgres (uid=40).
This user will own all the files and must also own the server process.
rm: cannot remove `/var/lib/pgsql/base/template1': Permission denied
mkdir: cannot make directory `/var/lib/pgsql/base/template1': Permission denied
Creating template database in /var/lib/pgsql/base/template1
Starting postgresql service: /usr/bin/postmaster does not find the database system. Expected to find it in the PGDATA directory "/var/lib/pgsql", but unable to open file with pathname "/var/lib/pgsql/base/template1/pg_class".
No data directory -- can't proceed.
Can you help me find out what is the problem.
THANK YOU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ss012@byuh.edu
Subject: Re: Initdb problem in red Hat 6.0
In-Reply-To: <s8ac2dee.078@byuh.edu>
References: <s8ac2dee.078@byuh.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox