洛杉矶MC机房 高速低价18元起

DIYVM

pgs*l 重启不起来,帮忙看下什么错误。

提示:如果官网是英文页面,建议使用谷歌浏览器能同步翻译页面。点击下载【谷歌浏览器最新绿色便携版】
注意:部分文章发布时间较长,可能存在未知因素,购买时建议在本站搜索商家名称,先充分了解商家动态。
交流:唯一投稿邮箱:hostvps@88.com。

网友 斌斌 说:

运行的命令是 sudo ******ctl restart postgres*l-14
关键是好像说配置文件错误?但是我把文件从另一台正常的上面**,也是错误。奇怪。另外问一下,主从好配置么。

Jul 08 00:54:48 ion-2 sudo[16228]: pam_unix(sudo:se**ion): se**ion opened for user **ot by **ot(uid=0)
Jul 08 00:54:48 ion-2 polkitd[505]: Registered Authentication Agent for unix-p**ce**:16229:316737474 (****** bus name :1.1915 [/usr/bin/pkttyagent –notify-fd 5 –fallback], object path /org/
Jul 08 00:54:48 ion-2 ******d[1]: Starting PostgreS*L 14 database ******…
— Subject: Unit postgres*l-14.******* has begun start-up
— Defined-By: ******d
— Support: http://lists.freedesktop.org/mailman/listinfo/******d-d***l
—
— Unit postgres*l-14.******* has begun starting up.
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: cat: /var/lib/pgs*l/14/data//PG_VERSION: Permi**ion denied
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: cat: /var/lib/pgs*l/14/data//PG_VERSION: Permi**ion denied
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: An old version of the database format was found.
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: You need to dump and reload before using PostgreS*L 14.
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: See /usr/share/doc/postgres*l14-14.4/README.rpm-dist for **** information.
Jul 08 00:54:48 ion-2 ******d[1]: postgres*l-14.*******: cont**l p**ce** exited, code=exited status=1
Jul 08 00:54:48 ion-2 ******d[1]: Failed to start PostgreS*L 14 database ******.
— Subject: Unit postgres*l-14.******* has failed
— Defined-By: ******d
— Support: http://lists.freedesktop.org/mailman/listinfo/******d-d***l
—
— Unit postgres*l-14.******* has failed.
—
— The result is failed.
Jul 08 00:54:48 ion-2 ******d[1]: Unit postgres*l-14.******* entered failed state.
Jul 08 00:54:48 ion-2 ******d[1]: postgres*l-14.******* failed.
Jul 08 00:54:48 ion-2 polkitd[505]: Unregistered Authentication Agent for unix-p**ce**:16229:316737474 (****** bus name :1.1915, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, l
Jul 08 00:54:48 ion-2 sudo[16228]: pam_unix(sudo:se**ion): se**ion closed for user **ot


网友 sd*u 说:

没用过
从一般的经验来说,先解决掉这个问题再看吧
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: cat: /var/lib/pgs*l/14/data//PG_VERSION: Permi**ion denied
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[16235]: cat: /var/lib/pgs*l/14/data//PG_VERSION: Permi**ion denied


网友 清蒸三文鱼 说:

只能看到权限问题几个字


网友 斌斌 说:

sd*u 发表于 2022-7-8 00:58
没用过
从一般的经验来说,先解决掉这个问题再看吧
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[162 …
网友 斌斌 说:

清蒸三文鱼 发表于 2022-7-8 01:01
只能看到权限问题几个字
网友 sd*u 说:

斌斌 发表于 2022-7-8 01:10
奇怪的是,我**ot运行的,修改文件以前没问题,就很奇怪
网友 斌斌 说:

sd*u 发表于 2022-7-8 01:36
它在运行的时候会切换到低权限的用户

About 贝壳

【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。

 收藏 (0) 打赏

您可以选择一种方式赞助本站

支付宝扫一扫赞助

微信钱包扫描赞助

本文链接:贝壳主机网 » pgs*l 重启不起来,帮忙看下什么错误。

分享到: 生成海报
香港/美国/国内高速VPS
切换注册

登录

忘记密码 ?

切换登录

注册

我们将发送一封验证邮件至你的邮箱, 请正确填写以完成账号注册和激活