[root@rac1 ~]# export PATH=/u01/app/grid/product/11.2.0/grid/OPatch:$PATH [root@rac1 ~]# [root@rac1 ~]# cat /etc/*release* Oracle Linux Server release 7.0 NAME="Oracle Linux Server" VERSION="7.0" ID="ol" VERSI PRETTY_NAME="Oracle Linux Server 7.0" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:oracle_linux:7.0:GA:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" ORACLE_BUGZILLA_PRODUCT_VERSION=7.0 ORACLE_SUPPORT_PRODUCT="Oracle Linux" REDHAT_SUPPORT_PRODUCT_VERSION=7.0 Red Hat Enterprise Linux Server release 7.0 (Maipo) Oracle Linux Server release 7.0 cpe:/o:oracle:oracle_linux:7.0:ga:server [root@rac1 ~]# [root@rac1 ~]# opatch auto /u01/psu/20996923 /u01/psu/ocm.rsp Can't locate Switch.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 /u01/app/grid/product/11.2.0/grid/OPatch/crs/auto_patch.pl line 2734. BEGIN failed--compilation aborted at /u01/app/grid/product/11.2.0/grid/OPatch/crs/auto_patch.pl line 2734. [root@rac1 ~]# [root@rac1 ~]# [root@rac1 ~]#
[root@rac1 ~]# /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl -unlock 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/grid/product/11.2.0/grid/crs/install) at /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_lib.pm line 703. BEGIN failed--compilation aborted at /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_lib.pm line 703. Compilation failed in require at /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl line 305. BEGIN failed--compilation aborted at /u01/app/grid/product/11.2.0/grid/crs/install/rootcrs.pl line 305.