cannot connect to postgres db, strange error!

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

cannot connect to postgres db, strange error!

От:
Nizar Ghazali <nghazali@yahoo.com>
Дата:
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 <tgl@sss.pgh.pa.us>
Дата:
Nizar Ghazali  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
FAQ