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 denied

2 解决方法

原因是SELinux 限制了资源的访问。 以root用户操作。

# setenforce 0
# vi /etc/selinux/config # 将enforcing 改为disabled

Author: halberd.lee

Created: 2019-08-10 Sat 02:36

Validate

原文地址:https://www.cnblogs.com/halberd-lee/p/11330339.html

时间: 2024-10-08 11:13:47

lsnrctl: .... 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

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. # disab

运行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

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

TNS-12555 TNS:permission denied

[[email protected] ~]$ lsnrctl start listenerLSNRCTL for Linux: Version 11.2.0.3.0 - Production on 15-OCT-2014 22:53:27Copyright (c) 1991, 2011, Oracle.  All rights reserved.Starting /u01/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...TNSLSNR

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