Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”

1、系统环境:

Redhat 6.4 企业版

Oracle11.2.0.2 RAC+ASM

2、报错信息:/oracle/app/11.2.0/grid/bin/clscfg.bin:
error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory

3、问题的可能性:

①缺少系统补丁包“libcap"补丁包

 # rpm -qa|grep libcap

libcap-2-32bit-2.11-2.17.1

libcap-2-2.11-2.17.1

②缺少链接文件“libcap.so.1”

#cd /lib64

#ll|grep libcap

-rwxr-xr-x 1 root root 14792 Feb 21  2009 libcap.so.1.10

lrwxrwxrwx 1 root root    14 Jul 17 23:53 libcap.so.2 -> libcap.so.2.11

-rwxr-xr-x 1 root root 19016 Nov  5  2011 libcap.so.2.11

4、整体解决办法:

①缺少系统补丁包“libcap"补丁包

 # rpm -ivh|grep libcap

libcap2-32bit-2.11-2.17.1

libcap2-2.11-2.17.1

②缺少链接文件“libcap.so.1”

查找所缺链接文件的位置:

# find / -name libcap*

/lib/libcap.so.2

/lib/libcap.so.2.11

/lib64/libcap.so.2

/lib64/libcap.so.2.11

/lib64/libcap.so.1.10

创建链接文件:

# cd /lib64

# ln -s libcap.so.1.10  libcap.so.1

#ls -al libcap*

lrwxrwxrwx 1 root root    14 Aug  1 17:22 libcap.so.1 -> libcap.so.1.10

-rwxr-xr-x 1 root root 14792 Feb 21  2009 libcap.so.1.10

lrwxrwxrwx 1 root root    14 Jul 17 23:53 libcap.so.2 -> libcap.so.2.11

-rwxr-xr-x 1 root root 19016 Nov  5  2011 libcap.so.2.11

强制重置配置11g GI ohas

# /oracle/grid/product/11.2.0/grid/crs/install/roothas.pl -deconfig -force

Using configuration parameter file: /home/grid/product/11.2.0/grid/crs/install/crsconfig_params

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Stop failed, or completed with errors.

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Delete failed, or completed with errors.

CRS-4544: Unable to connect to OHAS

CRS-4000: Command Stop failed, or completed with errors.

Failure in execution (rc=-1, 0, No such file or directory) for command /etc/init.d/ohasd deinstall

Successfully deconfigured Oracle Restart stack

重跑root.sh

[[email protected] CVU_11.2.0.3.0_grid]# /oracle/grid/product/11.2.0/grid/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /home/grid/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

*************************************省略中间弹出的文本*************************************************************

Successfully configured Oracle Grid Infrastructure for a Standalone Server

时间: 2024-11-08 04:23:52

Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”的相关文章

Oracle 12C RAC安装grid时root.sh报错ORA-00845

Oracle 12C RAC安装grid时root.sh在二节点报错: CRS-2676: Start of 'ora.cssd' on 'prodb2' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'prodb2' CRS-2672: Attempting to start 'ora.ctssd' on 'prodb2' CRS-2676: Start of 'ora.ctssd' on

Nginx安装启动过程报错libpcre.so.1 cannot open shared object file: No such file or directory

具体报错信息如下: nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 环境:因为生产环境不让使用root用户,但是安装linux 的gcc .precel.zlib等依赖库权限不够,因此准备使用root用户安装,安装完成之后将权限切换至oper用户.因为nginx又安装在home目录,各种映射问题都暴露出来了,安装

安装11.2.0.3 RAC grid 执行root.sh报错

安装11.2.0.3 RAC grid 执行root.sh报错   root wallet   root wallet cert   root cert export   peer wallet   profile reader wallet   pa wallet   peer wallet keys   pa wallet keys   peer cert request   pa cert request   peer cert   pa cert   peer root cert TP

执行root.sh报错:CLSRSC-196: ACFS driver install action

oracle 19c已经发布了快一年了,在AIX和Linux上面安装的次数也不少了,安装的方法也层出不穷,最常用的就是图形化了,可以避免静默安装发现不了的问题.今天帮助一位朋友安装oracle 19c rac,在执行root.sh的时候,报错了.下面就详细分析下:执行root.sh,屏幕打印日志,显示在安装acfs的时候,报错failed了,前台日志只是显示failed,并没有具体的报错信息,我们在相关路径下面查找root.sh的日志,路径在前台日志重有显示,为/u01/app/grid/crs

Oracle Rac root.sh报错 Failed to create keys in the OLR, rc = 127 libcap.so.1

环境交待: Linux 6.3 Oracle Rac 11.2.0.4 [[email protected] grid]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME=  /u01/app/11.2.0/grid Enter the f

sysbench运行autogen.sh报错

./autogen.sh: 4: autoreconf: not found是在不同版本的 tslib 下执行 autogen.sh 产生.它们产生的原因一样,是因为没有安装automake 工具,      (ubuntu 10.04)用下面的命令安装好就可以了.sudo apt-get install autoconf automake libtool 原文地址:https://www.cnblogs.com/chinaops/p/9230972.html

Python安装完成 运行的时候报错 0xc000007b

1 . 打开网址下载 Visual C++ Redistributable for Visual Studio 2015 网址: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=48145 2 . 随便说一下,以前php7.0也是报0xc000007b错误,安装了这个Visual C++ Redistributable for Visual Studio 2015,也没有问题了. 原文地址:http://blog.51c

在RHEL 6.5上安装grid报错libcap.so.1

报错如下:/u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directoryFailed to create keys in the OLR, rc = 127, 32512 解决方法:确定libcap包已安装创建连接在/lib64ln -s libcap.so.2.16 l

RAC安装GI时运行root.sh脚本结果

第一节点运行root.sh脚本的结果: # /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oragrid ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin director