Welcome 微信登录

首页 / 数据库 / MySQL / Oracle 11g安装报错cannot restore segment prot after reloc: Permission denied

环境:
RedHat Linux AS5.7 +Oracle11.2.0.1 X86_64位环境
 
安装完Oracle11.2.0.1后,通过netca创建监听程序,然后执行lsnrctl status,报错如下:
 
[oracle @bt bin]#lsnrctl status
 ./lsnrctl: error while loading shared libraries: /oracle/ora11g/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied解决过程如下:
[root@bt bin]#semanage fcontext -a -t textrel_shlib_t /oracle/ora11g/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
    csvn homedir /opt/CollabNet_Subversion or its parent directory conflicts with a defined context in /etc/selinux/targeted/contexts/files/file_contexts, /usr/sbin/genhomedircon will not create a new context. This usually indicates an incorrectly defined system account. If it is a system account please make sure its login shell is /sbin/nologin.
[root@bt bin]# restorecon -R -v /oracle/ora11g/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
    restorecon reset /home/mnum/app/mnum/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1 context user_u:object_r:user_home_t:s0->system_u:object_r:textrel_shlib_t:s0
 
重新执行lsnrctl status,问题解决。更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12Oracle 10g 数据泵分区表的导出Oracle数据备份过程中遇BUG_ORA-27054 NFS file system相关资讯      Oracle 11g  Oracle错误日志 
  • Oracle 11g导入到10g引起的错误  (11/16/2015 10:55:27)
  • Oracle 11g 导库导不出空表问题  (08/19/2015 19:55:58)
  • Oracle 11g统计信息收集--多列统计  (07/24/2015 10:32:39)
  • Oracle 11gClone安装方法  (08/24/2015 20:25:41)
  • Oracle 11g中和SQL TUNING相关的新  (08/12/2015 11:22:52)
  • Oracle 11g数据泵详解  (07/08/2015 08:29:51)
本文评论 查看全部评论 (0)
表情: 姓名: 字数