From: Steve Bern <sabern@eshell.net>
To: Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>
Cc: pgsql-php@postgresql.org
Subject: Re: Regression Test Fails
Date: Thu, 4 Jan 2001 15:25:34 -0600 (CST)
Message-ID: <Pine.LNX.4.21.0101041510540.6169-100000@eshell.net> (raw)
In-Reply-To: <4.3.2.7.2.20010104124358.00b11a08@rccd.cc.ca.us>
1) you need to set the regression test to use a username that's defined to
postgres. It looks like it's currently using user 'username'. Out of the
box, you can set this to postgres if you did the default RPM install, or
installed right from RH7. Postgres is, of course, the superuser of the
database. So you'll need to edit the regression test and replace
'username' with 'postgres' and possibly add a password, depending on how
your pg_hba is set up.
2) do a man on pg_passwd to see how to setup users for postgresql -- note
particularly how the pg_hba.conf file is used.
3) You'll need to familiarize yourself with how authentication is done
to the database. Read/edit /var/lib/pgsql/data/pg_hba.conf. There are
instructions on how to do this in the file itself. Then restart postgres
(/etc/rc.d/init.d/postgresql restart) (not sure if actually need to do
this, but won't hurt anything). This is how you set up access.
On Thu, 4 Jan 2001, Julio Cuz, Jr. wrote:
> Hi--
>
> This is my first e-mail to this list :)
>
> I just installed Postgresql on Red Hat Linux 7 and when I try to run the
> 'Regression Test', I get this error:
>
> psql: FATAL 1: SetUserId: user 'username' is not in 'pg_shadow'
> createdb failed...
>
> Help !
>
> Julio Cuz, Jr.
> Riverside Community College
> jcuz@rccd.cc.ca.us
>
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-php@postgresql.org
Cc: sabern@eshell.net, jcuz@rccd.cc.ca.us
Subject: Re: Regression Test Fails
In-Reply-To: <Pine.LNX.4.21.0101041510540.6169-100000@eshell.net>
References: <4.3.2.7.2.20010104124358.00b11a08@rccd.cc.ca.us> <Pine.LNX.4.21.0101041510540.6169-100000@eshell.net>
* 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