pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joel Fradkin <jfradkin@wazagua.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: still having pg_user error
Date: Fri, 21 Jan 2005 00:47:43 -0500
Message-ID: <12319.1106286463@sss.pgh.pa.us> (raw)
In-Reply-To: <000001c4ff54$6f427aa0$797ba8c0@jfradkin>
References: <000001c4ff54$6f427aa0$797ba8c0@jfradkin>

"Joel Fradkin" <jfradkin@wazagua.com> writes:
> Well I re-installed Fedora 3 and updated my postgres and started the =
> service
> (no command line stuff).

> When I connected using pgadmin I still got the sp_user error.

Fedora 3?  You should've mentioned that before.  I'll bet you've got
SELinux enabled in enforcement mode.  SELinux interferes with initdb
and I believe a missing pg_user view is one of the symptoms.

This is fixed in the very latest postgresql and selinux-policy-targeted
RPMs (u need both), but the path of least resistance is often to dial
SELinux down to permissive mode (sudo /usr/sbin/setenforce 0) for long
enough to do the initdb.

If you're running SELinux in strict rather than targeted policy, good
luck ... I honestly haven't tried that one at all ...

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <12319.1106286463@sss.pgh.pa.us>
Permalink:  ../12319.1106286463@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12319.1106286463@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jfradkin@wazagua.com
  Subject: Re: still having pg_user error
  In-Reply-To: <12319.1106286463@sss.pgh.pa.us>

* 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