Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

cannot restore segment prot after reloc: Permission denied


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

/usr/sbin/setenforce 0

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:

http://www.cubrid.org/wiki_tutorials/entry/permission-denied-error

comments powered by Disqus
Page info
viewed 6495 times
translations en
Author
posted last year by
CUBRID
Contributors
updated last year by
View revisions
Share this article