ITPub博客

首页 > 数据库 > Oracle > 安装GRID执行root.sh脚本报警(INS-41814)

安装GRID执行root.sh脚本报警(INS-41814)

原创 Oracle 作者:zengluoqiu 时间:2016-03-23 11:30:35 0 删除 编辑

安装GRID时执行root.sh脚本报警(INS-41814)

1. 环境与问题

虚拟机:VMware Workststion 10

操作系统:Oracle Linux 6.7

数据库:Oracle 11g R2(11.2.0.1 与11.2.0.4)

在Oracle Linux 6.7上安装Oracle 11g R2(11.2.0.1),安装GRID时,最后执行root.sh脚本时报警:[INS-41814] The installer has detected that some of the services of Grid Infrastructure are not running on this system。显示的原因为没有执行root.sh。具体如下截图.

clip_image002

点击Yes后,继续执行,之后继续报错,显示Oracle Net Configure Assistant failed。具体如图:

clip_image003

2. 分析与解决

NETCA失败显然是因为前面没有正确执行root.sh导致,找到root.sh执行时生成的日志/u01/app/grid/product/11.2.0/grid/cfgtoollogs/crsconfig/roothas.log,日志多次显示Failure with return code 1 from command rm,如图:

clip_image005

笔者仔细回忆安装过程,安装过程中OUI做Perform Prerequisite Checks时,显示有包没有安装,但当时选择了Ignore All也通过了,如下图

clip_image007

但这些包笔者先前都安装过,但为何在此又提示没有安装,后通过google查询,找到别人类似的问题以及解决办法:

It seems that your version is newer than the required one (105-2 while oracle looks for 105).

If you refer to this page you will see that some packages can be ignored as OUI doesn't recognize newer version of the packages 

发现是因为我安装了高版本的操作系统,高版本的包,OUI没有及时检测出。如上图,OUI提示Package:libaio-0.3.105没有安装,但实际上在装操作系统(Oracle Linux 6.7)时,我已经装了libaio-0.3.107,如下图所示:

clip_image008

其余的包也是类似的原因。

最后,下载高版本的Oracle(11.2.0.4),之前是Oracle(11.2.0.1),在相同的Oracle Linux 6.7安装,Perform Prerequisite Checks没有提示包未安装,root.sh脚本也正常执行,NETCA有正常安装,启动,GRID顺利完成。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29367946/viewspace-2062399/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2015-04-02

  • 博文量
    20
  • 访问量
    116254