Обсуждение: cannot connect to postgres db, strange error!

Поиск
Список
Период
Сортировка

cannot connect to postgres db, strange error!

От
Nizar Ghazali
Дата:
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!

От
Tom Lane
Дата:
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