Received: from zloty.tryllian.com (zloty.tryllian.com [203.26.194.66]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA80745 for ; Tue, 22 Feb 2000 09:40:20 -0500 (EST) (envelope-from anthony@tryllian.com) Received: from moor ([192.168.0.36]) by zloty.tryllian.com (8.8.7/8.8.7) with SMTP id PAA23917 for ; Tue, 22 Feb 2000 15:39:57 +0100 Message-ID: <00b501bf7d42$6b6bbe80$2400a8c0@tryllian.comintra.tryllian.net> Reply-To: "Anthony Goubard" From: "Anthony Goubard" To: Subject: FATAL 1: SetUserId: user 'postgresql' is not in 'pg_shadow' Date: Tue, 22 Feb 2000 15:38:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.3825.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 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