Wednesday, January 14, 2015

EBS Cloning Error : Perl lib version does not match with executable version


Problem

Following Error occur while running DB postclone
RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
Perl lib version (5.10.0) doesn't match executable version (v5.8.8) at /EBS/CRP3/db/tech_st/11.2.0/perl/lib/5.10.0/x86_64-linux-thread-multi/Config.pm line 46.
Compilation failed in require at adcfgclone.pl line 28.
BEGIN failed--compilation aborted at adcfgclone.pl line 28.

Solution

First check current perl version using below command
perl -version
Then Setting the PERL5LIB environment variable according to the current perl version on the Database tier

By default, the PERL5LIB environment variable is set to the following on the Database tier:
<ORACLE_HOME>/perl/lib/5.8.3:<ORACLE_HOME>/perl/site_perl/5.8.3:<ORACLE_HOME>/appsutil/perl
But if the perl version is different, then need to set the PERL5LIB parameter with current perl vesion.
export PERL5LIB=<ORACLE_HOME>/perl/lib/<perl_version>:<ORACLE_HOME>/perl/lib/site_perl/<perl_version>:<ORACLE_HOME>/appsutil/perl

No comments:

Post a Comment