运行lsnrctl命令,显示Permission denied
1、[oracle@localhost ~]$ lsnrctllsnrctl: error while loading shared libraries: /u01/app/oracle/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
是由于selinux默认情况为enforcing状态

2、SELinux是「Security-Enhanced Linux」的简称,是美国国家安全局(NSA) 和SCC开发的 Linux的一个强制访问控制安全模块。
SELinux有三个值:enforcing、 permissive、disabled
3、 # 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.
输入命令 vi /etc/selinux/config,查看selinux配置

4、输入命令su root,输入口令,切换至root账户,
输入命令setenforce 0,修改selinux值

5、执行lsnrctl命令,输入start,启动监听


声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:69
阅读量:148
阅读量:180
阅读量:37
阅读量:59