[root@localhost install]# ./roothas.pl
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 . . ./../../perl/lib) at crsinstall.pm line 210.
BEGIN failed--compilation aborted at crsinstall.pm line 210.
Compilation failed in require at ./roothas.pl line 94.
BEGIN failed--compilation aborted at ./roothas.pl line 94.
centos7 系统执行 yum install perl-Env解决
[root@localhost install]# yum install perl-Env
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: ftp.sjtu.edu.cn
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
正在解决依赖关系
--> 正在检查事务
---> 软件包 perl-Env.noarch.0.1.04-2.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
=======================================================================================================================================
Package 架构 版本 源 大小
=======================================================================================================================================
正在安装:
perl-Env noarch 1.04-2.el7 base 16 k
事务概要
=======================================================================================================================================
安装 1 软件包
总下载量:16 k
安装大小:27 k
Is this ok [y/d/N]: y
Downloading packages:
perl-Env-1.04-2.el7.noarch.rpm | 16 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : perl-Env-1.04-2.el7.noarch 1/1
验证中 : perl-Env-1.04-2.el7.noarch 1/1
已安装:
perl-Env.noarch 0:1.04-2.el7
完毕!
[root@localhost install]# ./roothas.pl
Using configuration parameter file: ./crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
2022/09/15 09:34:01 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
localhost 2022/09/15 09:34:33 /u01/app/12.2.0/grid/cdata/localhost/backup_20220915_093433.olr 0
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'localhost'
CRS-2673: Attempting to stop 'ora.evmd' on 'localhost'
CRS-2677: Stop of 'ora.evmd' on 'localhost' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'localhost' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2022/09/15 09:34:49 CLSRSC-327: Successfully configured Oracle Restart for a standalone server
[root@localhost install]#