pg_ctl: cannot be run as root
来源:互联网 发布:用电脑修改游戏数据 编辑:程序博客网 时间:2024/04/29 23:37
使用pg_ctl管理postgresql数据库报错:
[root@db1 Desktop]# pg_ctl startpg_ctl: cannot be run as rootPlease log in (using, e.g., "su") as the (unprivileged) user that willown the server process.
原因是用户错误的使用了root用户来执行命令。
PG是禁止使用超级管理员来运行该命令的。
切换到操作系统数据库管理员用户下运行命令。[root@db1 Desktop]# su - highgo[highgo@db1 ~]$ pg_ctl start
By 徐云鹤
阅读全文
1 0
- pg_ctl: cannot be run as root
- Google Chrome can not be run as root 解决办法
- Google Chrome can not be run as root (redhat6)
- ubuntu Google Chrome can not be run as root
- google-chrome can not be run as root
- ubuntu13.10: google chrome can not be run as root
- Chromium can not be run as root错误
- google chrome can not be run as root
- VLC is not supposed to be run as root. 问题解决
- ubuntu google chorme can not be run as root
- adbd cannot run as root in production builds
- adbd cannot run as root in production builds的解决方法
- [iOS Diary]CocoaPods [!] You cannot run CocoaPods as root.
- adbd cannot run as root in production builds
- adbd cannot run as root in production builds
- 解决adbd cannot run as root in production builds问题
- adbd cannot run as root in production builds的解决方法
- adbd cannot run as root in production builds的解决方法
- hdu 5441Travel(并查集)
- 链表与顺序表的对比
- 数据结构调试C语言----\n
- Javascript基本语法
- 第四届世界互联网大会人工智能论坛:AI让生活更美好
- pg_ctl: cannot be run as root
- 使用C# 操作了xls 格式的文件!
- xilinx 安装驱动失败或者驱动不适用于该平台解决方案
- 3
- Angular2--Directives
- 【Scikit-Learn 中文文档】无监督降维
- 3
- 写北京SEO优化的方案并不是很难
- IEC62087音视频类设备功耗测量方法