Hot answers tagged


The file /usr/local/var/postgres/ is not a PID in itself, it is a text file that contains a PID. In this case it seems to be 1167. Try cat /usr/local/var/postgres/ The file is there because for some reason postgres was shut down uncleanly. If this PID 1167 exists (ps -p $(cat /usr/local/var/postgres/ should work ...

Only top voted, non community-wiki answers of a minimum length are eligible