cannot restore segment prot after reloc: Permission denied

编辑/etc/selinux/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=enforcing

把 SELINUX=enforcing 注释掉:#SELINUX=enforcing ,然后新加一行为:
SELINUX=disabled
保存,关闭。

如果你碰到其他类似提示:
cannot restore segment prot after reloc: Permission denied
哪应该是SELinux的问题,可以考虑把它关闭。
-------------------------------------------------------------------------------------
如果把SELinux关闭后还是不行.那么在你保证SElinux 被disable后.还执行下
chcon -t texrel_shlib_t
如: chcon -t texrel_shlib_t  /路径/路径/名字.so   (这个文件视具体执行文件.)

cannot restore segment prot after reloc: Permission denied,布布扣,bubuko.com

时间: 2024-08-25 00:46:57

cannot restore segment prot after reloc: Permission denied的相关文章

运行java -version报cannot restore segment prot after reloc: Permission denied

linux 安装jdk1.6后,运行java -version,没有出现相关的版本信息,而是出现了以下错误: dl failure on line 685Error: failed /usr/local/jdk1.6.0_10/jre/lib/i386/client/libjvm.so, because /usr/local/jdk1.6.0_10/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Pe

运行sqlplus时遇到cannot restore segment prot after reloc: Permission denied

运行sqlplus时遇到cannot restore segment prot after reloc: Permission denied,网上说可以吧SELinux关掉,但是我看了下我的系统已经关掉了,具体是编辑/etc/sysconfig/selinux,把SELINUX=enforcing一行注释掉,然后新加入一行:SELINUX=disabled,但是我这样做了以后,问题依旧,后来高手告诉我执行如下命令就行:chcon -t texrel_shlib_t /opt/app/oracle

lsnrctl: .... cannot restore segment prot after reloc: Permission denied

cannot restore segment prot after reloc: Permission denied Table of Contents 1. 错误信息 2. 解决方法 1 错误信息 $lsnrctl start lsnrctl: error while loading shared libraries: /u01/oracle/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission d

sqlplus时报Linux-x86_64 Error: 13: Permission denied

在本机上非oracle用户运行sqlplus时,报以下错误:[[email protected] ~]$ sqlplus cpdds_pdata/cpdds_pdata SQL*Plus: Release 10.2.0.4.0 - Production on 星期五 4月 27 13:43:16 2012 Copyright (c) 1982, 2007, Oracle.  All Rights Reserved. ERROR: ORA-01034: ORACLE not available O

sed: -i requires an argument Permission denied

在脚本中使用sed时,如果一行的内容较长,为了脚本美观要换行,在行尾添加"\"即可. 注意:如果在"\"之后添加空格,例如: sed -i "/^xxx=/s/.*/xxx=$xxx/"\[:space:]        $xxx echo $? [:space:]表示行尾有一个空格 脚本会报如下错误: sed: -i requires an argument./xxx.sh: line 20: xxx.sh: Permission denied

eclipse 向HDFS中写入文件报错 permission denied

环境:win7  eclipse    hadoop 1.1.2 当执行创建文件的的时候, 即: fileSystem.mkdirs(Path);//想hadoop上创建一个文件报错 报错: org.apache.hadoop.security.AccessControlException:Permission denied:user=Administrator,access=WRITE,inode="tmp":root:supergroup:rwxr-xr-x 原因: 1. 当前用户

tomcat启动报错:java.net.BindException: Permission denied <null>:80

1,启动报错显示 [org.springframework.web.servlet.DispatcherServlet]FrameworkServlet 'springMvc': initialization completed in 382 ms Jun 01, 2015 6:39:06 PM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.net.BindException:

Codeblocks 遇到的问题 Cannot open output file, permission denied

Codeblocks下运行C++的程序时,偶尔会出现  Cannot open output file, permission denied 的问题,导致不能够编译. 在 Stack Overflow 上看到有过类似的遭遇.   链接地址 I have encountered the same problem you have. I found that it may have some relationship with the way you terminate your run resul

windows下github 出现Permission denied (publickey).解决方法

今天在学习github的时候遇到了一些问题,然后爬了一会,找到了解决方法记录下来,以防忘记,当然能帮助别人最好啦! github教科书传送门:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 再学习到"添加远程仓库"的时候遇到了 Permission denied (publickey) 这个问题, 总结来说以前的步骤如下所示: 1.git config --global