pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nizar Ghazali <nghazali@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: cannot connect to postgres db, strange error!
Date: Thu, 20 May 2004 13:46:14 -0400
Message-ID: <2950.1085075174@sss.pgh.pa.us> (raw)
In-Reply-To: <20040518154253.89886.qmail@web13803.mail.yahoo.com>
References: <20040518154253.89886.qmail@web13803.mail.yahoo.com>

Nizar Ghazali <nghazali@yahoo.com> writes:
> I’m running postgres 7.4.3 on HP-UX 11.11. When I want
> to connect to my db, I have the following error:

> psql: FATAL:  _mdfd_getrelnfd: cannot open relation
> pg_class: Permission denied

Sounds to me like you started the postmaster as the wrong user
(not the one who did initdb).

			regards, tom lane



view thread (4+ messages)

Message-ID: <2950.1085075174@sss.pgh.pa.us>
Permalink:  ../2950.1085075174@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2950.1085075174@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 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: tgl@sss.pgh.pa.us, nghazali@yahoo.com
  Subject: Re: cannot connect to postgres db, strange error!
  In-Reply-To: <2950.1085075174@sss.pgh.pa.us>
  References: <20040518154253.89886.qmail@web13803.mail.yahoo.com> <2950.1085075174@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