pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anthony Goubard <anthony@tryllian.com>
To: pgsql-admin@postgresql.org
Subject: FATAL 1:  SetUserId: user 'postgresql' is not in 'pg_shadow'
Date: Tue, 22 Feb 2000 15:38:01 +0100
Message-ID: <00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net> (raw)

Hello,

I hope you can solve my problem I'm working on for 1 day now.

I did "pg_passwd passwd" and entered postgresql
I succeed to "initdb - u postgresql"
--
When I try to create a
postgresql@xxxx:/usr/lib/postgresql/bin$ createuser postgresql
Connection to database 'template1' failed.
FATAL 1:  SetUserId: user 'postgresql' is not in 'pg_shadow'

createuser: database access failed.
----

I also tried psql
postgresql@xxxx:/usr/lib/postgresql/bin$ psql -e template1 -c "CREATE USER
post
gresql"
Connection to database 'template1' failed.
FATAL 1:  SetUserId: user 'postgresql' is not in 'pg_shadow'
--
I'm running on the same machin as postmaster and changed the pg_hba.conf so
that it can trust everybody
when I look in my pg_shadow file I see : °  °Y ÃB
$¿postgresql`Å.~
and I've a template1 directory
Any ideas? How do I access the database?

I also tried as root but same result : FATAL 1:  SetUserId: user 'root' is
not in 'pg_shadow'
and of course "psql template1" give the same error.
I'm using debian.

Best regards,
Anthony Goubard





Message-ID: <00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net>
Permalink:  ../00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net/
Also on:    postgresql.org/message-id/00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net

 · 

reply

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: anthony@tryllian.com
  Subject: Re: FATAL 1:  SetUserId: user 'postgresql' is not in 'pg_shadow'
  In-Reply-To: <00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net>
  References: <00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.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