Thread: cannot connect to postgres db, strange error!

cannot connect to postgres db, strange error!

From
Nizar Ghazali
Date:
Hi,



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


Do you have any idea where i have to look. I already
looked at pg_hba.conf file and it looks ok.


Regards





__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

Re: cannot connect to postgres db, strange error!

From
Tom Lane
Date:
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