首页 > 其他分享 >运行rootcrs.pl -deconfig -force -verbose报错(Can't locate Env.pm)

运行rootcrs.pl -deconfig -force -verbose报错(Can't locate Env.pm)

时间:2023-04-01 19:12:34浏览次数:47  
标签:locate force 11grac1 app 0.4 报错 grid u01 ora

1、一套11gR2 RAC测试环境,折腾崩溃了,打算deconfig重构集群,于是运行了如下命令:

[root@11grac1 11grac1]# /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl -deconfig -force -verbose
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/crs/install) at /u01/app/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 715.
BEGIN failed--compilation aborted at /u01/app/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 715.
Compilation failed in require at /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl line 306.
BEGIN failed--compilation aborted at /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl line 306.
[root@11grac1 11grac1]#

该命令提示Can't locate Env.pm错误。看样子像是perl开发环境存在问题。

 

2、该故障在《rootcrs.pl/roothas.pl Fails With Can't locate Env.pm (Doc ID 2019784.1)》一文中有详细说明。 原因是OL7系统自带的perl有问题。该问题在12.1.0.2中解决,当前有个workaround可以解决,那就是使用GI自带的perl,而不使用操作系统自带的perl。

3、

[root@11grac1 ~]# /u01/app/11.2.0.4/grid/perl/bin/perl /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl -deconfig -force -verbose
Using configuration parameter file: /u01/app/11.2.0.4/grid/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-2791: Starting shutdown of Oracle High Availability Services-managed resources on '11grac1'
CRS-2673: Attempting to stop 'ora.crf' on '11grac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on '11grac1'
CRS-2673: Attempting to stop 'ora.cssdmonitor' on '11grac1'
CRS-2677: Stop of 'ora.cssdmonitor' on '11grac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on '11grac1' succeeded
CRS-2677: Stop of 'ora.crf' on '11grac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on '11grac1'
CRS-2677: Stop of 'ora.gipcd' on '11grac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on '11grac1'
CRS-2677: Stop of 'ora.gpnpd' on '11grac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on '11grac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
[root@11grac1 ~]#

标签:locate,force,11grac1,app,0.4,报错,grid,u01,ora
From: https://www.cnblogs.com/missyou-shiyh/p/17279119.html

相关文章

  • Codeforces Round 861 (Div. 2)
    题目链接C核心思路这个思路说实话有点玄学,也就是我们前面的数位按照l或者r的相同数位来填补,后面就填相同的数字也就是比如l是2345我们可以是2999,2888,23111,23777.这样构造好像肯定是最小的。但是好好巩固下数位dp来做这道题还是更好的。#include<iostream>#include<cstr......
  • junit单元测试报错:java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
    今天在复习的时候对对一些知识点进行巩固,用到了junit-4.12.jar,手动导入jar包,然后运行然后报错:java.lang.NoClassDefFoundError:org/hamcrest/SelfDescribing。刚开始我以为代码错了,看了看发现不是代码的问题,是导包的问题。然后查询了百度,发现了是版本的问题:然后说换个低版本的就......
  • AsyncTask重复运行报错的解决办法。
      接着这节课老师讲的内容,因为AsyncTask只可以运行一次,如果你在AsyncTask运行中再次点击START按钮的话,也会引发一个崩溃报错(如图)  Cannotexecutetask:thetaskisalreadyrunning.翻译过来的意思是:无法执行任务,任务已经在运行中。这就是在AsyncTask运行中,又点击了......
  • 解决tabix建索引报错[E::hts_idx_push] Unsorted positions on sequence #
    当我对两个基因型文件位置取交集,并重新生成两个vcf:$bcftoolsview-Roverlap.lstvariant.filter.vcf.gz-Oz-o300.vcf.gz出现如下错误:$tabix300.vcf.gz[E::hts_idx_push]Unsortedpositionsonsequence#4:29013869followedby29013853tbx_index_buildfailed:300.......
  • 【Azure 应用服务】Function App / App Service 连接 Blob 报错
    问题描述因Blob启用了防火墙功能,但是当把AppService或FunctionApp的出站IP地址都加入到Blob的白名单中,为什么访问还是403错误呢? 问题解答AzureStorage的IP网络规则不适用于同一数据中心的客户端。存储帐户部署在同一区域中的服务使用专用的AzureIP地址进行通信。因此,不......
  • 报错 qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even t
    参考:https://blog.csdn.net/qq_39938666/article/details/120452028  ==========================================  使用ubuntu系统下python的seaborn模块画图,报错:qt.qpa.plugin:CouldnotloadtheQtplatformplugin“xcb“in““eventhoughitwasfound......
  • 解决E: Unable to locate package XXX
    首先尝试update命令sudoapt-getupdate如果不行则执行upgradesudoapt-getupgrade上述命令成功以后就能正常使用sudoapt-getinstallxxxxx最后上面两项都不行则尝试sudoapt-getinstallaptitude成功以后使用sudoaptitudeinstallxxxxx另外还可以sudoapt-get......
  • Codeforces Round 859 (Div. 4) ABCDE(交互题)FG1G2
    EFG1G2质量还挺好的A.PlusorMinushttps://codeforces.com/contest/1807/problem/A题目大意:给定a,b,c,问我们是a+b==c还是a-b==c?把正确的符号输出。input1112332129-7347112110336991899019-81910output+--++-++--+......
  • 关于SQLsever2012报错的一些经验总结
    问题描述:数据库连接实例时出现报错情况;问题截图:  故障软件:SQLsever2012操作系统:windowssever2022R2数据中心期望结果:可以打开之前的实例 总结经验: 上面这张图是1月15号出现的,距离今天已经过去了40天,当时查询了n多资料也没有解决的这个问题,由于过年和其他事务的出现,以至于在......
  • restHighLevelClient 操作报错:listener timeout after waiting for [30000] ms
     java.io.IOException:listenertimeoutafterwaitingfor[30000]msatorg.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:905)atorg.elasticsearch.client.RestClient.performRequest(RestClient.java:229)atorg.elasti......