sqlplus:errorwhileloadingsharedlibraries

刚装完ORACLE11g启动时如下报错:

创新互联公司服务项目包括阿巴嘎网站建设、阿巴嘎网站制作、阿巴嘎网页制作以及阿巴嘎网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,阿巴嘎网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到阿巴嘎省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

[oracle@oracle ~]$ sqlplus
sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied

解决方法:切换到root用户

[oracle@oracle ~]$ su oracle
口令:

执行setenforce 0 (设置SELinux 成为permissive模式 临时关闭selinux的)

[root@oracle oracle]# setenforce 0

之后就可以正常进入了

[oracle@oracle ~]$ sqlplus

SQL*Plus: Release 11.2.0.1.0 Production on Wed May 6 17:42:49 2015

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Enter user-name:

 


网页名称:sqlplus:errorwhileloadingsharedlibraries
文章来源:http://myzitong.com/article/pdggcs.html