sqlplus error:cannot restore segment prot after reloc: Permission denied
2012-08-08 09:45
447 查看
问题如下:
sqlplus: error while loading shared libraries: /apps/product/11.2.0/db_home/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
解决办法:
[root@localhost rlwrap-0.37]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
~
~
将SELINUX的值修改为disabled,修改后重启机器。
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 09:45:55 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL>
sqlplus: error while loading shared libraries: /apps/product/11.2.0/db_home/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
解决办法:
[root@localhost rlwrap-0.37]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
~
~
将SELINUX的值修改为disabled,修改后重启机器。
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 09:45:55 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL>
相关文章推荐
- ORACLE sqlplus错误:cannot restore segment prot after reloc: Permission denied
- 装好Oracle后打开sqlplus权限不足:cannot restore segment prot after reloc: Permission denied
- error while loading shared libraries: cannot restore segment prot after reloc: Permission denied错误原因[转]
- initdb error "cannot restore segment prot after reloc"
- Why do I get error "cannot restore segment prot after reloc: Permission denied"?
- Error: cannot restore segment prot after reloc: Permission denied
- 解决error while loading shared libraries: libmysqlclient.so.15: cannot restore segment prot after reloc: Permission denied的错误
- 解决错误error :/usr/lib/libjvm.so: cannot restore segment prot after reloc: Permission denied
- error: /usr/lib/libcgi.so: cannot restore segment prot after reloc: Permission denied
- DBCA error while loading shared libraries: cannot restore segment prot after reloc [ID 956792.1]
- [error]cannot restore segment prot after reloc: Permission denied
- error :/usr/lib/libjvm.so: cannot restore segment prot after reloc: Permission denied
- error: cannot restore segment prot after reloc
- error :/usr/lib/libjvm.so: cannot restore segment prot after reloc: Permission denied
- libjvm.so: cannot restore segment prot after reloc: Permission denied权限不够问题
- 运行sqlplus时遇到cannot restore segment prot after reloc: Permission denied
- [转]解决 cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc:Permission denied
- 动态库加载出错,cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied解决办法