upon following the installation procedure given in the docs , i ended up not being able to start the postgresql service
distro - fedora 38
[niran@fedora ~]$ systemctl enable --now postgresql
Job for postgresql.service failed because the control process exited with error code.
See "systemctl status postgresql.service" and "journalctl -xeu postgresql.service" for details.
[niran@fedora ~]$ systemctl status postgresql.service
× postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Thu 2023-08-24 20:33:29 IST; 4min 42s ago
Process: 5207 ExecStartPre=/usr/libexec/postgresql-check-db-dir postgresql (code=exited, status=0/SUCCESS)
Process: 5209 ExecStart=/usr/bin/postmaster -D ${PGDATA} (code=exited, status=1/FAILURE)
Main PID: 5209 (code=exited, status=1/FAILURE)
CPU: 22ms
Aug 24 20:33:29 fedora systemd[1]: Starting postgresql.service - PostgreSQL database server...
Aug 24 20:33:29 fedora postmaster[5209]: 2023-08-24 20:33:29.110 IST [5209] LOG: redirecting log output to logging collector process
Aug 24 20:33:29 fedora postmaster[5209]: 2023-08-24 20:33:29.110 IST [5209] HINT: Future log output will appear in directory "log".
Aug 24 20:33:29 fedora systemd[1]: postgresql.service: Main process exited, code=exited, status=1/FAILURE
Aug 24 20:33:29 fedora systemd[1]: postgresql.service: Killing process 5210 (postmaster) with signal SIGKILL.
Aug 24 20:33:29 fedora systemd[1]: postgresql.service: Failed with result 'exit-code'.
Aug 24 20:33:29 fedora systemd[1]: Failed to start postgresql.service - PostgreSQL database server.
upon following the installation procedure given in the docs , i ended up not being able to start the postgresql service
distro - fedora 38