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

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

7d56cde6be986209410ed8f37a523b51.png

按提示缺少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

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

原文:http://chopper.blog.51cto.com/3946170/1359789

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值