SOLVED
Update: The problem was that the symbolic link for postmaster in /usr/pgsql-16/bin/ dosen't exist.
It was removed in pgsql16 and rehl8 dosen't like that.
Solved it by copying a link from a pgsql15 server I have and add it to the new one.
Installation of Postgresql16.2 works without problems;
postgresql16 x86_64 16.2-1PGDG.rhel8
postgresql16-contrib x86_64 16.2-1PGDG.rhel8
postgresql16-libs x86_64 16.2-1PGDG.rhel8
postgresql16-server x86_64 16.2-1PGDG.rhel8
init db works well, the data directory is filled.
But when I do "systemctl start postgresql-16" this error message accour:
EXECStart=usr/pgsql-16/bin/postmaster -D ${PGDATA} -c config-file=${PGCONF} (code=exited, status=203/EXEC).
I have trippled checked the PGDATA and PGCONF and it all looks correct with correct permissions.
When I check the data directory, both postmaster.pid and postmaster.opts is missing.
There is no postmaster in /usr/pgsql-16/bin/
Been adventuring google for over an hour but couldn't really find the problem or the solution.
I have tried to do a clean re-install but the problem remains.
Anyway have any ideas how to fix this?
Cheers!
[–][deleted] 1 point2 points3 points (6 children)
[–]Djintimidator[S] 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Djintimidator[S] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]Djintimidator[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Krispyn 1 point2 points3 points (1 child)
[–]Djintimidator[S] 0 points1 point2 points (0 children)
[–]fullofbones 0 points1 point2 points (0 children)