1.
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:ouicli.pl
Directory: /GSTDB/app/oraascp/db/11.2.0/perl/bin/perl -I /GSTDB/app/oraascp/db/11.2.0/perl/lib/5.8.3 -I /GSTDB/app/oraascp/db/11.2.0/perl/lib/site_perl/5.8.3 -I /GSTDB/app/oraascp/db/11.2.0/appsutil/perl /GSTDB/app/oraascp/db/11.2.0/appsutil/clone
ouicli.pl INSTE8_APPLY 255
AutoConfig is exiting with status 1
RC-50013: Fatal: Instantiate driver did not complete successfully.
/GSTDB/app/oraascp/db/11.2.0/appsutil/driver/regclone.drv
cd /GSTDB/app/oraascp/db/11.2.0/appsutil/clone
chmod -R 777 ouicli.pl
----------------------------------------------------------
wrong place of inventory detials:
Create oraInventory folder and add to oraInst of O_H loc.
/GSTDB/app/oraascp/db/oraInventory/
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH
/uatdb/app/oraascp/db/11.2.0/perl/bin
export PATH=/uatdb/app/oraascp/db/11.2.0/perl/bin/:$PATH
[oraascp@TJPSB007 11.2.0]$ cat oraInst.loc
#inventory_loc=/appplmgr/oraInventory
inventory_loc=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/oraInventory
#inventory_loc=/ASCPPROD_APP/apps/ASCPCRP/inst/apps/ASCPCRP_tjtgb006/admin/oraInventory
inst_group=dba
[oraascp@TJPSB007 11.2.0]$ pwd
/GSTDB/app/oraascp/db/11.2.0
[oraascp@TJPSB007 11.2.0]$
---------------------------------------------------------------
select node_name, support_web, support_forms, support_cp, host, status from fnd_nodes;
[oradev@TJPSB007 11.2.0]$ cat oraInst.loc
inventory_loc=/TESTDB/app/oradev/db/11.2.0/admin/oui/DEV_tjpsb007/oraInventory
[oascpprd@TJTGB006 ~]$ cd $ORACLE_HOME
[oascpprd@TJTGB006 11.2.0]$ pwd
/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0
FIXED :
Workaround:
1. Do the following change in:
< OH>/appsutil/install/adlnkoh.sh
CHANGE
make -f ins_srvm.mk iodbagrp
TO
make -f ins_srvm.mk iosdbagrp
2. Do the following in :
$AD_TOP/admin/template/adlnkoh.sh
/GSTDB/app/oraascp/db/11.2.0/appsutil/template
CHANGE
make -f ins_srvm.mk iodbagrp >> $LOGF 2>&1
TO
make -f ins_srvm.mk iosdbagrp >> $LOGF 2>&1
3. Run adcfgclone.pl dbTechStack again and check
DedRspu5e
=================================================================
http://davisappsdba.blogspot.in/2017/07/common-cloning-issues.html
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin/perl:$PATH:.
[oraascp@TJPSB007 appsutil]$ grep s_adjvaprg ASC_tjpsb007.xml
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/GSTDB/app/oraascp/db/11.2.0/jdk/jre/bin/java</ADJVAPRG>
/GSTDB/app/oraascp/db/11.2.0/appsutil/jre/bin/java
REPLACE WITH THIS:
$ cd $ORACLE_HOME/appsutil
$ grep s_adjvaprg <CONTEXT_NAME>.xml
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/<ORACLE_HOME>/appsutil/jre/bin/java</ADJVAPRG>
which java
/oraapps/oracle/product/TJTG/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java:apps side
/usr/bin/java-oratest side
which perl
/OratestC/app/oratest/db/11.2.0/perl/bin/perl
/usr/bin/perl
how to set env variable path for perl.
set as root
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH:.
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PATH=$PATH:$HOME/.local/bin:$HOME/bin
#######################################
# Add perl to the PATH and set PERL5LIB
#######################################
PERLBIN=`dirname /ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/bin/perl`
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/lib/5.8.3:/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/lib/site_perl/5.8.3:/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
PERLBIN='dirname /GSTDB/app/oraascp/db/11.2.0/perl/bin/perl'
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/GSTDB/app/oraascp/db/11.2.0/perl/lib/5.8.3:/GSTDB/app/oraascp/db/11.2.0/perl/lib/site_perl/5.8.3:/GSTDB/app/oraascp/db/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/GSTDB/app/oraascp/db/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
#######################################
# Add perl to the PATH and set PERL5LIB
#######################################
PERLBIN=`dirname /OratestC/app/oratest/db/11.2.0/perl/bin/perl`
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/OratestC/app/oratest/db/11.2.0/perl/lib/5.8.3:/OratestC/app/oratest/db/11.2.0/perl/lib/site_perl/5.8.3:/OratestC/app/oratest/db/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/OratestC/app/oratest/db/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:ouicli.pl
Directory: /GSTDB/app/oraascp/db/11.2.0/perl/bin/perl -I /GSTDB/app/oraascp/db/11.2.0/perl/lib/5.8.3 -I /GSTDB/app/oraascp/db/11.2.0/perl/lib/site_perl/5.8.3 -I /GSTDB/app/oraascp/db/11.2.0/appsutil/perl /GSTDB/app/oraascp/db/11.2.0/appsutil/clone
ouicli.pl INSTE8_APPLY 255
AutoConfig is exiting with status 1
RC-50013: Fatal: Instantiate driver did not complete successfully.
/GSTDB/app/oraascp/db/11.2.0/appsutil/driver/regclone.drv
cd /GSTDB/app/oraascp/db/11.2.0/appsutil/clone
chmod -R 777 ouicli.pl
----------------------------------------------------------
wrong place of inventory detials:
Create oraInventory folder and add to oraInst of O_H loc.
/GSTDB/app/oraascp/db/oraInventory/
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH
/uatdb/app/oraascp/db/11.2.0/perl/bin
export PATH=/uatdb/app/oraascp/db/11.2.0/perl/bin/:$PATH
[oraascp@TJPSB007 11.2.0]$ cat oraInst.loc
#inventory_loc=/appplmgr/oraInventory
inventory_loc=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/oraInventory
#inventory_loc=/ASCPPROD_APP/apps/ASCPCRP/inst/apps/ASCPCRP_tjtgb006/admin/oraInventory
inst_group=dba
[oraascp@TJPSB007 11.2.0]$ pwd
/GSTDB/app/oraascp/db/11.2.0
[oraascp@TJPSB007 11.2.0]$
---------------------------------------------------------------
select node_name, support_web, support_forms, support_cp, host, status from fnd_nodes;
[oradev@TJPSB007 11.2.0]$ cat oraInst.loc
inventory_loc=/TESTDB/app/oradev/db/11.2.0/admin/oui/DEV_tjpsb007/oraInventory
[oascpprd@TJTGB006 ~]$ cd $ORACLE_HOME
[oascpprd@TJTGB006 11.2.0]$ pwd
/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0
FIXED :
Workaround:
1. Do the following change in:
< OH>/appsutil/install/adlnkoh.sh
CHANGE
make -f ins_srvm.mk iodbagrp
TO
make -f ins_srvm.mk iosdbagrp
2. Do the following in :
$AD_TOP/admin/template/adlnkoh.sh
/GSTDB/app/oraascp/db/11.2.0/appsutil/template
CHANGE
make -f ins_srvm.mk iodbagrp >> $LOGF 2>&1
TO
make -f ins_srvm.mk iosdbagrp >> $LOGF 2>&1
3. Run adcfgclone.pl dbTechStack again and check
DedRspu5e
=================================================================
http://davisappsdba.blogspot.in/2017/07/common-cloning-issues.html
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin/perl:$PATH:.
[oraascp@TJPSB007 appsutil]$ grep s_adjvaprg ASC_tjpsb007.xml
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/GSTDB/app/oraascp/db/11.2.0/jdk/jre/bin/java</ADJVAPRG>
/GSTDB/app/oraascp/db/11.2.0/appsutil/jre/bin/java
REPLACE WITH THIS:
$ cd $ORACLE_HOME/appsutil
$ grep s_adjvaprg <CONTEXT_NAME>.xml
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/<ORACLE_HOME>/appsutil/jre/bin/java</ADJVAPRG>
which java
/oraapps/oracle/product/TJTG/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java:apps side
/usr/bin/java-oratest side
which perl
/OratestC/app/oratest/db/11.2.0/perl/bin/perl
/usr/bin/perl
how to set env variable path for perl.
set as root
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH:.
export PATH=/GSTDB/app/oraascp/db/11.2.0/perl/bin:$PATH
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PATH=$PATH:$HOME/.local/bin:$HOME/bin
#######################################
# Add perl to the PATH and set PERL5LIB
#######################################
PERLBIN=`dirname /ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/bin/perl`
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/lib/5.8.3:/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/lib/site_perl/5.8.3:/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/ASCPPROD_DB/oracle/product/ASCPPROD/db/tech_st/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
PERLBIN='dirname /GSTDB/app/oraascp/db/11.2.0/perl/bin/perl'
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/GSTDB/app/oraascp/db/11.2.0/perl/lib/5.8.3:/GSTDB/app/oraascp/db/11.2.0/perl/lib/site_perl/5.8.3:/GSTDB/app/oraascp/db/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/GSTDB/app/oraascp/db/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
#######################################
# Add perl to the PATH and set PERL5LIB
#######################################
PERLBIN=`dirname /OratestC/app/oratest/db/11.2.0/perl/bin/perl`
PATH=${PERLBIN}:${PATH}
export PATH
PERL5LIB=/OratestC/app/oratest/db/11.2.0/perl/lib/5.8.3:/OratestC/app/oratest/db/11.2.0/perl/lib/site_perl/5.8.3:/OratestC/app/oratest/db/11.2.0/appsutil/perl
export PERL5LIB
ADPERLPRG=/OratestC/app/oratest/db/11.2.0/perl/bin/perl
export ADPERLPRG
#################################################
No comments:
Post a Comment