尝试启动postgresql时
➜ ~ brew services start postgresql
Warning: Use postgresql@14 instead of deprecated postgresql
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/josh/Library/LaunchAgents/homebrew.mxcl.postgresql@14.plist` exited with 5.
在运行brew服务列表时获取“错误”作为状态
➜ ~ brew services list
Name Status User File
postgresql@14 error 256 root ~/Library/LaunchAgents/homebrew.mxcl.postgresql@14.plist
PSQL运行得非常好,关闭了我的笔记本电脑(没有更新),第二天当我打开它时,psql没有工作。我在OSX版本12.6 (蒙特雷)上。
发布于 2022-11-09 15:41:26
我在M1 pro上做了同样的13.0版本,全部都是brew services restart postgresql@14
,它关闭,重新启动,运行良好,问题消失了。
https://stackoverflow.com/questions/74364934
复制相似问题