Oracle RAC 删除CRS集群配置失败

1.错误现象

powershell 复制代码
[grid@rac1~]$ /u01/app/11.2.0/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
/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.

2.解决方法

(1)直接安装perl命令

powershell 复制代码
yum install perl-Env

(2)根据错误提示,将perl命令复制到所需路径

powershell 复制代码
cp -p /u01/app/11.2.0/grid/perl/lib/5.10.0/Env.pm /usr/lib64/perl5/vendor_perl/

再次执行 /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force -verbose 成功。

相关推荐
多弗朗皮卡丘7 小时前
MySQL表的约束
数据库·mysql
Flynn Liang10 小时前
AI Agent Redis 生产踩坑实录:13 类故障的根因、复现与调优
数据库·人工智能·redis·缓存·ai agent·故障分析
SelectDB12 小时前
开源日志平台怎么选?ELK、Loki、ClickHouse、Apache Doris 四大方案对比与选型指南
数据库
SelectDB12 小时前
ELK 磁盘空间不足怎么办?Elasticsearch 存储膨胀原因、排查步骤与 3 种降本方案
数据库
满小满12 小时前
为什么我先 ANALYZE,而不是先加索引
数据库·dba
SelectDB12 小时前
日志分析用什么数据库好?Elasticsearch、ClickHouse、Doris 选型对比与 3 个企业案例
数据库
inferno14 小时前
十三、存储过程(PROCEDURE)
数据库·sql·mysql
数据库急诊室_阿哲15 小时前
一周慢查询日志审计:1200 条里有多少真问题
运维·数据库·dba
zhangjw3415 小时前
2-4 集合运算 union /union all /intersect/except
数据库·postgresql
Decay__16 小时前
PostgreSQL DBA 日常运维手册 —— 会话、锁阻塞、慢查询、膨胀与每日巡检
运维·数据库·sql·postgresql