pg启动异常:Error: Failure while executing; `/bin/launchctl bootstrap gui/501
启动postgresql: brew services start postgresql
报错信息如下:
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/xxx/Library/LaunchAgents/homebrew.mxcl.postgresql@14.plist` exited with 5.
vi /Users/xxx/Library/LaunchAgents/homebrew.mxcl.postgresql@14.plist这个文件
接着查看log: vi /usr/local/var/log/postgresql@14.log
可以看到 这个错误:could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied
一开始一直以为权限问题,执行chmod,删除都没有作用。
后百度,发现不是这个文件的问题,在试验脚本的过程中没关闭数据库。执行ls -l /tmp/,列出隐藏文件,删除tmp下跟postgresql有关的隐藏文件就ok了。
参考链接:
pg启动异常FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied_sunshinepx的博客-CSDN博客
pg启动异常:Error: Failure while executing; `/bin/launchctl bootstrap gui/501相关推荐
- Mac系统brew install 安装报错 Error: Failure while executing
Mac安装Apache http服务器,brew install httpd 时报错 报错信息如下: ==> Installing httpd dependency: nghttp2 ==> ...
- 处理一次 MYSQL 启动异常 Error writing file '/tmp/MYYEBa32' (Errcode: 28 - No space left on device)
背景:测试同事的存储过程,发现其错误日志有 : Error writing file '/tmp/MYQUn0a7' (Errcode: 28 - No space left on device) 判 ...
- 解决Homebrew报错Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-core....
cd "$(brew --repo)/Library/Taps/" rm -rf homebrew mkdir homebrew cd homebrew git clone git ...
- 解决Homebrew报错Error: Failure while executing;
cd "$(brew --repo)/Library/Taps/" rm -rf homebrew mkdir homebrew cd homebrew git clone git ...
- Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-core
cd "$(brew --repo)/Library/Taps/" rm -rf homebrew mkdir homebrew cd homebrew git clone git ...
- 记一次Jenkins 打包异常 ERROR: Exception when publishing, exception message [Failure]
记一次Jenkins 打包异常 ERROR: Exception when publishing, exception message [Failure] 参考文章: (1)记一次Jenkins 打包 ...
- Spring boot 项目Kafka Error connecting to node xxx:xxx Kafka项目启动异常 Failed to construct kafka consumer
Spring boot 项目Kafka Error connecting to node xxx:xxx Spring boot Kafka项目启动异常 新建了一个springBoot集成Kafka的 ...
- elasticsearch安装 及 启动异常解决
虚拟机使用net连接模式 1 Download and unzip the latest Elasticsearch distribution 2 Run bin/elasticsearch on U ...
- 【Promise】入门-同步回调-异步回调-JS中的异常error处理-Promis的理解和使用-基本使用-链式调用-七个关键问题
文章目录 1. 预备知识 1.1 实例对象与函数对象 1.2 两种类型的回调函数 1. 同步回调 2. 异步回调 1.3 JS中的异常error处理 1. 错误的类型 2. 错误处理(捕获与抛出) 3 ...
最新文章
- linux下载哪个python版本-Linux安装多个Python版本
- 【干货分享】云服务平台的架构及优势(上)
- Android 程序适应多种多分辨率
- openssl aes加解密的使用
- 如何屏蔽PHP浏览器头信息X-Powered-By
- 如何设计让用户喜欢且令人尖叫的产品?
- Oracle中procedure和function创建举例
- bootstrap 一排5个_Bootstrap5 列(Columns)
- c语言江宝钏实验六答案,C语言程序设计江宝钏著实验六答案
- SpringMVC RedirectView的使用以及源码分析
- CVPR 2017精彩论文解读:综合使用多形态核磁共振数据的3D生物医学图像分割方法...
- Linux-zip和unzip命令
- 示波器上1G/S 100MHZ的含义
- matlab继续截止频率,关于-3db截止频率
- 搜款网根据关键词取商品列表 API 返回值说明
- 概率逗号分号_分号的用法 和逗号的区别
- 计算机英语考虑是,计算机英语中单词privilege和permission的区别
- 计算机博弈围棋,计算机博弈:“不围棋”入门教程
- 解决IntelliJ IDEA中打开JSP文件(使用快捷键Alt+F2)时,弹出的浏览器网页只显示JSP源码
- Python网络爬虫实战:《跨越星弧》TapTap玩家评论的抓取及分析