rootcrs.pl -patch Failed after applying the patch 12539000
Using configuration parameter file: ./crsconfig_params
Undefined subroutine &main::read_file called at crspatch.pm line 86.
Using configuration parameter file: ./crsconfig_params
Undefined subroutine &main::read_file called at crspatch.pm line 86.
Workaround.
Its a Bug below is the workaround –
Undefined subroutine &main::read_file called at /u01/oracle/product/11.2.0/grid/crs/install/crspatch.pm line 86.
Take a backup of the file <GridHome>/crs/install/crsconfig_lib.pm
cd /u01/oracle/product/11.2.0/grid/crs/install
cp crsconfig_lib.pm crsconfig_lib.pm.bak
Make the following change in that file crsconfig_lib.pm
From
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR
To
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR
To
my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file
Now lock and relink the GI HOME as root user….
root@ # diff crsconfig_lib.pm crsconfig_lib.pm_bkp
700c700
< my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR read_file
---
> my @exp_func = qw(check_CRSConfig validate_olrconfig validateOCR
root@ # perl rootcrs.pl -patch
Using configuration parameter file: ./crsconfig_params
ACFS-9200: Supported
CRS-4123: Oracle High Availability Services has been started.
root@ #
Nice.. It helped me
ReplyDelete