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

From: "Patrick Lindeman" <patrick(at)my-mac(dot)nl>
To: "Novice Postgresql-list" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Postmaster start up problems (can't create lock file )
Date: 2007-08-14 09:56:05
Message-ID: 51632.85.12.39.193.1187085365.squirrel@mail.kickuh.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Frank Bax 2007-08-14 14:36:26 Re: More of a SQL question, I guess.
Previous Message Loredana Curugiu 2007-08-14 07:37:47 Re: [NOVICE] Install two different versions of postgres which should run in parallel