zoukankan      html  css  js  c++  java
  • 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包
  • 相关阅读:
    js和jquery获取图片真实的宽度和高度
    Python中为feedparser设置超时时间教程
    sql 聚合函数、排序方法详解
    BUAAMOOC项目终审报告
    BUAAMOOC项目M2 postmortem
    Beta阶段发布说明
    Beta版本测试报告
    2-Twenty Fifth Scrum Meeting-20151231
    2-Twenty Fourth Scrum Meeting-20151230
    2-Twenty third Scrum Meeting-20151229
  • 原文地址:https://www.cnblogs.com/lvcha001/p/12829416.html
Copyright © 2011-2022 走看看