From: | Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | pg_ctl start error and lock file |
Date: | 2014-04-29 10:25:13 |
Message-ID: | CALSLE1N4+siy7CwRLOv9C6Encay0tx8X7sE79Oqfz8qt7omqYg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Faced following issue when trying to start database using pg_ctl:
FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission
denied
Accidentally someone cleaned up /tmp and recreated it but without any write
permissions to non-root user, if the non-root user write permissions are
given to /tmp then it would start without any issues.
I was going thru some links and could find following (> 9+ years old
thread):
http://compgroups.net/comp.postgresql.general/postgres-start-error/2886274
Is there any way to control where the lock file can be created?
Regards...
From | Date | Subject | |
---|---|---|---|
Next Message | David Noel | 2014-04-29 10:36:15 | Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows) |
Previous Message | Tomas Vondra | 2014-04-29 10:00:26 | Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows) |