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