pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedRegression Test Fails
2+ messages / 2 participants
[nested] [flat]
* Regression Test Fails
@ 2001-01-04 20:47 Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>
2001-01-04 21:25 ` Re: Regression Test Fails Steve Bern <sabern@eshell.net>
0 siblings, 1 reply; 2+ messages in thread
From: Julio Cuz, Jr. @ 2001-01-04 20:47 UTC (permalink / raw)
To: pgsql-php
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Regression Test Fails
2001-01-04 20:47 Regression Test Fails Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>
@ 2001-01-04 21:25 ` Steve Bern <sabern@eshell.net>
0 siblings, 0 replies; 2+ messages in thread
From: Steve Bern @ 2001-01-04 21:25 UTC (permalink / raw)
To: Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>; +Cc: pgsql-php
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
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-01-04 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 20:47 Regression Test Fails Julio Cuz, Jr. <jcuz@rccd.cc.ca.us>
2001-01-04 21:25 ` Steve Bern <sabern@eshell.net>
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