网友 斌斌 说:
运行的命令是 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
网友 清蒸三文鱼 说:
只能看到权限问题几个字
网友 斌斌 说:
没用过
从一般的经验来说,先解决掉这个问题再看吧
Jul 08 00:54:48 ion-2 postgres*l-14-check-db-dir[162 …
网友 斌斌 说:
只能看到权限问题几个字
网友 sd*u 说:
奇怪的是,我**ot运行的,修改文件以前没问题,就很奇怪
网友 斌斌 说:
爱主机