Skip to content

Instantly share code, notes, and snippets.

@ncancelliere
Created October 17, 2014 04:57
Show Gist options
  • Save ncancelliere/36724fa0186c8ec6c6d9 to your computer and use it in GitHub Desktop.
Save ncancelliere/36724fa0186c8ec6c6d9 to your computer and use it in GitHub Desktop.
could not open directory "pg_tblspc": No such file or directory after Yosemite install
# after upgrading to Yosemite Postgresql had issues:
# FATAL: could not open directory "pg_tblspc": No such file or directory
mkdir /usr/local/var/postgres/pg_tblspc
mkdir /usr/local/var/postgres/pg_twophase
mkdir /usr/local/var/postgres/pg_stat_tmp
# Seems that Yosemite's post install removes any empty folder in the /usr/local directory (cleanup)
# so if you add them back you should be good to go.
# To avoid in the future add a .keep file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment