您的位置:首页 > 数据库

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐