Nov 01 14:07:52 * systemd[1]: postgresql.service: Control process exited, code=exited status=1
Nov 01 14:07:52* systemd[1]: postgresql.service: Failed with result 'exit-code'.
Nov 01 14:07:52* postgresql-check-db-dir[1151]: Directory "/var/lib/pgsql/data" is missing or empty.
Nov 01 14:07:52 * postgresql-check-db-dir[1151]: Use "/usr/bin/postgresql-setup --initdb"
Nov 01 14:07:52*u postgresql-check-db-dir[1151]: to initialize the database cluster.
Nov 01 14:07:52 * postgresql-check-db-dir[1151]: See /usr/share/doc/postgresql/README.rpm-dist for more information.
Nov 01 14:07:52 * systemd[1]: Failed to start PostgreSQL database server.
-- Subject: Unit postgresql.service has failed
-- Defined-By: systemd
-- Support:
https://access.redhat.com/support--
-- Unit postgresql.service has failed.
--
-- The result is failed.
Nov 01 14:07:52 ****: pam_unix(sudo:session): session closed for user root