Re: BUG #3034: FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied - Mailing list pgsql-bugs

From Arpi
Subject Re: BUG #3034: FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied
Date
Msg-id 4684200A.4030104@gmail.com
Whole thread Raw
In response to BUG #3034: FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied  ("Jessica" <hxq7681@cs.rit.edu>)
List pgsql-bugs
Hi,
> FATAL:  could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission
> denied
I got that error today.
My case:
I installed psql using user A, then I uninstalled it.
I installed psql using user B and I got that error.
Reason: The lock file in /tmp was owned by user A
Solution:
su and rm the lock file :)
End of case

--
regards
arpi

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 'SET LOCAL ROLE blah;' doesn't work?
Next
From: Stephen Frost
Date:
Subject: Re: 'SET LOCAL ROLE blah;' doesn't work?