首页 > 其他分享 >卸载节点Clusterware执行rootcrs.pl时报错"Compilation failed in require..."

卸载节点Clusterware执行rootcrs.pl时报错"Compilation failed in require..."

时间:2023-12-09 17:01:03浏览次数:29  
标签:CRS rac3 ... Compilation Attempting stop rootcrs 2673 ora

问题描述:卸载节点Clusterware执行rootcrs.pl时报错"Compilation failed in require...",如下所示:
系统:rhel 7.3 64位
数据库:oracle 11.2.0.4 rac 3节点
1、异常重现
[root@rac3 install]# ./rootcrs.pl -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 . .) at crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at crsconfig_lib.pm line 703.
Compilation failed in require at ./rootcrs.pl line 305.
BEGIN failed--compilation aborted at ./rootcrs.pl line 305.

2、异常原因
此报错由bug 18650453导致,已在12.1.0.2中被修复.

3、解决方案
A、补丁程序18650453: OL7: CLUSTERWARE ROOT SCRIPTS FAIL DUE TO: CAN'T LOCATE ENV.PM IN @INC
B、使用GI绝对路径perl解决

4、解决过程
[root@rac3 install]# /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Network exists: 1/192.168.133.0/255.255.255.0/ens33, type static
VIP exists: /rac1-vip/192.168.133.193/192.168.133.0/255.255.255.0/ens33, hosting node rac1
VIP exists: /rac2-vip/192.168.133.194/192.168.133.0/255.255.255.0/ens33, hosting node rac2
VIP exists: /rac3-vip/192.168.133.197/192.168.133.0/255.255.255.0/ens33, hosting node rac3
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac3'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac3'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac3'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac3'
CRS-2673: Attempting to stop 'ora.OCR.dg' on 'rac3'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac3' succeeded
CRS-2677: Stop of 'ora.OCR.dg' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac3'
CRS-2677: Stop of 'ora.asm' on 'rac3' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac3' has completed
CRS-2677: Stop of 'ora.crsd' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac3'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac3'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac3'
CRS-2673: Attempting to stop 'ora.asm' on 'rac3'
CRS-2677: Stop of 'ora.mdnsd' on 'rac3' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac3' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac3'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac3' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac3'
CRS-2677: Stop of 'ora.cssd' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'rac3'
CRS-2677: Stop of 'ora.crf' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac3'
CRS-2677: Stop of 'ora.gipcd' on 'rac3' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac3'
CRS-2677: Stop of 'ora.gpnpd' on 'rac3' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac3' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node

参考网址:https://blog.csdn.net/Evils798/article/details/88760579?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-2-88760579-blog-125070421.235%5Ev39%5Epc_relevant_anti_t3_base&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-2-88760579-blog-125070421.235%5Ev39%5Epc_relevant_anti_t3_base&utm_relevant_index=1

标签:CRS,rac3,...,Compilation,Attempting,stop,rootcrs,2673,ora
From: https://blog.51cto.com/u_12991611/8750688

相关文章

  • 5秒成为AI产业顾问、营销BI轻松搭建......一封来自星河社区5周年产业特辑的信
    亲爱的星河社区企业伙伴:这一年,大模型技术为产业应用带来了范式的变革。有幸的是,我们与众多生态企业一起,共同经历了这一在时代中留下烙印的历史进程。自星河社区发布了大模型开发工具ERNIEBotSDK,我们与紧跟创新趋势的企业伙伴联合更为紧密。我们一起通过分享最新的AI应用趋势、探......
  • 写个文章,居然把我写哭了.....
    写在前面文章标题应该叫这个《大白话说Python+Flask入门(五)Flask中的各种视图》,但是标题我改了,是因为我现在感受就是想哭.....为什么?今天去相亲了,结果凉了,当然也在我的意料中,也不伤心。女孩比我小5岁,直接就跟我说,不着急结婚,是为了应付父母不得不出来,所以没啥感觉!作为一个35岁......
  • 第四章文件权限(ACL权限....)
    一、基本权限ACL1、ACL基本用法getfacl/home/test.txt  查看home目录下test.txt文件的ACL权限setfacl-mu:hr:rw/home/test.txt为组hr增加rw权限;设置ACL权限setdacl-xu:hr/home/test.txt 删除用户对文件的所有权限setfacl-b/home/test.txt 删除所有扩展ACL权......
  • 【百家稷学】“迈向卓越”AIGC生态高级工程师实训(东莞华为松山湖基地实训)...
    继续咱们百家稷学专题,本次是有三AI在东莞华为松山湖基地进行的培训。百家稷学专题的目标,是走进100所高校和企业进行学习与分享。分享主题本次分享是在东莞华为松山湖基地,由社区与华为云负责组织,主题是《“迈向卓越”AIGC生态高级研修工程师》,分享人言有三。本次主题聚焦当前AIGC领......
  • 第4章文件权限(ACL权限......)
    一、基本权限ACL1、ACL基本用法getfacl/home/test.txt  查看home目录下test.txt文件的ACL权限setfacl-mu:hr:rw/home/test.txt为组hr增加rw权限;设置ACL权限setdacl-xu:hr/home/test.txt 删除用户对文件的所有权限setfacl-b/home/test.txt 删除所有扩展ACL权......
  • 记录--闭包,沙箱,防抖节流,函数柯里化,数据劫持......
    这里给大家分享我在网上总结出来的一些知识,希望对大家有所帮助函数创建与定义的过程函数定义阶段在堆内存中开辟一段空间把函数体内的代码一模一样的存储在这段空间内把空间赋值给栈内存的变量中函数调用阶段按照变量名内的存储地址找到堆内存中对应的存储空间......
  • springBoot项目启动卡在Root WebApplicationContext: initialization completed... (非
    通过源码启动排查发现,初始化连接池时创建了200次,通过配置文件中将initialSize值改为10,启动时间从1分钟变为了3秒。 ......
  • bash: conda: command not found...
    服务器集群的奇奇怪怪问题总能被我碰到是slurm集群,出现的问题是,我shAnaconda3-2022.10-Linux-x86_64.sh之后,正打算创建环境,然后出现下面的问题bash:conda:commandnotfound...解决办法:1.查看安装路径echo$PATH2.发现有一串长长的地址,就想着要不试试刷新一下路径sourc......
  • 计算n个a相加之和,a+aa+aaa+.....+aaaaaa
    #include<stdio.h>#include<math.h> intmain(){ inta,i,n,sum; printf("请输入a,n:"); scanf_s("%d%d",&a,&n); sum=a; printf("%d\n",a); for(i=1;i<n;i++) {  a=a*pow(10,1)+a......
  • 求2/1,3/2,5/3...前20项之和
    #include<stdio.h>#include<math.h> intmain(){ floata=1,b=2,n,i,m,sum=0; for(i=1;i<=20;i++) {    n=b/a;  m=a+b;  a=b;  b=m;   sum+=n;  printf("%f%f%f%f%f\n",a,b,n,m,sum);   }  ......