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
新聞熱點
疑難解答