[oracle@localhost lib]$ lsnrctl start
lsnrctl: error while loading shared libraries: /opt/oracle/product/10.2.0/db_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
[oracle@localhost lib]$
此问题是我第一次遇到,认真看下,提示没有权限,安装自己的思路,一步一步排除错误,最后发现selinux问题,查看
[root@localhost ~]# getenforce
Enforcing
我关掉之后
[root@localhost ~]# setenforce 0
[root@localhost ~]# getenforce
Permissive
然后再次执行此命令:
[oracle@localhost lib]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-AUG-2012 21:44:05
Copyright (c) 1991, 2009, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
转载于:https://blog.51cto.com/marlon617/965728