«

NDB – PostgreSQL Database Instance Not Starting

Had a question the other day about a problem to start PostgreSQL Community Edition version 15.7 on Rocky Linux 9.4. Using the “systemctl status era_postgres.service” command provided the following output

Error including “code=exited, status=203/EXEC” typically indicates something related to Security-Enhanced Linux (SELinux) and when checking the configuration, using the “getenforce” command it displayed “enforcing” meaning the restrictive selinux configuration was used. Currently NDB does not support SELinux enforcing mode, this might or might not change in the future, so setting it to disabled solved the issue. Change the ELIUX configuration parameter in the file /etc/selinux/config and to change the runtime just use the command “setenforce 0”

When done, all good