Perl adcfgclone failed with below error?
oratest@ctsst $ perl adcfgclone.pl dbTechStack
Can't locate strict.pm in @INC (@INC contains: /u01/oracle/11.2.0/perl/lib/5.8.3 /u01/oracle/11.2.0/perl/lib/site_perl/5.8.3 /u01/oracle/11.2.0/appsutil/perl ../lib/5.10.0/sun4-solaris-thread-multi-64 ../lib/5.10.0 ../lib/site_perl/5.10.0/sun4-solaris-thread-multi-64 ../lib/site_perl/5.10.0 ../lib/5.10.0 ../lib/5.10.0/sun4-solaris-thread-multi-64 ../lib/site_perl .) at adcfgclone.pl line 27.
Meta link id: Rapid Clone "adpreclone.pl" Fails: "Can't Find Strict.PM" [ID 1139403.1]
Cause
A mismatch between the Perl executable and the Perl libraries. The 11gR2 database ships with Perl 5.8.3 and this is included in the PERL5LIB path for the Database Tier, however the Perl executable being used is not version 5.8.3.
Solution:
PERL5LIB=/u01/oracle/11.2.0/perl/lib/5.10.0:/u01/oracle/11.2.0/perl/lib/site_perl/5.10.0:/u01/oracle/11.2.0/appsutil/perl
export PERL5LIB
PATH=$PERL5LIB:$PATH
oratest@ctsst $ perl adcfgclone.pl dbTechStack
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.8
Enter the APPS password
oratest@ctsst $ perl adcfgclone.pl dbTechStack
Can't locate strict.pm in @INC (@INC contains: /u01/oracle/11.2.0/perl/lib/5.8.3 /u01/oracle/11.2.0/perl/lib/site_perl/5.8.3 /u01/oracle/11.2.0/appsutil/perl ../lib/5.10.0/sun4-solaris-thread-multi-64 ../lib/5.10.0 ../lib/site_perl/5.10.0/sun4-solaris-thread-multi-64 ../lib/site_perl/5.10.0 ../lib/5.10.0 ../lib/5.10.0/sun4-solaris-thread-multi-64 ../lib/site_perl .) at adcfgclone.pl line 27.
Meta link id: Rapid Clone "adpreclone.pl" Fails: "Can't Find Strict.PM" [ID 1139403.1]
Cause
A mismatch between the Perl executable and the Perl libraries. The 11gR2 database ships with Perl 5.8.3 and this is included in the PERL5LIB path for the Database Tier, however the Perl executable being used is not version 5.8.3.
Solution:
PERL5LIB=/u01/oracle/11.2.0/perl/lib/5.10.0:/u01/oracle/11.2.0/perl/lib/site_perl/5.10.0:/u01/oracle/11.2.0/appsutil/perl
export PERL5LIB
PATH=$PERL5LIB:$PATH
oratest@ctsst $ perl adcfgclone.pl dbTechStack
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.8
Enter the APPS password
After setting the perl path my issue resolved.Thanks for visiting my blog.
This comment has been removed by the author.
ReplyDelete