亲,以下就是关于( OS XYosemite升级后postgresql启动报错的解决方法(图)),由“WiFi之家网”整理!
OS X Yosemite
升级OS X Yosemite后,启动postgesql时报以下错误:
FATAL: could not open directory “pg_twophase”: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/tmp/.s.PGSQL.5432”?
因为yosemite删除了pg的一些空目录导致,可这样处理:
如果/usr/local/var/postgres/目录下没有pg_tblspc,pg_twophase和pg_stat_tmp子目录,直接新建这几个目录即可。
然后可正常启动postgresql
以上就是OS X Yosemite升级后postgresql启动报错的解决方法
以上就是关于-常见问题-( OS XYosemite升级后postgresql启动报错的解决方法(图))的教程!
本文来自投稿,不代表【王海海网】观点,发布者:【王海海丨作者】
本文地址:https://www.wanghaihai.com/p/185815.html
举报投诉邮箱:253000106@qq.com