Perl lib version (5.10.0) doesn’t match executable version (v5.8.5)

Problem: When running adcfgclone, the following error occurs:

Complete port information available at D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\out\PROD_testsrv2\portpool.lst

Creating the new Database Context file from :
  D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\template\adxdbctx.tmp

The new database context file has been created :
  D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\PROD_testsrv2.xml

Log file located at D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\CloneContext_0906103441.log
Check Clone Context logfile D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\CloneContext_0906103441.log for details.

Running Rapid Clone with command:
perl D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\adclone.pl java=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\..\jre mode=apply stage=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone component=dbTier method=CUSTOM dbctxtg=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\PROD_testsrv2.xml showProgress contextValidated=true
Running:
perl D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\adclone.pl java=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\..\jre mode=apply stage=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone component=dbTier method=CUSTOM dbctxtg=D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\PROD_testsrv2.xml showProgress contextValidated=true
Perl lib version (5.10.0) doesn't match executable version (v5.8.5) at d:/ORACLE/PROD/db/tech_st/11.2.0/perl/lib/Config.pm line 46.
Compilation failed in require at D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone
\bin\adclone.pl line 34.
BEGIN failed--compilation aborted at D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\adclone.pl line 34.

 ERROR: Failed to execute D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin\adclone.pl

 Please check logfile.



Solution: May need to set PERL5LIB before running adcfgclone.

set PERL5LIB=D:\ORACLE\PROD\db\tech_st\11.2.0\perl\lib\5.10.0;D:\ORACLE\PROD\db\tech_st\11.2.0\perl\site_perl\5.10.0;D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\perl
cd /d D:\ORACLE\PROD\db\tech_st\11.2.0\appsutil\clone\bin
d:\ORACLE\PROD\db\tech_st\11.2.0\perl\bin\perl.exe adcfgclone.pl dbTier

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.