首页 > 代码库 > sqlplus: error while loading shared libraries解决方法

sqlplus: error while loading shared libraries解决方法

dbca建库后sqlplus提示如下

$ sqlplus / as sysdbasqlplus: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied


解决方法

将selinux功能关掉  

root用户 将/etc/selinux/config文件中的selinux=enforce  改为disable重启操作系统