2019独角兽企业重金招聘Python工程师标准>>>

错误:

   sqlplus: error while loading shared libraries: ../lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied

常见于安装oracle服务器所带的sqlplus或者安装oracle客户端所带的sqlplus.

 解决方案:

方法1:检查sqlplus安装包是否与所在的系统的版本相符合。

方法2

1 root用户登录

2 使用cd命令切换当前目录到 /etc/selinux

[root@TEST11G ~]# cd /etc/selinux
[root@TEST11G selinux]# ll
total 32
-rw-r--r-- 1 root root  448 Jun  6  2014 config
-rw------- 1 root root  144 Jan 16  2007 restorecond.conf
-rw-r--r-- 1 root root 1752 Dec 22  2006 semanage.conf
drwxr-xr-x 5 root root 4096 Jun  6  2014 targeted

3 使用vim打开config文件

找到里面的SELINUX条目,设置成disabled

[root@TEST11G 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

改完后保存并退出。

4 重启系统,即可!

转载于:https://my.oschina.net/liuyuanyuangogo/blog/502090

sqlplus: error while loading shared libraries相关推荐

  1. sqlplus: error while loading shared libraries: libclntsh.so.11.1

    sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No ...

  2. GCC 链接 xxx:No such file or directory 及运行可执行文件 error while loading shared libraries: xxx.so 解决方案

    关于 GCC 提示找不到指定库文件的这个问题,通常出现在以下 2 个场景中: 利用静态库或者动态库文件实现链接操作(生成可执行文件)时,·GCC 可能会提示 xxx:No such file or d ...

  3. error while loading shared libraries: libstdc++.so.5: wrong ELF class: ELFCLASS64

    今天部署一个探针在运行的时候报了这样一个错:error while loading shared libraries: libstdc++.so.5: wrong ELF class: ELFCLAS ...

  4. Linux/ubuntu:Chrome报错解决: error while loading shared libraries: libnss3.so libXss.so.1 libasound.so.

    下午在用nodejs在linux上操作puppeteer/chromium/chrome时报错如下: -> # node search.js count is 1 (node:15360) Un ...

  5. 报错解决:cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such fi

    我的个人博客:zhang0peter的个人博客 先说一下为什么会发生这个错误,我看这篇博客:分享Centos6.5升级glibc过程 ,里面提到了如下命令: $ rm -rf /lib64/libc. ...

  6. 安装了libevent和memcached之后却发现在执行的时候出现了 error while loading shared libraries问题...

    今天晚上心血来潮装libevent和memcached,可是却出现了奇葩的问题,结果一看越来是引导文件的路径不对! 我遇到  error while loading shared libraries: ...

  7. 启动 nginx 时报错:error while loading shared libraries:

    Nginx 启动出错 error while loading shared libraries: libpcre.so.1 error while loading shared libraries: ...

  8. error while loading shared libraries: libz.so.1错误

    编译全志linux内核报错 CC scripts/mod/empty.oHOSTCC scripts/genksyms/genksyms.oSHIPPED scripts/genksyms/lex.l ...

  9. Linux中error while loading shared libraries错误解决办法

    默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,通常通过源码包进行安装时,如果不指定--prefix,会将库安装在/usr/local/lib目录下:当运行程序需要链接动态库 ...

最新文章

  1. nginx http 服务器搭建
  2. 面向对象的三大特性(封装、继承、多态)
  3. 对面向接口编程、按分层建项目的反思和新的分层结构思路
  4. 百度面试题:生产者 消费者问题
  5. [HDU] 5444.Elven Postman (堆)
  6. java我们一起打雪仗_我们一起打雪仗作文
  7. C语言实现文件读取矩阵乘法
  8. Confluence与Jira整合之统一用户管理
  9. GameDev.net日报 2010.11.12 要卖了
  10. Cordova入门系列(三)Cordova插件调用 转发 https://www.cnblogs.com/lishuxue/p/6018416.html...
  11. nth-child(n)和nth-of-type(n)
  12. Leetcode刷题(4)罗马数字转整数
  13. getNextElement( )函数——获取下一个特定的元素节点
  14. M3U8下载,直播源下载,FLASH下载(四)-m3u8直播源下载工具类
  15. 摄影基础知识——曝光和测光
  16. 字符转换 提取一个字符串中的所有数字字符('0'……'9'),将其转换为一个整数输出。 首位不能是0
  17. 已达到人类水准语音识别模型的whisper,真的有这么厉害吗?
  18. 微信考勤签到 php,【投稿】微信签到打卡领积分源码,每日积分签到
  19. 断网自动关机软件/断网自动关闭电脑工具v1.0
  20. 【c语言作业-二维数组】编写程序,求一个给定的n阶方阵的鞍点。

热门文章

  1. RocketMQ-手把手教你搭建集群
  2. IT项目管理总结:第三章 项目管理过程组
  3. 7 项目人力资源管理
  4. QT制作音乐播放器的相关知识点
  5. cmd 找不到java power 可以_高三总是找不到学习状态?这几个方法一定可以帮到你!...
  6. Linux中shell模块的考试,linux下的shell编程要考试了题目这里有可是表示不会 求帮忙...
  7. 2018创投圈风云再起,企服征途百家争鸣,寻找中国创业最强音!
  8. Eclipe 新建maven web 项目
  9. 有关OVM社区产品经理对OVM的29个问题解答!
  10. 10. http 的一些说明及分析工具