暂无图片
安装12cGRID的时候,执行root.sh报错
我来答
分享
Ld
2020-02-07
安装12cGRID的时候,执行root.sh报错

image.png

我来答
添加附件
收藏
分享
问题补充
10条回答
默认
最新
Ld

2020/02/06 23:21:00 CLSRSC-594: Executing installation step 18 of 19: ‘ConfigNode’.
PRCR-1071 : Failed to register or update resource type ora.database.type
CRS-0184 : Cannot communicate with the CRS daemon.
2020/02/06 23:21:55 CLSRSC-180: An error occurred while executing the command ‘/oracle/app/12.2/grid/bin/srvctl upgrade model -restype’
The command '/oracle/app/12.2/grid/perl/bin/perl -I/oracle/app/12.2/grid/perl/lib -I/oracle/app/12.2/grid/crs/install /oracle/app/12.2/grid/crs/install/rootcrs.pl ’ execution failed

这是具体报错信息,能否重新执行root.sh脚本呢

暂无图片 评论
暂无图片 有用 0
打赏 0
外包DBA

先查$GRID_HOME/log/主机名/下面的日志具体报错原因,直接重新运行root.sh是没用的

暂无图片 评论
暂无图片 有用 0
打赏 0
Ld

有一个alert日志下有以下信息:没太看明白

06-Feb-20 23:36 ASMCMD (PID = 61437) Given command - afd_dsget
06-Feb-20 23:36 ASMCMD (PID = 61350) Given command - afd_lsdsk
06-Feb-20 23:36 NOTE: afdtool -afdds query
06-Feb-20 23:36 NOTE: Invoking “/bin/su grid -c “/oracle/app/12.2/grid/bin/afdtool -afdds query”” as user “grid”
06-Feb-20 23:36 NOTE: command execution (/oracle/app/12.2/grid/bin/afddriverstate loaded) returned : 1
06-Feb-20 23:36 reverted LANG/NLS_LANG to en_US.UTF-8/
06-Feb-20 23:36 Error: AFD-9206: AFD device driver loaded status: ‘false’

06-Feb-20 23:36 NOTE: Verifying AFD driver state : Not loaded
06-Feb-20 23:36 ASMCMD-9520: AFD is not ‘Loaded’
06-Feb-20 23:37 NOTE: command execution (/bin/su grid -c “/oracle/app/12.2/grid/bin/afdtool -afdds query”) returned : 1
06-Feb-20 23:37 ASMCMD-9511: failed to obtain required AFD disk string from Oracle Local Repository

暂无图片 评论
暂无图片 有用 0
打赏 0
章芋文

在安装的时候默认会选择AFD,建议取消勾选。

暂无图片 评论
暂无图片 有用 0
打赏 0
Ld

那个也没有勾选过,我是在4G的虚机内存,不知道会不会因为内存太小的缘故。

暂无图片 评论
暂无图片 有用 0
打赏 0
章芋文

4G内存够了,AFD会默认勾选,要手工取消

暂无图片 评论
暂无图片 有用 0
打赏 0
Ld

重头检查了一遍,AFD是我手动取消的,跑root.sh到第18步,报了相同的错误,网上和mos也都没查到,能看出是哪的问题吗?
错误如下:

2020/02/06 23:21:00 CLSRSC-594: Executing installation step 18 of 19: ‘ConfigNode’.
PRCR-1071 : Failed to register or update resource type ora.database.type
CRS-0184 : Cannot communicate with the CRS daemon.
2020/02/06 23:21:55 CLSRSC-180: An error occurred while executing the command ‘/oracle/app/12.2/grid/bin/srvctl upgrade model -restype’
The command '/oracle/app/12.2/grid/perl/bin/perl -I/oracle/app/12.2/grid/perl/lib -I/oracle/app/12.2/grid/crs/install /oracle/app/12.2/grid/crs/install/rootcrs.pl ’ execution failed

暂无图片 评论
暂无图片 有用 0
打赏 0

解决了没,dd磁盘重新运行试试。

暂无图片 评论
暂无图片 有用 0
打赏 0
请问解决了吗,我也遇到了
暂无图片 评论
暂无图片 有用 0
打赏 0
Ld

问题应该是我虚拟机内存太小缘故,换其他环境是没有问题的。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏