执行rootcrs.pl重新配置GI报错

橙三吉。 提交于 2019-12-13 14:11:00

[root@racnode2 ~]# /u01/app/11.2.0.4/grid_home/crs/install/rootcrs.pl -verbose -deconfig -force
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /u01/app/11.2.0.4/grid_home/crs/install) at /u01/app/11.2.0.4/grid_home/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/11.2.0.4/grid_home/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/11.2.0.4/grid_home/crs/install/rootcrs.pl line 305.
BEGIN failed--compilation aborted at /u01/app/11.2.0.4/grid_home/crs/install/rootcrs.pl line 305.


文件缺失,解决办法是拷贝一份过去

[root@racnode2 ~]# cp -p /u01/app/11.2.0.4/grid_home/perl/lib/
5.10.0/    site_perl/
[root@racnode2 ~]# cp -p /u01/app/11.2.0.4/grid_home/perl/lib/5.10.0/Env.pm /usr/lib64/perl5/vendor_perl/

继续清理配置信息
[root@racnode2 ~]# /u01/app/11.2.0.4/grid_home/crs/install/rootcrs.pl -verbose -deconfig -force
Using configuration parameter file: /u01/app/11.2.0.4/grid_home/crs/install/crsconfig_params
PRCR-1119 : Failed to look up CRS resources of ora.cluster_vip_net1.type type
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd

CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
[root@racnode2 ~]#

重新运行脚本继续配置
[root@racnode2 ~]# /u01/app/11.2.0.4/grid_home/root.sh

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!