Created
April 1, 2016 03:28
-
-
Save chinloongtan/e234259cf90092e8f8b869bb5561df25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/var/postgres | |
cat server.log # (check if last line is "FATAL: lock file "postmaster.pid" already exists") | |
rm postmaster.pid | |
# finally restart pg | |
pgstop | |
pgstart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment