zoukankan      html  css  js  c++  java
  • 安装完成oracle 11g R2 后,使用sqlplus 报错"sqlplus: error while loading shared libraries" ...

    环境平台:  linux  as  5.5 +  oracle  11g  R2
    故障描述:
    一个11g的bug,在安装完数据库后,能正常创建库以及监听。但在启动sqlplus命令,会发现下面的错误:
    [oracle@SANYFCBS ~]$ sqlplus "/as sysdba";
    sqlplus: error while loading shared libraries: /opt/ora11/product/11.1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
    
    
    解决方法:
    检查:[root@SANYFCBS selinux]#getenforce
    Enforcing
    
    1. [root@SANYFCBS selinux]#  /usr/sbin/setenforce 0
    
    
    2. [root@SANYFCBS selinux]# vi  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
    ~
  • 相关阅读:
    linux 创建python虚拟环境
    dic1.update(dic2)和{**dic2, **dic1}的区别
    redis
    电脑开机一卡一卡的,重启就好了
    股东大会和董事会的区别
    word空白框打钩
    计划资产回报
    成本法为什么要转权益法
    租赁负债
    AIDA64序列号
  • 原文地址:https://www.cnblogs.com/arcer/p/2949047.html
Copyright © 2011-2022 走看看