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

From Patrick Lindeman
Subject Re: Postmaster start up problems (can't create lock file )
Date
Msg-id 51632.85.12.39.193.1187085365.squirrel@mail.kickuh.net
Whole thread Raw
In response to Postmaster start up problems (can't create lock file )  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Responses Re: Postmaster start up problems (can't create lock file )
Re: Postmaster start up problems (can't create lock file )
List pgsql-novice
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
>


pgsql-novice by date:

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