Re: Permission error - Mailing list pgsql-novice

From Carmical Casey
Subject Re: Permission error
Date
Msg-id Law9-F87dZ1lUxrMs4d00033382@hotmail.com
Whole thread Raw
In response to Permission error  ("Carmical Casey" <ccarmical@hotmail.com>)
List pgsql-novice
Hi, I fixed it by deleting /var/lib/pgsql and then installing again.
Thanks for your help.

> > I reinstalled postgres, and now I am getting the following error when
> > trying to add a database:
> > psql: FATAL 1: cannot open /var/lib/pgsql/data/global/1262: Permission
> > denied
> > Any clues as to why this is happening and how to fix it?
>
>Sounds like you failed to make the Postgres data files be owned by the
>same user the postmaster is running as.
>
>If you determine that the file ownership needs to be changed, "chown -R"
>should help.
>
>            regards, tom lane
>

_________________________________________________________________
ネットを使うひとに有利な特典いっぱい MSN カード  http://card.msn.co.jp/


pgsql-novice by date:

Previous
From: Kaarel
Date:
Subject: Re:
Next
From: Nabil Sayegh
Date:
Subject: Re: