Home  >  Article  >  Database  >  Oracle 11G SELinux原因启动失败的解决办法

Oracle 11G SELinux原因启动失败的解决办法

WBOY
WBOYOriginal
2016-06-07 16:52:221231browse

OS:Oracle-Enterprise-R5-U2-Server-i386Oracle:linux_x86_11gR1_databaseERROR:sqlplus: error while loading shared libraries

Linux公社

首页 → 数据库技术

背景:

阅读新闻

Oracle 11G SELinux原因启动失败的解决办法

[日期:2008-08-01] 来源:Linux公社  作者:Linux编辑 [字体:]

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

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

一:简单方法
[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>
Note:系统重启后会失效.

二:推荐方法
vi /etc/sysconfig/selinux 修改 SELINUX=permissive
或者
chcon -t texrel_shlib_t /u01/app/oracle/product/11.1.0/db_1/lib/libnnz11.so

linux

  • 0
  • MySQL服务器上添加一个允许远程访问的用户

    新手进阶 查看MySQL表结构命令

    相关资讯       Oracle 11g 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2014 Linux公社 All rights reserved 浙ICP备06018118号

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn