1问题描述:
rac 搭建过程中在节点1执行root,报了如下错误:
[root@rac1 ~]# /u01/app/grid/PRoduct/11.2.0/grid_1/root.shPerforming root user Operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/grid/product/11.2.0/grid_1Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/grid/product/11.2.0/grid_1/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerFailed to create keys in the OLR, rc = 127, Message: /u01/app/grid/product/11.2.0/grid_1/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory Failed to create keys in the OLR at /u01/app/grid/product/11.2.0/grid_1/crs/install/crsconfig_lib.pm line 7660./u01/app/grid/product/11.2.0/grid_1/perl/bin/perl -I/u01/app/grid/product/11.2.0/grid_1/perl/lib -I/u01/app/grid/product/11.2.0/grid_1/crs/install /u01/app/grid/product/11.2.0/grid_1/crs/install/rootcrs.pl execution failed
2.解办法:
上面报错是由于系统缺少compat-libcap1 包造成的,在2个节上分别安装这个包再次执行root脚本就可以了
[root@rac1 ~]# rpm -ivh /os/Packages/compat-libcap1-1.10-1.x86_64.rpm
新闻热点
疑难解答