Re: Postmaster start up problems (can't create lock file )

Поиск
Список
Период
Сортировка
От Jasbinder Singh Bali
Тема Re: Postmaster start up problems (can't create lock file )
Дата
Msg-id a47902760708140749u1b1042b7pb3989304a2a233c7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postmaster start up problems (can't create lock file )  ("Patrick Lindeman" <patrick@my-mac.nl>)
Список pgsql-novice
how good an idea it is to chown <special user> all the postgres related files

On 8/14/07, Patrick Lindeman < patrick@my-mac.nl> wrote:
You could chown the directory /var/run/postgresql/ to the user postgres is
running as. You might need root access for that as well, in case you dont
have it you could ask your sysadmin to do it.

Regards,
Patrick Lindeman


> I'm trying to start my postgres server and it gives me the following
> errror
>
> FATAL:  could not create lock file
> "/var/run/postgresql/.s.PGSQL.5432.lock":
> Permission denied
>
> Now obviously to touch the file that the error message is talking about,
> one
> needs root permission that the user account under which my postmaster is
> runnnig doesn't have.
>
> Can anyone tell me the fix.
>
> Thanks
>


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

В списке pgsql-novice по дате отправления:

Предыдущее
От: Frank Bax
Дата:
Сообщение: Re: More of a SQL question, I guess.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More of a SQL question, I guess.