Adcfgclone.pl
during hot cloning when i went to step to run adcfgclone.pl , i do not UAT_uat.xml file at path "/orahome/PROD/db/tech_st/10.2.0/appsutil" , i have PROD_dpprod.xml which contain instance name and dbname for PROD i beleive. How can i creat UAT_uat.xml , i have recovered the database online from PROD to UAT machine , copied tech_st from PROD to UAT. Please help.
perl adcfgclone.pl dbconfig /orahome/PROD/db/tech_st/10.2.0/appsutil/UAT_uat.xml
I am not sure if your question is clear but however for hot clone, the following 2 steps are needed to configure the DB-tier
1. cd [RDBMS ORACLE_HOME]/appsutil/clone/bin
Start db clone scripts
perl adcfgclone.pl dbTechStack
2. Configure the target database:
perl adcfgclone.pl dbconfig <database_context_file>
It is here you need the context file generated in the step 1.
Please get the clone doc and read in details as you may need to do 1 or 2 things based on your setup
Similar Messages
-
Error running adcfgclone.pl dbconfig post-clone
Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
afdbprf.sh INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
adcrobj.sh INSTE8_APPLY 1
Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor" This is impossible because all the info in the TNSNames file is set correctly.Please post the details of the application release, database version and OS.
Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
afdbprf.sh INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
adcrobj.sh INSTE8_APPLY 1
Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor" This is impossible because all the info in the TNSNames file is set correctly.Please search the log file for afdbprf.sh and adcrobj.sh scripts and you should find more details about the error around the file names.
Was the database created successfully? Please make sure the database is up and it is open along with the database listener.
Please see if (Autoconfig Error On Dbtier After Upgrade - afdbprf.sh and adcrobj.sh fail with ORA-27101: shared memory realm does not exist [ID 422709.1]) is applicable.
Thanks,
Hussein -
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 -
Error while running adcfgclone on apps tier
I am getting the following error while running adcfgclone on the apps tier...
OS: RHEL 5.5 64bit
Oracle 10.2.0.3
EBS R12.0.4 Multinode
DB Tier and APPS Tier on different nodes.
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 moreon the checking the logfile I am getting the following error
Executable : /do5_apphome/apps/tech_st/10.1.2/bin/sqlplus
SQL*Plus: Release 10.1.0.5.0 - Production on Fri Mar 30 11:12:06 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Enter value for 4: ERRO R:
ORA-12560: TNS:protocol adapter error
igccmprf.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP BIS_TOP AMS_T OP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP IGS_TOP IBY_ TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP FTE_TOP ONT_ TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOPI have successfully run rapidclone on db tier without any errors..Kindly advice me what to do to get my apps up and running..Database is already up and running!Mr Hussein ,
I guess it is an issue with autoconfig. So i tried to run auto config manually and got the following error which I would like you to have a look at
ADX Database Utility
getConnection() -->
sDbHost : devdb
sDbDomain : erp.local
sDbPort : 1551
sDbSid : dev
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@devdb.erp.local:1551:dev
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev.erp.local)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Verifying connection to the Database : Could not be stablished
No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
Listener Port no 1521 -
I am getting below error while running adcfgclone on APPS tier
ERROR : Unable to set CLASSPATH
/corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is missing
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_29475.err file for errors
i copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_30763.err file for errorsPlease post the details of the application release, database version and OS.
ERROR: context creation not completed successfully
This is a generic error, please check the log files for details about the error.
Thanks,
Hussein -
ORA-12514 error while running adcfgclone.pl
Dear Hussein,
We are cloning an R12 instance, while running adcfgclone.pl dbTier, we are gettign the below error:
============================================================
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : db1
sDbDomain : ******.com
sDbPort : 1551
sDbSid : ERPUAT
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@db1.******.com:1551:ERPUAT
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT.******.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
=============================================================
and in alert log file, there is below error:
=============================================================
alter database open resetlogs
ORA-1194 signalled during: alter database open resetlogs...
alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE...
alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE...
Sun Sep 13 23:53:24 2009
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 1809): terminating the instance
Instance terminated by USER, pid = 1809
Sun Sep 13 23:53:25 2009
Instance shutdown complete
================================================
Please suggest
Bilal
Edited by: user5499416 on Sep 14, 2009 12:24 AM
Edited by: user5499416 on Sep 14, 2009 12:52 AMBilal,
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directoryPlease verify that the database was created successfully and it is up and running.
Regards,
Hussein -
Error while runnig adcfgclone.pl dbTier
Hii.
i was cloning my PROD instance to a Test instance and while configuring the target system database server
perl adcfgclone.pl dbTier, Im getting the following error
The new database context file has been created :
*/u03/UAT/uatdb/10.2.0/appsutil/UAT_msftora2.xml*
Log file located at /tmp/CloneContext_10081143.log
Running Rapid Clone with command:
perl /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl java=/u03/UAT/u atdb/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u03/UAT/uatdb/10.2.0/app sutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/u03/UAT/uatdb/10.2.0/ appsutil/UAT_msftora2.xml showProgress contextValidated=true
Beginning database tier Apply - Sat Oct 8 11:44:14 2011
Log file located at /u03/UAT/uatdb/10.2.0/appsutil/log/UAT_msftora2/ApplyDBTier_ 10081144.log
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
ERROR while running Apply...
ERROR: Failed to execute /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl
And my logfile contents is shown below
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : msftora2
sDbDomain : msftpnq.com
sDbPort : 1528
sDbSid : UAT
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1528:UAT
Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT)))
Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source)
can anyone help me in solving the problem
waiting for your replies
Thanks in advance
Edited by: 881222 on Oct 8, 2011 12:46 AMThe following is some of the logfile contentss
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1536:TEST
Exception occurred: java.sql.SQLException: ORA-01017: invalid
username/password; logon denied
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01017: invalid
username/password; logon denied
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL:
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection
with the following error:
ORA-12514, TNS:listener does not currently know of service requested in
connect descriptor
The Connection descriptor used by the client was:
*(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))*
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source)
Can you find any issue in thiss...
Thankss -
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 -
Error in Instantiate Phase (adcrdb.sh) during adcfgclone.pl dbconfig
Hello,
I am finishing an environmental clone from PRD->TST and am running the adcfgclone.pl dbconfig (because controlfiles will not be created) portion to configure the target database. It progresses to the point of DB Application and then errors out with the below message. I have verified that the file itself exists on the target DBTier, and that the permissions are correct on the file. Has anyone seen this before, or could they recommend anything? Thanks in advance.
+[AutoConfig Error Report]+
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
+<filename> <phase> <return code where appropriate>+
+[INSTANTIATE PHASE]+
AutoConfig could not successfully instantiate the following files:
Directory: /u01/oracle/xxxTST/db/tech_st/11.1.0/appsutil/install/xxxTST_xxxtstxx
adcrdb.sh INSTE8
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabaseCorrect. After searching the log file, it explains to me that adcrdb.sh is missing from the <$ORACLE_HOME>/appsutil/template directory. So, I copy the file from the Source<$ORACLE_HOME>/appsutil/template to the Target <$ORACLE_HOME>/appsutil/template directory. Immediately upon kicking off the adcfgclone.pl dbconfig again it is deleted. This is very strange. Am I missing something?
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory -
Adcfgclone.pl dbTier failure
Good Afternoon,
I am cloning our production 9.2.0.8 database onto a new server for running db version upgrade against. I have hit an issue with adcfgclone.
I have checked the log for the process and the first errored output will follow. Its pretty obvious that the db controlfile is going to fail creation due to this error. Now looking in the adcrdbclone.sql script, it is looking for the *.rdo files within my second data_top - the directory exists but the redo logs do not. How can I get around this?
Thanks,
(extract fromApplyDBTier_09021022.log)
# Calling ApplyDatabase...
Executing runInstallDriver...
Started unzipping files...
UNZIP used: UnZip 5.32 of 3 November 1997, by Info-ZIP. Maintained by Greg Roel
ofs. Send
Verifying correctness of adcrdbclone.sql
log01a.rdo data file is misplaced
log01b.rdo data file is misplaced
log02a.rdo data file is misplaced
log02b.rdo data file is misplaced
log03a.rdo data file is misplaced
log03b.rdo data file is misplaced
log04a.rdo data file is misplaced
log04b.rdo data file is misplaced
log05a.rdo data file is misplaced
log05b.rdo data file is misplaced
log06a.rdo data file is misplaced
log06b.rdo data file is misplaced
log07a.rdo data file is misplaced
log07b.rdo data file is misplaced
log08a.rdo data file is misplaced
log08b.rdo data file is misplaced
log01a.rdo data file is misplaced
log01b.rdo data file is misplaced
log02a.rdo data file is misplaced
log02b.rdo data file is misplaced
log03a.rdo data file is misplaced
log03b.rdo data file is misplaced
log04a.rdo data file is misplaced
log04b.rdo data file is misplaced
log05a.rdo data file is misplaced
log05b.rdo data file is misplaced
log06a.rdo data file is misplaced
log06b.rdo data file is misplaced
log07a.rdo data file is misplaced
log07b.rdo data file is misplaced
log08a.rdo data file is misplaced
log08b.rdo data file is misplaced
Some of the dbffiles are misplaced.
Control file creation will fail.Having reviewed the logs from other databases - it seems this behaviour is normal... The real issue seems to be further down the log file:
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Sep 2 10:25:25 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
CREATE CONTROLFILE REUSE SET DATABASE "UAT"
ERROR at line 1:
ORA-01034: ORACLE not available -
Hi,
oraprod@santest bin]$ adcfgclone.pl dbTier
Enter the APPS password [APPS]:
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
AC-00002: Error: Unable to create log file - CloneContext_08180354.log
RC-50004: Error occurred in CloneContext:
AC-00002: Unable to create log file - CloneContext_08180354.log
Raised by oracle.apps.ad.util.LogFile
AC-00002: Error: Unable to create log file - CloneContext_08180354.log
Exception while writing to logfile.
Check logfile CloneContext_08180354.log for details.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
I'm getting this error while running adcfgclone.pl. And error log file also empty.I have done all prerequisite properly.Can u help me in this issue???
Thanks
Sanjay Deshwal
Edited by: [email protected] on Aug 18, 2009 4:04 AMHi,
Any details about the error in adcfgclone.pl script?
Please make sure that oracle user has read/write permission on the target database tier files, and run the command again.
Regards,
Hussein -
Dbtier adcfgclone error in 11.5.10.2
Hi ,
DB-10.1.0.5
apps-11.5.10.2
os-HP UNIX
I we started db and listener manully.and i ran adcfgclone.pl dbteckstack.I am getting below error.please help me.
Log file located at /testcrm/app/product/10.1.0/db_1/appsutil/clone/bin/CloneContext_05060158.log
Running Rapid Clone with command:
perl ./adclone.pl java=./../jre/jre mode=apply stage=/testcrm/app/product/10.1.0/db_1/appsutil/clone/bin/./.. component=dbTechStack method=CUSTOM dbctxtg=/testcrm/app/product/10.1.0/db_1/appsutil/CRMTST1_erptd1.xml showProgress contextValidated=true
Beginning rdbms home Apply - Mon May 6 14:00:06 2013
Log file located at /testcrm/app/product/10.1.0/db_1/appsutil/log/CRMTST1_erptd1/ApplyDBTechStack_05060200.log
Completed Apply...
Mon May 6 14:04:57 2013
ERROR: Unable to set CLASSPATH
Jars are missing at both these locations
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/jre/lib/
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/lib/
ERROR: Failed to execute ./adclone.pl
Please check logfile.
$
RGS,
RAMHi RAM,
it is this the first time you are cloning on the target machine
if yes then please make sure you have correct path for all and you meet the all requirement
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
>
ERROR: Unable to set CLASSPATH
Jars are missing at both these locations
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/jre/lib/
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/lib/
ERROR: Failed to execute ./adclone.pl
please log in as oracle user and post the ouput of
echo $PATH
please see this
adcfgclone.pl is Unable to Locate All Utilities in the System Path - 'Could not find all the required OS utilities in the $PATH' Error [ID 397742.1]
Clone of Database adcfgclone.pl dbTier results in - jlib/classes111.zip is Missing [ID 761596.1]
11i: adcfgclone fails with signal 11 while executing a Java Command [ID 395689.1]
adpreclone.pl: Jars are missing at both these locations [ID 559967.1]
Perl Adpreclone.pl Dbtier Error: "Unable To Set Classpath Classes12.jar is Missing" [ID 353187.1]
Unable to find 'kshell' in PATH when executing 'adcfgclone.pl' [ID 451994.1]
;) AppsMasTi ;)
Sharing is Caring -
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 db tier errors out...
Running adcfgclone.pl on db tier errors out at 50% stage with the following error
RC-50004 :Fatal : Error in ApplyDatabase :Control file creation failed.
THe ApplyDB<> log file shows the following error:
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : x3650ebs
sDbDomain : abc.com
sDbPort : 1524
sDbSid : CLNDB
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@x3650ebs.abc.com:1524:CLNDB
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=x3650ebs.abc.com)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=CLNDB)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
How to fix this error?
RegardsHi,
ORA-1103 signalled during ALTER DATABASE MOUNT...There should be more details about the error above this line, more details about creating controlfiles.
You can also review:
Note: 18677.1 - OERR: ORA 1103 database name in control file is not
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=18677.1
Regards,
Hussein -
Adcfgclone.pl dbTier ADX connection error
Hello,
I got this error message in the Netservicehandler.log at the end of
perl adcfgclone.pl dbTier. Platform config is as follows:
Host: 64bit sun solaris
apps: 11.5.9
db: 9.2.0
Log file follows:--
$ moreNetServiceHandler.logNetServiceHandler.log
moreNetServiceHandler.logNetServiceHandler.log: not found
$ more NetServiceHandler.log
Using java command: /oracle/devdbdb/9.2.0/jdk/bin/java
JAVA_HOME :
Java version : 1.3.1_11
Classpath : /oracle/devdbdb/9.2.0/jdk/jre/lib/rt.jar:/oracle/devdbdb/9.2.0/jdk/jre/lib/i18n.jar:/
oracle/devdbdb/9.2.0/jdk/lib/dt.jar:/oracle/devdbdb/9.2.0/jdk/lib/tools.jar:/oracle/devdbdb/9.2.0/jdbc/lib/cla
sses12.jar:/oracle/devdbdb/9.2.0/appsutil/java/xmlparserv2.zip:/oracle/devdbdb/9.2.0/appsutil/java
===============================================================================
NetServiceHandler 115.33 started for hostmachine at Thu Apr 27 17:48:10 PDT 2006
===============================================================================
[ Context Information ]
Host : hostmachine
Domain : mydbtech.net
Out Dir : /oracle/devdbdb/9.2.0/appsutil/out/DEVDB_hostmachine/04271748
Tier Type : DATABASE TIER
Getting connection...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : hostmachine
sDbDomain : mydbtech.net
sDbPort : 1524
sDbSid : DEVDB
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@hostmachine.mydbtech.net:1524:DEVDB
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
nnection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
4))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
nnection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
4))(CONNECT_DATA=(SERVICE_NAME=DEVDB.mydbtech.net)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
nnection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Could not get connection to the database.
Exiting with status 100 to instantiate the tnsnames.ora template
Creation of Directory - /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine Succeeded.
instantiate file:
source : /oracle/devdbdb/9.2.0/appsutil/template/ad8itns.ora
dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/tnsnames.ora
AutoConfig is exiting with status 0
instantiate file:
source : /oracle/devdbdb/9.2.0/appsutil/template/ad8ilsnr.ora
dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/listener.ora
AutoConfig is exiting with status 0
adgentns.pl exiting with status 0
ERRORCODE = 0 ERRORCODE_END
Please advise what to do now..
ThanksHello User50... ;)
As rightly spoted by previous members. presumably you hav connectivity problems from Apps server abd DB server.
In order to check it you can run the following commands on apps host
sqlplus -S apps/apps
conn apps/apps@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostmachine.mydbtech.net)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
Connected. <-- You have to get connected, owervize you have got DB connectivity problem
exit
Enjoy,
Yury -
ADCFGCLONE.PL 에서 FAILS TO INSTANTIATE INSTCONF.DRV" 로 클로닝 중단
제품 : AOL
작성날짜 : 2005-11-28
ADCFGCLONE.PL 에서 "FAILS TO INSTANTIATE INSTCONF.DRV" 로 클로닝 중단
===============================================================
PURPOSE
APPS TIER 에서 ADCFGCLON.PL 실행시 "FAILS TO INSTANTIATE INSTCONF.DRV" 로 Script가 중단되는데 이에 대한 조치사항에 대해 기술함.
Problem Description
Target node에서 adcfgclone.pl 실행시 아래 Error가 발생합니다.
============================================================================================
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[INSTANTIATE PHASE]
AutoConfig could not successfully instantiate the following files:
Directory: /u01/fms2c/appfms2c/fms2cora/iAS/Apache/modplsql/cache/plsql/plsql/004
9426.a INSTE8
Directory: /u01/fms2c/appfms2c/fms2cora/iAS/Apache/modplsql/cache/plsql/plsql/050
5123.a INSTE8
Directory: /u01/fms2c/appfms2c/fms2cora/iAS/Apache/modplsql/cache/plsql/plsql/057
8496.a INSTE8
AutoConfig is exiting with status 3
RC-50013: Fatal: Failed to instantiate driver
/u01/fms2c/appfms2c/fms2cora/iAS/appsutil/driver/instconf.drv
Raised by oracle.apps.ad.clone.ApplyAppsTechStack
StackTrace:
java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver
/u01/fms2c/appfms2c/fms2cora/iAS/appsutil/driver/instconf.drv
at oracle.apps.ad.clone.ApplyAppsTechStack.checkInstallDrvErr(ApplyAppsTechStack.java:647)
at oracle.apps.ad.clone.ApplyAppsTechStack.runInstallConfigDriver(ApplyAppsTechStack.java:573)
at oracle.apps.ad.clone.ApplyAppsTechStack.<init>(ApplyAppsTechStack.java:348)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:177)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source
Cause
======
Source Instance 파일중 adpreclon falg가 autoconfigable 로 되어 있지만 실제로 autoconfigable 이 불가능해서 발생함. 그래서 adpreclone.pl 이 files 들을 instconf.drv 에 추가하고 adcfgclone.pl 실행시 template이 파일들을 초기화 하기 위해 ?O기 때문에 발생합니다.
Workaround
Solution Description
문제가 되는 라인들을 직접 instconf.drv에 삭제합니다.
Reference Documents
-------------------
Maybe you are looking for
-
How much ram can my early 08 a1181 handle?
I'm upgrading my os to 10.7 from 10.5.6. There is only 1gb ram now but I ordered 2gb off of eBay to install. I'm reading I need more to operate smoothly. Or what should i run for ram?mac Can somebody help me with this?
-
U410: Windows + Debian from scratch
Hello, I bought a Lenovo U410 (HDD: 750 GB, SDD: 32 GB, 8 GB RAM) in Germany in August last year. It was working really good until I tried to install Ubuntu on it. When I was trying to do it, I got lots of problems because of the RAID configuration (
-
Trying to convert VBScript to Java
I want to change this VB Script into Java for use in Dreamweaver <% If rsCalendarDetails("images") <> "" Then %> <img src="images/calendarphotos<%=(rsCalendarDetails.Fields.Item("images").Value)%>"> <% Else %> <images src="images/calendarphotos/nopix
-
Adobe Content Viewer, library downloading issue
I have the free version of the folio building tools currently with acrobat.com as I test the capabilities of the publishing suite for our company. I updated the folio tools, can sign in, create a folio, and it appears OK in the shared workspace on ac
-
Installing TFS PowerShell Cmdlets
I cannot get the TFS PowerShell Cmdlets installed. During the install, I am not prompted to install them. And, in fact, the Typical Install text states it will not install them. After installing, then going in to modify, I do not see PowerShell Cmdle