暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

grid启动has,运行./roothas.pl报错Can‘t locate Env.pm

原创 graphy 2022-09-15
787

[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]# 

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论