I'm encountering the following error:
"pg_ctl is unable to access the /u01/postgresql-15/data directory."
Initially, I managed to start PostgreSQL by setting SELinux to permissive mode. However, when I switch SELinux to enforcing mode, PostgreSQL-15 fails to start.
Is it possible to create a separate SELinux policy to resolve this issue?
Your data directory location is not default, that's the reason.
Обсуждают сегодня