Chinaunix首页 | 论坛 | 博客
  • 博客访问: 11172
  • 博文数量: 5
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-19 09:06
文章分类

全部博文(5)

文章存档

2009年(5)

我的朋友
最近访客

分类: Oracle

2009-03-20 16:23:54

环境:
 

Os:Oracle-Enterprise-R5-U2-Server-i386 Oracle:linux_x86_11gR1_database

Symptom

[oracle@oracle11g ~]$ startup
ERROR:
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

Solution

简单方法:

[root@oracle11g ~]# getenforce

Enforcing
[root@oracle11g ~]# setenforce 0

[root@oracle11g ~]# getenforce

Permissive
[root@enterprice64 ~]# su - oracle

[oracle@oracle11g ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 11.1.0.6.0 - Production on Sun Jul 27 07:52:11 2008

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Connected to an idle instance.

SQL>

推荐方法:

[root@oracle11g ~]vi /etc/sysconfig/selinux
SELINUX=permissive

或者

[root@oracle11g ~]chcon -t texrel_shlib_t /u01/app/oracle/product/11.1.0/db_1/lib/libnnz11.so

阅读(818) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~