oracle 11g ASM单节点数据库安装grid执行root.sh脚本报错
2014-02-17 14:54
1106 查看
安装一个单节点的11g数据库使用ASM存储文件,在安装grid执行root.sh脚本的时候报错如下:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/7d56cde6be986209410ed8f37a523b51.jpg)
按提示缺少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
本文出自 “乔巴超人” 博客,转载请与作者联系!
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/7d56cde6be986209410ed8f37a523b51.jpg)
按提示缺少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
本文出自 “乔巴超人” 博客,转载请与作者联系!
相关文章推荐
- 部署oracle 11g standone,安装grid时,以root执行第二个脚本报错
- 安装oracle grid infrastructure时中断root.sh脚本执行,报错如下:Existing OCR configuration found, aborting the conf
- Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh
- redhat 6.9 安装oracle 11.2.0.1 grid时在最后介面,运行root.sh之前执行以下命令
- Configure Oracle 11gR2 RAC 一节点执行root.sh脚本报错
- Oracle 11g RAC 二节点root.sh执行报错故障一例
- oracle 11gr2 RAC安装中在node 2节点再次执行root.sh遇到的问题
- 如何来分析oracle 11g grid infrastructure root.sh 执行错误诊断?
- 【RAC】安装cluster软件 在节点2执行root.sh脚本
- 安装Oracle执行orainstRoot.sh与root.sh作用
- Linux系统安装oracle时,orainstRoot.sh,root.sh脚本的作用。
- 安装12.1.0.2 集群GRID/GI, 运行root.sh 脚本失败的案例
- Grid软件安装过程中orainstRoot.sh和root.sh脚本到底做了什么?
- RHEL5.6 64bit安装oracle 11gR2单节点数据库
- Linux系统安装oracle时,orainstRoot.sh,root.sh脚本的作用。
- 11g R2 RAC安装第2个节点root.sh不成功
- 如何诊断crs 安装时 root.sh 脚本执行错误
- Grid软件安装过程中orainstRoot.sh和root.sh脚本到底做了什么?
- oracle 11g 单节点安装 ASM,找不到ASM磁盘组
- 在OEL6.1下安装ORACLE 11G R2和ASM(用grid安装包)[未曾亲自试过]