CentOS 中 Oracle 启动 sqlplus 乱码处理
1. # 常用unicode字符集
export NLS_LANG=american_america.AL32UTF8
2. sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.1.0/db_1/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
解决:
这是因为SELINUX的问题,需要关闭SELINX,执行:/usr/sbin/setenforce 0
引用:
When packaging an application on RHEL or CentOS, you may receive the following error:
cannot restore segment prot after reloc: Permission denied
.
To Temporarily disable enforcement on a running system
/usr/sbin/setenforce 0
To permanently disable enforcement during a system startup
change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot.
.
By default, CentOS 5 has the SE Linux feature set to "enforcing". We are looking into ways to removing these steps.
浙公网安备 33010602011771号