Re: [GENERAL] pg_ctl start error and lock file

2014-04-29 Thread Dev Kumkar
On Tue, Apr 29, 2014 at 6:26 PM, Albe Laurenz wrote: > Set "unix_socket_directory" (in versions before 9.3) or > "unix_socket_directories" (from 9.3 on) in postgresql.conf. > > Yours, > Laurenz Albe > Fantastic, thanks for this setting. regards...

Re: [GENERAL] pg_ctl start error and lock file

2014-04-29 Thread Albe Laurenz
Dev Kumkar wrote: > 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 no

[GENERAL] pg_ctl start error and lock file

2014-04-29 Thread Dev Kumkar
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 gi