My Oracle Support Banner

rootcrs.pl -postpatch fails with Can't locate strict.pm: /root/perl5/lib/perl5/strict.pm (Doc ID 2454375.1)

Last updated on SEPTEMBER 16, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Getting below error while running postpatch.sh as following :

Error Message:
====================================
Oracle Clusterware active version on the cluster is [12.2.0.1.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [530421090].
Can't locate strict.pm: /root/perl5/lib/perl5/strict.pm: (null) at /<GRID_HOME>/sqlpatch/sqlpatch.pl line 52.
BEGIN failed--compilation aborted at /<GRID_HOME>/sqlpatch/sqlpatch.pl line 52.
2018/09/27 17:23:11 CLSRSC-488: Patching the Grid Infrastructure Management Repository database failed.
Died at /<GRID_HOME>/crs/install/crspatch.pm line 1300.
The command '/<GRID_HOME>/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I /<GRID_HOME>/crs/install /<GRID_HOME>/crs/install/rootcrs.pl -postpatch' execution failed

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.