By default, CentOS 5 has the SE Linux feature set to enforcing. So, sometimes when you install CUBRID on CentOS and try to start the cubrid services using cubrid service start, you may encounter the following error:
cubrid@localhost ~$ cubrid service start cubrid: error while loading shared libraries: /opt/cubrid/lib/libcubridsa.so.8: cannot restore segment prot after reloc: Permission denied
To temporarily disable enforcement on a running system, type
To permanently disable enforcement during a system startup
change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot.
If this did not solve your problem, please check out the Permission Denied Error page for details on how to troubleshoot the problem: