Subject: | Addition to DBD::Oracle::Troubleshooting::Linux |
We should provide advice for how to configure SELinux to allow httpd to load the shared libraries DBD::Oracle requires. I think it is as simple as:
/usr/sbin/setsebool -P httpd_execmem on
but I will be confirming this shortly at work.
Symptoms users should look for are libclntsh.so or libnnz12.so not being able to be loaded, with a message to that effect in the Apache logs:
[Tue Apr 17 13:22:45 2012] [error] Can't load '.../DBD/Oracle/Oracle.so' for module DBD::Oracle: libnnz11.so: cannot enable executable stack as shared object requires: Permission denied at .../DynaLoader.pm line 190.\n at .../startup.pl line 17\nCompilation failed in require at ...