I\'m getting a common Mac OSX error for Homebrew installations of Postgres,
No such file or directory Is the server running locally and accepting connections on
You need to remove the postmaster.pid, which should be in the following path: /usr/local/var/postgres/postmaster.pid
/usr/local/var/postgres/postmaster.pid