RH 5.1 Installation ?

From: Ivo Welch <ivo(dot)welch(at)anderson(dot)ucla(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: RH 5.1 Installation ?
Date: 1998-11-15 23:15:15
Message-ID: 364F6083.C3D81C6@anderson.ucla.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

[I read the FAQ, which helped me to get started. This is my first attempt to
use an SQL-like data base. This is all on Redhat Linux 5.1, which has
postgres installed by default.]

* postmaster is now running and as postgres user. (Confirmed)

* initdb requires specs for PGLIB (RH5.1: /usr/lib), PGDATA (RH5.1:
/tmp/somedir/pgsql).
initdb --username=ivo
creates a bunch of stuff, primarily the "template1" database in
/tmp/somedir/pgsql/

* psql (as does initdb or anything else) still complains:
psql -d template1
Connection to database template1 failed
FATAL 1: SetUserId: user "[username]" is not in pg_shadow

Just looking at /tmp/somedir/pgsql/pg_shadow tells me that within this binary
file, [username] is somewhere in it, but without being able to connect, there
does not seem much that I know how to do.

This is probably obvious to anyone who is familiar with it, but neither the
tutorial nor the faq seem to cover this problem. Any help would be
appreciated. (Please cc or email directly to me.)

Sincerely,

/ivo welch
--
Ivo Welch mailto:ivo(dot)welch(at)anderson(dot)ucla(dot)edu
UCLA http://linux.agsm.ucla.edu/
*** International Directory of Financial Economists ***
http://linux.agsm.ucla.edu/dir/

Browse pgsql-admin by date

  From Date Subject
Next Message Dax Kelson 1998-11-16 05:24:58 New to PostgreSQL, is this a DoS?
Previous Message Carl Riches 1998-11-13 22:38:04 [ADMIN] Problems compiling PostgreSQL 6.4 on Digital Unix 4.0d