(5.2+) PostgreSQL does not start with systemd commands
Troubleshooting scenario
When SELINUX policies are enforced on an IVG server, the PostgreSQL (postgresqld) service may failed to start up. In this case, you may see an error message similar to the following:
Resolution
This can be resolved by executing a user-level systemd script, which is the recommend method of executing user-specific binaries (which can be a factor in this scenario).
Use the following steps to start, stop, restart, or check the status of the postgresqld service:
- Login to PostgreSQL server
- Run the required commands for start/stop/status/restart: