求助
下載了postgresql13的四個離線安裝包:
postgresql13-13.1-1PGDG.rhel7.x86_64.rpm
postgresql13-libs-13.1-1PGDG.rhel7.x86_64.rpm
postgresql13-contrib-13.1-1PGDG.rhel7.x86_64.rpm
postgresql13-server-13.1-1PGDG.rhel7.x86_64.rpm
然后:rpm -ivh postgresql13-* --force --nodeps
之后初始化:/usr/pgsql-13/bin/postgresql-13-setup initdb
不成功:Initializing database ... 后面沒有提示OK
開啟服務systemctl start postgresql-13
提示:Job for postgresql-13.service failed because the control process exited with error code. See "systemctl status postgresql-13.service" and "journalctl -xe" for details.
我也提高了權限:chmod 777 /usr/pgsql-13/bin/postgresql-13-setup
chmod 777 /usr/lib/systemd/system/postgresql-13.service
但是初始化就是不成功
uj5u.com熱心網友回復:
應該是有缺少依賴包uj5u.com熱心網友回復:
是不是代碼錯了,service failed because the control process exited with error code提示的是代碼錯誤轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/238735.html
標籤:系統維護與使用區
上一篇:shell基本問題咨詢。
