oracle 11g ASM单节点数据库安装grid执行root.sh脚本报错

安装一个单节点的11g数据库使用ASM存储文件,在安装grid执行root.sh脚本的时候报错如下:

按提示缺少libcap软件包,安装如下软件包:

libcap-devel-2.16-5.5.el6.x86_64
compat-libcap1-1.10-1.x86_64
libcap-2.16-5.5.el6.x86_64
libcap-ng-0.6.4-3.el6_0.1.x86_64

继续执行root.sh脚本不通过按提示执行命令:

/home/u01/app/grid/product/11g/grid/crs/install/roothas.pl -deconfig

提示deconfig失败

继续执行命令在verbose模式下:

# /home/u01/app/grid/product/11g/grid/crs/install/roothas.pl -deconfig -force -verbose
Using configuration parameter file: /home/u01/app/grid/product/11g/grid/crs/install/crsconfig_params
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
You must kill ohasd processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
ACFS-9313: No ADVM/ACFS installation detected.
Either /etc/oracle/olr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Failure in execution (rc=-1, 256, No such file or directory) for command /etc/init.d/ohasd deinstall
Successfully deconfigured Oracle Restart stack

执行成功;

执行root.sh脚本通过:

./root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
   ORACLE_OWNER= grid
   ORACLE_HOME=  /home/u01/app/grid/product/11g/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.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /home/u01/app/grid/product/11g/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user ‘grid‘, privgrp ‘oinstall‘..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4664: Node tmdb successfully pinned.
Adding Clusterware entries to upstart

tmdb     2014/02/17 13:11:41     /home/u01/app/grid/product/11g/grid/cdata/tmdb/backup_20140217_131141.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server


本文出自 “乔巴超人” 博客,转载请与作者联系!

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。