• redhat6.9安装oracle11.2.0.4,执行root.sh脚本报错libcap.so.1 No such file or directory


    redhat6.9安装oracle11.2.0.4,执行root.sh脚本报错libcap.so.1 No such file or directory

    查询MOS

    Linux: clscfg.bin Error While Loading Shared Libraries: libcap.so.1 (Doc ID 952051.1)    
    现象匹配
    11gR2 Grid Infrastructure root.sh or rootupgrade.sh fails with following error:
    Failed to create keys in the OLR, rc = 127, 32512
    OR
    clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
    OR
    CLSRSC-188: Failed to create keys in Oracle Local Registry
    OR
    Failed to create keys in the OLR, rc = 127, Message:
    /u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: /lib64/libcap.so.1: file too short
    CAUSE
    libcap package is not installed:
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRID_HOME/lib
    ldd $GRID_HOME/bin/clscfg.bin
    ..
             libcap.so.1 => not found
    ..
    or the file /lib64/libcap.so.1.10 is 0 byte.
    检查与mos现象一致
    [root@<node2> ~]# ls -l /lib64/libcap.so.1.10
    -rwxr-xr-x. 1 root root 0 Nov 20 2010 /lib64/libcap.so.1.10 <==========0 byte
    
    解决方法,安装如下3个包 ! SOLUTION Install libcap1 and libcap2 package, i.e.: rpm
    -ivh libcap1-1.10-6.10.x86_64.rpm rpm -ivh libcap2-2.11-2.15.x86_64.rpm Alternatively install compat-libcap1 Once installed, re-run root script. 使用yum安装compat的包 #yum -y install compat*
    compat-libcap1.x86_64 0:1.10-1
    [root@wsgw1 mnt]# ls -l /lib64/libcap.so.1.10 
    -rwxr-xr-x 1 root root 15224 Aug 24 2010 /lib64/libcap.so.1.10
    再次执行root.sh脚本,两个节点都需要安装rpm包
  • 相关阅读:
    在Windows7下启动MongoDB服务的解决方案
    Spring MVC之@RequestBody, @ResponseBody 详解
    Spring MVC之@RequestParam @RequestBody @RequestHeader 等详解
    SpringMVC+Shiro权限管理
    Spring中@Async用法总结
    当spring 容器初始化完成后执行某个方法
    Java四种线程池的使用
    JavaWeb动态导出Excel可弹出下载
    kinderEditor + Struts2整合
    请求webservice接口的某方法数据
  • 原文地址:https://www.cnblogs.com/lvcha001/p/12829416.html
Copyright © 2020-2023  润新知