Adcfgclone.pl appsTier error.
hi all,
i am getting followin error while doin clone.
perl adcfgclone.pl appsTier
Error while running adlnktools.sh.
return code = .16.17.18.21.22.23.24.25.32.33.34.36.37.38
Please check logfile located at /erpdev1/apprt/inst/apps/RUAT_reeldev/logs/ora/10.1.2/install/make_04171031.log
i have checked log file. it gives multiple follwoin error.
ld: Can't find library for -ljava
Fatal error.
*** Error exit code 1
regards,
sandeep
hi,
i think there is some other issue.
Details:
OS: HP UX Itanium.
Apps Release: R12. (12.0.6)
Cloing from production server to devlopment server.
we already have clone some inatnace on the same server.
i have gone through with suggested note but SHLIB_PATH is already set to $ORACLE_HOME/jdk/jre/lib.....
clone instance is started also, but only Internal Manager only running devlopment server and rest all manager are showing prodution server node name and not running.
manager log for standard manager
An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_REELERPH. There may be a network configuration problem, or the TNS listener on node FNDFS_REELERPH may not be running. Please contact your system administrator.
listener is already running.
regards,
sandeep.
Similar Messages
-
Getting error while running Perl adcfgclone.pl appsTier
hi ,
i m getting error while running Perl adcfgclone.pl appsTier
error:ksh: Perl: not found
i check for per and ksh
which perl
/usr/bin/perl
which ksh
/usr/bin/ksh
(my os out put for perl ,my os is SunOS testserver 5.10 Generic_137137-09 sun4u sparc SUNW,Ultra-250)
perl -V
/appl2/applmgr2/prodora/iAS/Apache/perl/lib/5.00503
/appl2/applmgr2/prodora/iAS/Apache/perl/lib/site_perl/5.005
/appl2/applmgr2/prodappl/au/11.5.0/perl
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl
which i need to set in path
PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin (like this )
export PATH
please help me outhi ,
here is the out put
# pwd
/appl2/applmgr2/prodora/iAS/Apache/perl
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Locally applied patches:
22667 The optree builder was looping when constructing the ops ...
22715 Upgrade to FileCache 1.04
22733 Missing copyright in the README.
22746 fix a coredump caused by rv2gv not fully converting a PV ...
22755 Fix 29149 - another UTF8 cache bug hit by substr.
22774 [perl #28938] split could leave an array without ...
22775 [perl #29127] scalar delete of empty slice returned garbage
22776 [perl #28986] perl -e "open m" crashes Perl
22777 add test for change #22776 ("open m" crashes Perl)
22778 add test for change #22746 ([perl #29102] Crash on assign ...
22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
22818 BOM-marked and (BOMless) UTF-16 scripts not working
22823 [perl #29581] glob() misses a lot of matches
22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
22830 [perl #29637] Thread creation time is hypersensitive
22831 improve hashing algorithm for ptr tables in perl_clone: ...
22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
22852 TEST needs to ignore SCM files
22886 Pod::Find should ignore SCM files and dirs
22888 Remove redundant %SIG assignments from FileCache
23006 [perl #30509] use encoding and "eq" cause memory leak
23074 Segfault using HTML::Entities
23106 Numeric comparison operators mustn't compare addresses of ...
23320 [perl #30066] Memory leak in nested shared data structures ...
23321 [perl #31459] Bug in read()
27722 perlio.c breaks on Solaris/gcc when > 256 FDs are available
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
6663288 Upgrade to CGI.pm 3.33
REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
Built under solaris
Compiled at Jul 31 2008 12:07:52
@INC:
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl
Thanks &Regard -
Perl adcfgclone.pl appsTier get error.
Hi,
#------Log File created at: 09200202------------
# $Header: CloneContext.java 115.201 2006/03/22 19:30:45 marderiu ship $
# Running CloneContext on machine - serugp07
Initializing the Apps Service Context varibale Hash
DEBUG: Apps Service Status context variable extracted from the given Apps context file
s_apcstatus
s_apc_restrict_status
s_apcstatus_pls
s_tnsstatus
s_tcfstatus
s_concstatus
s_formsstatus
s_reptstatus
s_metcstatus
s_metsstatus
s_icsmstatus
s_jtffsstatus
s_icxblkstatus
s_discostatus
Variables extracted from pairsfile: /tmp/adpairsfile.lst
Variable :s_appsuser
Value :applmgr
Variable :s_appsgroup
Value :dba
PROMPT :
Do you want to use a virtual hostname for the target node (y/n) [n] ?
ANSWER :
n
PROMPT :
Target system database SID [PROD]
ANSWER :
DEV
PROMPT :
Target system domain name [ugp.co.th]
ANSWER :
ugp.co.th
Default value found for s_contextname : DEV_serugp07
PROMPT :
Target system database server node [iris]
ANSWER :
serugp07
PROMPT :
Target system database domain name [ugp.co.th]
ANSWER :
ugp.co.th
PROMPT :
Does the target system have more than one application tier server node (y/n) [y] ?
ANSWER :
n
PROMPT :
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?
ANSWER :
n
PROMPT :
Target system APPL_TOP mount point [prodappl]
ANSWER :
/data/devappl
PROMPT :
Target system COMMON_TOP directory [prodcomn]
ANSWER :
/data/devcomn
PROMPT :
Target system 8.0.6 ORACLE_HOME directory [prodora/8.0.6]
ANSWER :
/data/devora/8.0.6
PROMPT :
Target system iAS ORACLE_HOME directory [prodora/iAS]
ANSWER :
/data/devora/iAS
PROMPT :
Do you want to preserve the Display set to zeus:1.0 (y/n) [y] ?
ANSWER :
n
PROMPT :
Target system Display [serugp07:0.0]
ANSWER :
serugp07:0.0
DEBUG:
The source s_jdktop is set to an external JDK, so don't blindly set the same External JDK to the target also
DEBUG:Target s_jdktop : null
PROMPT :
Location of the JDK on the target system [opt/java1.4]
ANSWER :
/data/devcomn/java
DEBUG:
The Source s_jretop is not set to a jretop, Setting s_jretop to the target s_jdktop
PROMPT :
Target system JRE_TOP [opt/java1.4]
ANSWER :
/data/devora/8.0.6/jre11813
Default value found for s_javatop : /data/devcomn/java
Default value found for s_temp : /data/devcomn/temp
Target node service definitions:
Database = YES
ConcMgr = YES
Forms = YES
Web = YES
Administration = YES
PROMPT :
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 10
s_webport available: Port Value = 8010
s_rpcport available: Port Value = 1636
s_repsport available: Port Value = 7010
s_oprocmgr_port available: Port Value = 8110
s_webport_pls available: Port Value = 8210
s_servletport available: Port Value = 8810
s_formsport available: Port Value = 9010
s_metdataport available: Port Value = 9110
s_metreqport available: Port Value = 9210
s_jtfuf_port available: Port Value = 9310
s_mapviewer_port available: Port Value = 9810
s_oemweb_port available: Port Value = 10010
s_osagent_port available: Port Value = 10110
s_mwaPortNo available: Port Value = 10260
s_mwaPortNo available: Port Value = 10261
s_mwaPortNo available: Port Value = 10262
s_mwaPortNo available: Port Value = 10263
s_mwaPortNo available: Port Value = 10264
s_mwaPortNo available: Port Value = 10265
s_mwaTelnetPortNo available: Port Value = 10260
s_mwaTelnetPortNo available: Port Value = 10261
s_mwaTelnetPortNo available: Port Value = 10262
s_mwaTelnetPortNo available: Port Value = 10263
s_mwaTelnetPortNo available: Port Value = 10264
s_mwaDispatcherPort available: Port Value = 10340
s_mwaDispatcherPort available: Port Value = 10341
s_mwaDispatcherPort available: Port Value = 10342
s_mwaDispatcherPort available: Port Value = 10343
s_oacore_servlet_portrange available: Port Value = 16100
s_oacore_servlet_portrange available: Port Value = 16101
s_oacore_servlet_portrange available: Port Value = 16102
s_oacore_servlet_portrange available: Port Value = 16103
s_oacore_servlet_portrange available: Port Value = 16104
s_oacore_servlet_portrange available: Port Value = 16105
s_oacore_servlet_portrange available: Port Value = 16106
s_oacore_servlet_portrange available: Port Value = 16107
s_oacore_servlet_portrange available: Port Value = 16108
s_oacore_servlet_portrange available: Port Value = 16109
s_disco_servlet_portrange available: Port Value = 17100
s_disco_servlet_portrange available: Port Value = 17101
s_disco_servlet_portrange available: Port Value = 17102
s_disco_servlet_portrange available: Port Value = 17103
s_disco_servlet_portrange available: Port Value = 17104
s_disco_servlet_portrange available: Port Value = 17105
s_disco_servlet_portrange available: Port Value = 17106
s_disco_servlet_portrange available: Port Value = 17107
s_disco_servlet_portrange available: Port Value = 17108
s_disco_servlet_portrange available: Port Value = 17109
s_forms_servlet_portrange available: Port Value = 18100
s_forms_servlet_portrange available: Port Value = 18101
s_forms_servlet_portrange available: Port Value = 18102
s_forms_servlet_portrange available: Port Value = 18103
s_forms_servlet_portrange available: Port Value = 18104
s_forms_servlet_portrange available: Port Value = 18105
s_forms_servlet_portrange available: Port Value = 18106
s_forms_servlet_portrange available: Port Value = 18107
s_forms_servlet_portrange available: Port Value = 18108
s_forms_servlet_portrange available: Port Value = 18109
s_tcfport available: Port Value = 15010
s_xmlsvcs_servlet_portrange available: Port Value = 19100
s_xmlsvcs_servlet_portrange available: Port Value = 19101
s_xmlsvcs_servlet_portrange available: Port Value = 19102
s_xmlsvcs_servlet_portrange available: Port Value = 19103
s_xmlsvcs_servlet_portrange available: Port Value = 19104
s_xmlsvcs_servlet_portrange available: Port Value = 19105
s_xmlsvcs_servlet_portrange available: Port Value = 19106
s_xmlsvcs_servlet_portrange available: Port Value = 19107
s_xmlsvcs_servlet_portrange available: Port Value = 19108
s_xmlsvcs_servlet_portrange available: Port Value = 19109
s_java_object_cache_port available: Port Value = 12355
Attempting to connect to database using :
jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
DbSid :DEV
DbHost :serugp07
DomainName:ugp.co.th
DbPort :1531
ADX Database Utility
getConnection() -->
sDbHost : serugp07
sDbDomain : ugp.co.th
sDbPort : 1531
sDbSid : DEV
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
Connection obtained
-------------------ADX Database Utility Finished---------------
Attempting to connect to database using :
jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
DbSid :DEV
DbHost :serugp07
DomainName:ugp.co.th
DbPort :1531
ADX Database Utility
getConnection() -->
sDbHost : serugp07
sDbDomain : ugp.co.th
sDbPort : 1531
sDbSid : DEV
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
Connection obtained
-------------------ADX Database Utility Finished---------------
StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.tools.configuration.CVMHelper.getDBInitParameters(CVMHelper.java:181)
at oracle.apps.ad.tools.configuration.CVMHelper.getDBName(CVMHelper.java:253)
at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java:7150)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:638)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6071)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
wanjarus
Thank you.Hi,
Please see
Perl Adcfgclone.pl AppsTier Fail With Error: NullPointerException in CVMHelper.getDBInitParameters [ID 726509.1]
perl adcfgclone.pl appsTier fails with ORA-00600 during CloneContext [ID 304037.1]
Thanks -
When run adcfgclone.pl gives error
Hi,
when run adcfgclone.pl appTier it gives error pleas have a look steps i did and Errors file below.
Target System Database SID : dev
Target System Database Server Node [erpdev] : devdata.npfco.com
Target System Base Directory : /oracle/PROD
Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
Target System Instance Home Directory [oracle/PROD/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
Target System Display [erpdev:0.0] :
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
Do you want to continue (y/n) ? : y
Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 3
Checking the port pool 3
done: Port Pool 3 is free
Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
RC-40201: Unable to connect to Database dev.
Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml.bak
Creating the new APPL_TOP Context file from :
/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log
Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log for details.
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running Rapid Clone with command:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
Running:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
APPS Password :
Beginning application tier Apply - Mon Nov 16 23:23:21 2009
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11162323.log
/ 90% completed
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V[applmgr@erpdev bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.12
Enter the APPS password :
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running:
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /oracle/PROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_18493.lst -stage /oracle/PROD/apps/apps_st/comn/clone 2> /tmp/adcfgclone_18493.err; echo $? > /tmp/adcfgclone_18493.res
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [erpdev] :
Target System Database SID : dev
Target System Database Server Node [erpdev] : devdata
Target System Base Directory : /oracle/PROD
Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
Target System Instance Home Directory [oracle/PROD/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
Target System Display [erpdev:0.0] :
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
Do you want to continue (y/n) ? : y
Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 51
Checking the port pool 51
done: Port Pool 51 is free
Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
RC-40201: Unable to connect to Database dev.
Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml4.bak
Creating the new APPL_TOP Context file from :
/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log for details.
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running Rapid Clone with command:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
Running:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
APPS Password :
Beginning application tier Apply - Tue Nov 17 06:34:12 2009
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11170634.log
\ 89% completed
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 more -
Perl adcfgclone.pl dbTier error
Hi everyone. Newbie here. I'm running on an error during cloning R12 EBS production to development server and I'm doing it manually.
After running the command: perl adcfgclone.pl dbTier and filling in the prompt details, clone was not successfully completed. Please see below the logs
[root@tstocl bin]# perl adcfgclone.pl dbTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx6 00M -cp /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/java:/orclde v/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/orcldev/ts tred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.conte xt.CloneContext -e /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/.. /context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_14291.lst -stage / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_14291. err; echo $? > /tmp/adcfgclone_14291.res
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : TST3
Target System Base Directory : /orcldev/tstred/dbred
Target System utl_file_dir Directory List : usr/tmp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] :
RC-00002: Warning: Directory /orclprd/oraprd/dbsred/db/apps_st/data not found.
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] : /o rcldev/tstred/dbred/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1 .0] :
Do you want to preserve the Display [null] (y/n) ? : y
Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : n
Target System Port Pool [0-99] : 9
Checking the port pool 9
done: Port Pool 9 is free
Report file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp/por tpool.lst
Complete port information available at /orcldev/tstred/dbred/db/tech_st/11.1.0/a ppsutil/temp/portpool.lst
Backing up /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml to / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml1.bak
Creating the new Database Context file from :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
AC-10006: Exception - org.xml.sax.SAXParseException: file:/orcldev/tstred/dbred/ db/tech_st/11.1.0/appsutil/TST3_tstocl.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for f ile: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The new database context file has been created :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Check Clone Context logfile /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clo ne/bin/CloneContext_0719104652.log for details.
Running Rapid Clone with command:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
Running:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
APPS Password :
You must define the target database context to use
dbctxtg=<applications context file>
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone /bin/adclone.pl
Please check logfile.
Log file "CloneContext_0719104652.log" contains details below:
[root@tstocl bin]# more CloneContext_0719104652.log
Using admin directory: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin
#------Log File time stamp: 0719104652------------
# $Header: CloneContext.java 120.92.12010000.5 2008/11/10 09:40:09 ksita ship $
# Running on - tstocl
# Source Host - null
# Domain Name - reddragon.com
# Context Location - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml
# Context Type - null
# Context Template - null
# Clone Stage Area - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
# Pairs File - /tmp/adpairsfile_14291.lst
# Destination Context - null
# Validation - true
# Platform Migration - false
# no prompt - false
Variables extracted from pairsfile: /tmp/adpairsfile_14291.lst
****************************************************/n
s_dbuser = root
s_dbgroup = root
PROMPT :
Target System Hostname (virtual or normal) [tstocl]
ANSWER :
tstocl
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
TST3
PROMPT :
Target System Base Directory
ANSWER :
/orcldev/tstred/dbred
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orclprd/oraprd/dbsred/db/apps_st/data
Value /orclprd/oraprd/dbsred/db/apps_st/datais not valid value for s_dbhome1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orcldev/tstred/dbred/db/apps_st/data
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1.0]
ANSWER :
/orcldev/tstred/dbred/db/tech_st/11.1.0
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n) ?
ANSWER :
y
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 9
Checking Database Port on tstocl: Port Value = 1530
Database Port available: Port Value = 1530
Checking DB ONS Local Port on tstocl: Port Value = 6309
DB ONS Local Port available: Port Value = 6309
Checking DB ONS Remote Port on tstocl: Port Value = 6409
DB ONS Remote Port available: Port Value = 6409
setDestination s_contextfile to : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_14291.lst
Target XML File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Template File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_util_filedir = usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome3 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhost = tstocl
s_db_oh = /orcldev/tstred/dbred/db/tech_st/11.1.0
s_dbhome2 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome1 = /orcldev/tstred/dbred/db/apps_st/data
s_dbgroup = root
s_dbGlnam = TST3
s_dbdomain = reddragon.com
s_dbSid = TST3
s_dbuser = root
s_isForms = YES
s_database_type =
s_temp = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6309
s_hostname = tstocl
s_dbSidLower = tst3
s_cmanport = 1530
s_dbCluster = false
s_domainname = reddragon.com
s_isAdmin = YES
s_isConc = YES
s_contextfile = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
s_dbport = 1530
s_contextname = TST3_tstocl
s_db_ons_remoteport = 6409
s_clonestage = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
s_base = /orcldev/tstred/dbred
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
AC-50401: Command: su prddbs -c "cp /tmp/TST3_tstocl.xml /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
The values for these variables will be retained from the source context
The new context file has been created at:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The first suspicion I thought of was that I'm running out of disk space to clone another instance. But I've checked and there's still enough space, even in the /tmp directory. The second I thought of is does setting ownership and the os permissions have something to do with this?
Hope somebody can help me out with this asap.
Thank you.error for dbTier cloning is solved. I didn't log in as the database user and didn't change permissions for the node files after copying. Cloning for db tier is completed.
I proceed with cloning the apps tier and I'm running into errors and cannot proceed. See log below:
[appls3@tstocl bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/aplred/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /orcldev/tstred/aplred/apps_st/comn/clone/jlib/java:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/xmlparserv2.jar:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /orcldev/tstred/aplred/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_20757.lst -stage /orcldev/tstred/aplred/apps_st/comn/clone 2> /tmp/adcfgclone_20757.err; echo $? > /tmp/adcfgclone_20757.res
Log file located at /orcldev/tstred/aplred/apps_st/comn/clone/bin/CloneContext_0719152502.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target System Database SID : TST3
Target System Database Server Node [tstocl] :
Target System Base Directory : orcldev/tstred/aplred
Target System Tools ORACLE_HOME Directory [orcldev/tstred/aplred/apps/tech_st/10.1.2] :
RC-00213: Warning: The path specified must be the absolute path
Please advise. Thanks -
Perl adcfgclone.pl appsTier
Hi,
I run $perl adcfgclone.pl appsTier before 11 hours and still running.
Please suggest what should I do ?
Beginning application tier Apply - Sat Nov 7 07:18:01 2009
Log file located at $APPL_TOP/admin/$CONTEXT_NAME/log/ApplyAppsTier_11070718.log
- 10% completed
it is still 10 %and running state.
Thanks in Advance...Hi,
tail -f $APPL_TOP/admin/$CONTEXT_NAME/log/ApplyAppsTier_11070718.log
dest : $IAS_ORACLE_HOME/Apache/Apache/conf/WebAgent.conf
backup : $IAS_ORACLE_HOME/Apache/Apache/conf/WebAgent.conf to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/WebAgent2.conf
instantiate file:
source :$IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf/httpd.conf_withsso
dest : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso
backup : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/httpd2.conf_withsso
instantiate file:
source : $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf/httpd.conf_withsso2
dest : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2
backup : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2 to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/httpd0.conf_withsso2
It seems that it stucks at $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2. -
Adcfgclone.pl on appsTier errors out...
While running adcfgclone.pl on appsTier we get the following error, at 73% stage
ORA-12705 : invalid or unknown nls parameter value specified
Regards,
RupdiptHi Rupdipt,
This seems to be an issue because of invalid NLS_LANG parameter. You can refer the following ML doc
[ORA-12705 - Common Reasons and How to Resolve Them|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=158654.1]
Thanks,
Anchorage :) -
Adcfgclone.pl Port Error While Cloning 11.5.10
Currently we are in the process of cloning our 11.5.10 development instance. We are currently experiencing an error while running adcfgclone.pl. The current error we are dealing with is listed below. Any help/feedback with the issue would be greatly appreciated. Thanks ahead of time.
***********ERROR MESSAGE*************************
RC-50204: Error: - s_formsport in use: Port Value = 9010
***********END ERROR MESSAGE*********************Thank you for your help. Our Unix Admin did a port check and was able to conclude that port 9010 was being occupied by an existing process. In turn we decided to change from port pool 10 to port pool 7. Now our forms server port is 9007.
adcfgclone.pl has completed successful and we have completed our clone.
*****FOR FUTURE REFERENCE*****
Further documentation on port pools can be found in Metalink Note: 216664.1 under Rapid Clone Concepts. -
Adcfgclone.pl dbTier error with RC-50004: Error occurred in CloneContext: null
PROMPT :
Target System Hostname (virtual or normal) [migrate]
ANSWER :
migrate
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
EBS12
PROMPT :
Target System Base Directory
ANSWER :
/u01/R12/ora11
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
/usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [/u01/11i/ora11/ebs11data]
ANSWER :
/u01/R12/ora11/db/ebs11data
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [/u01/R12/ora11/db/tech_st/11.1.0]
ANSWER :
/u01/R12/ora11/db/tech_st/11.1.0
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n)
ANSWER :
n
PROMPT :
Target System Display [migrate:0.0]
ANSWER :
migrate:0.0
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 1
Checking Database Port on migrate: Port Value = 1522
Database Port available: Port Value = 1522
Checking DB ONS Local Port on migrate: Port Value = 6301
DB ONS Local Port available: Port Value = 6301
Checking DB ONS Remote Port on migrate: Port Value = 6401
DB ONS Remote Port available: Port Value = 6401
INFO: Unable to obtan DB Version!!!
INFO: Because DB Version could not be obtained, defaulting s_jdktop and s_jretop to adxdbctx.tmp defined values
setDestination s_contextfile to : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_31321.lst
Target XML File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Template File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_listener = EBS12
s_db_util_filedir = /usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /u01/R12/ora11/db/ebs11data
s_dbhome3 = /u01/R12/ora11/db/ebs11data
s_dbhost = migrate
s_db_oh = /u01/R12/ora11/db/tech_st/11.1.0
s_dbhome2 = /u01/R12/ora11/db/ebs11data
s_dbhome1 = /u01/R12/ora11/db/ebs11data
s_dbgroup = dba
s_dbGlnam = EBS12
s_dbdomain = evosys.co.in
s_dbSid = EBS12
s_dbuser = ora11
s_isForms = YES
s_database_type =
s_temp = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6301
s_hostname = migrate
s_dbSidLower = ebs12
s_cmanport = 1522
s_dbCluster = false
s_domainname = evosys.co.in
s_isAdmin = YES
s_isConc = YES
s_contextfile = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
s_dbport = 1522
s_display = migrate:0.0
s_contextname = EBS12_migrate
s_db_ons_remoteport = 6401
s_clonestage = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone
s_base = /u01/R12/ora11
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
PROMPT :
Source and Target platforms differ. Rapid Clone will perform a platform migration.
Do you wish to continue? [y]
ANSWER :
y
The values for these variables will be retained from the source context
s_admin_restrictions = OFF
s_metalink_id =
s_parallel_max_servers = 8
s_systemcsi = N/A
s_apps_version = 12.1.1
s_contextserial = 0
s_instThread = 0
s_sqlnet_expire_time = 10
s_contexttype = Database Context
s_db_sga_target = 1G
s_dbsharedpool_size = 300000000
s_db_shared_pool_size = 400M
s_clusterServicePort = 9998
s_dbcache_size = 163577856
s_rapidwizloc = /tmp/RapidInstall
s_db_pga_aggregate_target = 1G
s_dbtype = VISION
s_proxyhost =
s_nthreads = 5
s_db_processes = 200
s_enable_listener_password = OFF
s_alt_service_instances =
s_dbClusterInst = 1
s_installedFrom = FS
s_undo_tablespace = APPS_UNDOTS1
s_adjreopts = -Xms128M -Xmx512M
s_dbQuorumDisk =
s_db_linkctrl =
s_dbcomp = oracle.apps.dbseed.fresh
s_db_sessions = 400
s_installloc = /tmp
s_isDB = YES
s_proxyport =
s_database = db111
s_dbseed = No Database
s_apps_user = APPS
s_dbfiles = 512
s_db_shared_pool_reserved_size = 40M
s_bits = 32
s_dbblock_buffers = 20000
s_sys_user = SYS
s_dlsnstatus = enabled
s_db_plsql_native_library_subdir_count = 149
s_country_code =
s_subscribe_for_node_down_event = OFF
s_instNumber = 0
The new context file has been created at:
/u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Performing file system cleanup specific to Platform Migration:
StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:718)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
am trying to clone R12.1.1 with 11.1.0.7 from Linux5.5-32.bit to Linux5.8-64bit.
migrating is fails.
So please help me out of this.
Thanks in AdvanceHi,
DB cloning will not suffice the migrating process. In order to perform a cloning from 32 bit to 64 bit, please follow the instructions in the below note:
Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit (Doc ID 471566.1)
Thanks &
Best Regards, -
EBS 11i java error during clone.
Hi,
I am getting following error during the clone EBS 11i on IBM AIX 6.1.
applmgr@PROD11]/u01/oracle/prod11comn/clone/bin> perl adcfgclone.pl appsTier
ERROR: cannot find jre or java under /u01/oracle/prod11comn/clone/bin/../jre/bin
Please verify that you ran adpreclone.pl successfully
Any help would be appreciated.
Thanks.Hi,
check if any softlinks pointing to the source path under $COMMON_TOP/clone/jre/bin.
if not delete clone directory under $COMMON_TOP/ on target node
rerun adpreclone.pl on source node,
copy the $COMMON_TOP/clone fro source to target and retest the issue.
Thanks
RK -
HRMS application
EBS11.5.10.2
Db 11.2.0.3
suse linux 11 sp2
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl adcfgclone.pl appsTier
ERROR: cannot find jre or java under /data/lnxtestcomn/clone/bin/../jre/bin
Please verify that you ran adpreclone.pl successfully
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin>
echo $PATH
/data/lnxtestora/8.0.6/bin:/data/oracle/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin:/opt/gnome/bin:/opt/oracle/product/11gR1/db/bin
oracle@hmf-hrm-007:~> which java
/usr/bin/java
oracle@hmf-hrm-007:~> which perl
/usr/bin/perl
I was able clone dbTier successfully.
Preclone steps were ran fine on source.
Help is appreciated.
Thanks.oracle@hmf-hrm-007:~> export PATH=/data/lnxtestora/iAS/Apache/perl/bin/:$PATH
oracle@hmf-hrm-007:~> PERL5LIB=/data/lnxtestora/iAS/Apache/perl/lib/5.00503/:/data/lnxtestora/iAS/Apache/perl/bin
oracle@hmf-hrm-007:~> cd ../lnxtestora/iAS/Apache/perl/bin/
oracle@hmf-hrm-007:/data/lnxtestora/iAS/Apache/perl/bin> perl ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl appsTier
Can't locate strict.pm in @INC (@INC contains: /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503 /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005 .) at ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl line 26.
BEGIN failed--compilation aborted at ../../../../../lnxtestcomn/clone/bin/adcfgclone.pl line 26.
I tried following too.
oracle@hmf-hrm-007:/data/lnxtestora/iAS/Apache/perl/bin> cd ../../../../../lnxtestcomn/clone/bin
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl adcfgclone.pl appsTier
Can't locate strict.pm in @INC (@INC contains: /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/5.00503 /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005/i686-linux /project4/iAS1022/src/buildarea/asg_apache/pre_shiphome/perl/lib/site_perl/5.005 .) at adcfgclone.pl line 26.
BEGIN failed--compilation aborted at adcfgclone.pl line 26.
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> which perl
/data/lnxtestora/iAS/Apache/perl/bin/perl
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> which java
/usr/bin/java
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> perl -v
This is perl, version 5.005_03 built for i686-linux
Copyright 1987-1999, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
oracle@hmf-hrm-007:/data/lnxtestcomn/clone/bin> echo $PERL5LIB
/data/lnxtestora/iAS/Apache/perl/lib/5.00503/:/data/lnxtestora/iAS/Apache/perl/bin
Edited by: user10994730 on Sep 28, 2012 11:03 AM -
Problems during application postcloning
Hi all ,
I am trying to create a new clone instance on our test server which already has an instance that was created earler .
The database post clone was fine .
During the application postcloning i am doing the fllowing :
cd /gltest/oraclegl/glappl11i/devcomn/clone/bin
export PERL5LIB=/gltest/oraclegl/glappl11i/devora/iAS/Apache/perl/lib/5.00503:$PATH
export PATH=/gltest/oraclegl/glappl11i/devora/iAS/Apache/perl/lib/5.00503:$PATH
Then
perl adcfgclone.pl appsTier
After asking all the quistions the perl programm fails with the err:
RC-50004: Error occurred in CloneContext:
the log file CloneContext_01120413.log
has the error messge :
-------------------ADX Database Utility Finished---------------
StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.tools.configuration.CVMHelper.getDBInitParameters(CVMH
elper.java:181)
at oracle.apps.ad.tools.configuration.CVMHelper.getDBName(CVMHelper.java
:253)
at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java
:7164)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:638)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6085)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
Can any one suggest a solution
Many thanksHi saeed ;
What is your EBS version OS ?
Please check Perl adcfgclone.pl appsTier error: NullPointerException in CVMHelper.getDBInitParameters [ID 726509.1]
Please also check Note:Rc-50004: Error Occurred In Clonecontext, java.lang.NullPointerException [ID 335568.1] and see its helpful
Regard
Helios -
Error RC-10203 while running adcfgclone.pl on apps tier
Hi,
Hoping someone can help - I am new to Oracle Apps and cloning.
background:
-I have been tasked with completing the cloning steps for a development environment. I was provided source apps tier binaries (EBS 11i, 11.5.10.2) and source database binaries (10gR2, 10.2.0.5) created from a production multi-tier instance.
-The target is a two tier system (apps tier is one instance, db is other instance)
-Both instances of the target are running Red Hat 5.9 (db is 64 bit, apps tier is 32-bit)
-I have successfully restored the database
-I have successfully configured the env and tnsnames.ora on the target apps tier and connect to the database using the APPS credentials
-I do not have access to the production system nor can I ask anyone from the production side for assistance.
problem:
Getting an error when running:
$COMMOM_TOP/clone/bin/adcfgclone.pl appsTier
Throwing exception:
RC-50004: Error occurred in CloneContext:
RC-10203: The template provided does not match with the context file.
Context file creation not successful.
Any suggestions?
I've performed cloning once before, but not with these binaries. Needless to say I did not get this error last time.
Thanks in advance..
RKUHi Hussein-
I pulled this from /tmp/CloneContext_0730050807.log
StackTrace:
java.lang.Exception: RC-10203: The template provided does not match with the context file.
at oracle.apps.ad.context.CloneContext.setTemplateLocation(CloneContext.java:3144)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:666)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6270)
RC-50004: Error occurred in CloneContext:
RC-10203: The template provided does not match with the context file.
Context file creation not succesful -
Hi,
we have Oracle EBS 12.1.3 with 11gR2 in IBM AIX7.1. We are now cloning it from a non-shared appl tier to a shared appl tier. Shared appl tier is located in the network drive which uses NetApp.
I've been following these documents:
- Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)
- Sharing The Application Tier File System in Oracle E-Business Suite Release 12 [ID 384248.1]
- Using Load-Balancers with Oracle E-Business Suite Release 12 (Doc ID 380489.1)
DB clone went without problems, but now I'm getting strange problems when trying to run adcfgclone.pl for apps tier:
"applmgr@myhost:/d01/shared_mount/apps/apps_st/viscomn/clone/bin # perl adcfgclone.pl appsTier
pwd: No such file or directory
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.8
ERROR: could not find source system context in /../context/db/CTXORIG.xml
Can't open /../context/db/CTXORIG.xml:
No such file or directory
This file exists:
/d01/shared_mount/apps/apps_st/viscomn/clone/context/apps/CTXORIG.xml
I've tried to re-execute the cloning steps for app tier, but the problem persists.
I've cloned from non-shared to non-shared app tier without problems, so I have a feeling that this might be related to the shared network drive.
Any ideas how to solve this problem?
BR,
THHi Hussein,
thanks for the reply.
+The path is different (first path is db while the second one is apps), so copy the file from the source instance to $COMMON_TOP/clone/context/apps directory on the target instance and try then -- Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]+
What I meant to say that CTXORIG.xml already exists in the correct directory in the target system:
$COMMON_TOP/clone/context/apps
Anyways, I recopied the file from source to the target system $COMMON_TOP/clone/context/apps, but still the same problem. I'll continue reading "Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]".
I noticed below when running "perl adcfgclone.pl appsTier" with perl debug mode:
Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:204):
204: local @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};
DB<1> s
Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:205):
205: my $cwd = `$pwd_cmd`;
DB<1> s
pwd: No such file or directory
Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:207):
207: local $/ = "\n";
DB<1> s
BR,
TH -
Adcfgclone.pl on appsTier
Hello All,
Using r12 ebs with 11g DB.
We clone out test instance and everytime when we start adcfgclone.pl appsTier on aplication side it error out with following error:
log file of adcfgclone shows below error:
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /test/DB_oracle/admin/install
afcpctx.sh INSTE8_PRF 137
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /test/inst/apps/DB_oracle/admin/log/ApplyAppsTier_06011113.log for details.
ApplyApplTop Completed Successfully.
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
to workaround this we have to copy 10.1.2 HOME/lib32/libclntsh.so.10.1 from PROD to test instance in the same location and run autoconfig.
After this workaround everything OK and I can proceed with post cloning steps.
I just want to know where is the problem ? Is there any common mistake I am doing or this is any bug ?
What would be the permanent solution of this cause.
Thanks.to workaround this we have to copy 10.1.2 HOME/lib32/libclntsh.so.10.1 from PROD to test instance in the same location and run autoconfig.Is there a difference between the file you have in the cloned instance and the one you copy over from prod (source instance) in terms of size?
Was this file originally copied from the source instance? If yes, what was the command used?
Do you have the latest AutoConfig and Rapid Clone patches applied?
Thanks,
Hussein
Maybe you are looking for
-
On a new Mac how to transfer video from an external DVD to an external hard rive
I want to transfer my family videos from an external DVD player attached to my new mac to an external hard drive for back up purposes. What do I do? Thanks.
-
Hello guys !! I have an iPhone 3GS, it's on iOS 6.1.3 but I'm unable to download the podcasts app because it says it requires iOS 7 or later.because of this I cannot download any type of music or ringtone.apple has done very bad as they r now only de
-
Installer Can Not Write Register(s)
iTunes in the LAST TWO upgrades (7.1 and now 7.1.1) can not (install correctly) write register errors (hello, I am admin - I should be able to do anything). This is getting so **** old it is not longer even a funny joke like why did the chicken cross
-
UDP DatagramPacket sent between C (client) and Java (server)
Hi, I have a problem sending a struct from C to Java UDP server. In the C (client) program, the struct is defined as typedef strurct dataType_s { char name[52]; char add[52]; long x; long y; } dataType; dataType data; strcpy(data.name, "sun"); strcpy
-
My home button isn't working. It works to put it in dfu mode but not to return to home page where my apps are. Can anyone help please?