Home > OS >  CenOS7 offline installation postgresql13 initialization is not successful
CenOS7 offline installation postgresql13 initialization is not successful

Time:12-23

Turn to
Download the postgresql13 four offline installer:
Postgresql13-13.1-1 PGDG. Rhel7. X86_64. RPM
Postgresql13 - libs - 13.1-1 PGDG. Rhel7. X86_64. RPM
Postgresql13 - contrib - 13.1-1 PGDG. Rhel7. X86_64. RPM
Postgresql13 - server - 13.1-1 PGDG. Rhel7. X86_64. RPM
And then: RPM - the ivh postgresql13 - * -- force -- nodeps
After initialization:/usr/PGSQL - 13/bin/postgresql - 13 - the setup initdb
You don't succeed: the Initializing the database... Behind not prompt OK
Open service systemctl start postgresql - 13
Tip: the Job for postgresql - 13. The service failed because the control process exited with the error code. See "systemctl status postgresql - 13. Service" and "journalctl - xe" for details.


I also raised the permissions: chmod 777/usr/PGSQL - 13/bin/postgresql - 13 - the setup
Chmod 777/usr/lib/systemd/system/postgresql - 13. Service
But the initialization is not success

CodePudding user response:

Should be the lack of dependence on package

CodePudding user response:

If the code is wrong, the service failed because the control process exited with the error code prompt code errors
  • Related