From: | "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com> |
---|---|
To: | patrick(at)my-mac(dot)nl |
Cc: | "Novice Postgresql-list" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Postmaster start up problems (can't create lock file ) |
Date: | 2007-08-14 14:49:59 |
Message-ID: | a47902760708140749u1b1042b7pb3989304a2a233c7@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
how good an idea it is to chown <special user> all the postgres related
files
On 8/14/07, Patrick Lindeman <patrick(at)my-mac(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-08-14 15:11:04 | Re: More of a SQL question, I guess. |
Previous Message | Frank Bax | 2007-08-14 14:36:26 | Re: More of a SQL question, I guess. |