Re: Postmaster start up problems (can't create lock file ) - Mailing list pgsql-novice

From Jasbinder Singh Bali
Subject Re: Postmaster start up problems (can't create lock file )
Date
Msg-id a47902760708140749u1b1042b7pb3989304a2a233c7@mail.gmail.com
Whole thread Raw
In response to Re: Postmaster start up problems (can't create lock file )  ("Patrick Lindeman" <patrick@my-mac.nl>)
List 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 by date:

Previous
From: Frank Bax
Date:
Subject: Re: More of a SQL question, I guess.
Next
From: Tom Lane
Date:
Subject: Re: More of a SQL question, I guess.