Chinaunix首页 | 论坛 | 博客
  • 博客访问: 191098
  • 博文数量: 18
  • 博客积分: 543
  • 博客等级: 下士
  • 技术积分: 265
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-31 16:06
文章分类

全部博文(18)

文章存档

2013年(2)

2012年(3)

2011年(13)

分类: Oracle

2013-05-23 15:17:43

RHEL5.3下安装完Oracle11g后,启动sqlplus报错

  1. [oracle@RHEL53-213 ~]$ sqlplus / as sysdba
  2. sqlplus: 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

经google确认为seLinux引起的,处理办法如下:


1.关闭seLinux

设置SELINUX=disabled

  1. [root@RHEL53-213 ~]# cd /etc/selinux
  2. [root@RHEL53-213 selinux]# vi config


  3. # This file controls the state of SELinux on the system.
  4. # SELINUX= can take one of these three values:
  5. # enforcing - SELinux security policy is enforced.
  6. # permissive - SELinux prints warnings instead of enforcing.
  7. # disabled - SELinux is fully disabled.
  8. SELINUX=disabled
  9. # SELINUXTYPE= type of policy in use. Possible values are:
  10. # targeted - Only targeted network daemons are protected.
  11. # strict - Full SELinux protection.
  12. SELINUXTYPE=targeted

2.reboot


阅读(2522) | 评论(0) | 转发(0) |
0

上一篇:[原创]RHEL5.3 创建本地YUM源

下一篇:没有了

给主人留下些什么吧!~~