Thread: lock file permisson

lock file permisson

From
Mohammed Rashad
Date:

when i start postgresql using
/etc/init.d/postgresql-8.4 start
I am getting this error
IST FATAL:  could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied

I changed ownership of /var/run/postgresql using
chown postgres /var/run/postgresql
--
Rashad

Re: lock file permisson

From
Peter Eisentraut
Date:
On mån, 2010-11-29 at 21:57 +0530, Mohammed Rashad wrote:
> when i start postgresql using
> /etc/init.d/postgresql-8.4 start
> I am getting this error
> IST FATAL:  could not create lock file
> "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied

You probably need to run this command as root.