34
35

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Yosemiteにアップグレードしたらpostgresが起動しないよ><

Last updated at Posted at 2014-10-20
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

みたいなことをのたまって起動しない。繋げないよって言われているがよくわからん(繋げない時のいつものエラーな感じ)。

Yosemite Postgresで検索してチラチラ見てたら下記が引っかかった。

ログをみたら上記の通り

FATAL:  could not open directory "pg_tblspc": No such file or directory
FATAL:  could not open directory "pg_twophase": 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

を実行してOK。

34
35
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
34
35

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?