PostgreSQL error ‘Could not connect to server: No such file or directory’
Check there is no postmaster.pid in your postgres directory, probably /usr/local/var/postgres/ remove this and start server. Check – https://github.com/mperham/lunchy is a great wrapper for launchctl.