プロセスがいない
> ps auxw | grep post
initdbしようとするとエラーになる
could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
解決策
sudo chown -R `whoami` /usr/local/var/postgres rm -rf /usr/local/var/postgres initdb -D /usr/local/var/postgres/