OS X Yosemite升级后postgresql启动报错怎么办?
时间:2023-08-02 22:04:09
OS X Yosemite系统在升级以后,不少网友出现了一些系统问题,比如数据库postgresql启动时出现了报错,这很有可能是其中文件缺失所导致的,下面小编就给大家介绍下OS X Yosemite系统升级后postgresql启动报错的解决方法。
升级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启动报错的处理方法介绍了,在系统升级后,pg_tblspc,pg_twophase和pg_stat_tmp子目录被删除,致使postgresql启动失败。
标签:数据库
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
360浏览器无痕模式怎么开启?360浏览器打开无痕模式的方法
2023-07-30 18:15:39
![](https://img.aspxhome.com/file/2023/7/a327230_0s.png)
excel 中如何将123456列自动排列
2023-02-10 04:11:43
![](https://img.aspxhome.com/file/2023/2/a162312_0s.jpg)
如何解决7z解压软件解压错误的问题 7z解压软件解压错误的解决方法
2022-10-30 17:10:08
![](https://img.aspxhome.com/file/2023/8/a337060_0s.png)
Pixelmator Pro 教程「159」,如何在 Pixelmator Pro 中修剪画布?
2022-06-10 21:39:06
![](https://img.aspxhome.com/file/2023/10/a344035_0s.jpeg)
电脑系统桌面图标消失只剩下名字的解决办法
2023-09-02 02:07:05
![](https://img.aspxhome.com/file/2023/4/a309883_0s.jpg)
XP系统文件扩展名更改后文件不可用的解决办法
2022-11-10 00:50:24
![](https://img.aspxhome.com/file/2023/3/a300641_0s.png)
VLOOKUP函数区间查找、等级评定、模糊查找
2023-04-12 00:15:01
![](https://img.aspxhome.com/file/2023/6/a142156_0s.png)
神舟战神可以装Windows11吗?神舟战神是否装Windows11详情
2023-09-01 19:41:26
![](https://img.aspxhome.com/file/2023/27/a238033_0s.jpg)
Win7系统svchost占用内存过高怎么办?
2022-10-04 22:24:14
![](https://img.aspxhome.com/file/2023/4/a312412_0s.png)
Windows10电脑怎么连接隐藏的无线网络?
2023-06-20 09:55:34
![](https://img.aspxhome.com/file/2023/26/a225715_0s.jpg)
Win10 21H1正式发布 更新内容汇总(附下载)
2023-01-08 21:54:17
![](https://img.aspxhome.com/file/2023/29/a260234_0s.jpg)
Tuneskit Audio Capture for Mac在Mac OSX上如何捕获和提取任何声音
2022-09-11 18:30:43
![](https://img.aspxhome.com/file/2023/0/a212700_0s.jpeg)
Win8.1禁用强制驱动签名的设置教程
2023-10-31 20:17:31
![](https://img.aspxhome.com/file/2023/29/a252274_0s.jpg)
xbox控制台小帮手无法登陆0x406_xbox控制台小帮手无法登陆0x406解决方法
2023-03-16 15:43:06
![](https://img.aspxhome.com/file/2023/2/a287869_0s.jpg)
Win10怎么创建无法删除的文件夹
2022-03-08 04:04:46
![](https://img.aspxhome.com/file/2023/25/a218113_0s.jpeg)
DATEDIF函数的语法及实际应用案例
2023-03-23 17:26:22
干货:快速提高效率的9种WPS排版方法
2022-06-15 05:06:40
![](https://img.aspxhome.com/file/2023/0/a166660_0s.jpg)
WPS文档怎么转换趁PDF文档不让复制?
2023-08-11 02:36:09
![](https://img.aspxhome.com/file/2023/9/a166889_0s.jpg)
如何解决磁盘打开时报:无法访问E拒绝访问
2023-04-08 19:36:09
![](https://img.aspxhome.com/file/2023/9/a341989_0s.jpg)
即墨PPT,拼装一个PPT很简单
2023-03-26 22:04:55
![](https://img.aspxhome.com/file/2023/10/a351312_0s.jpg)