Error in adcfgclone.pl
Hello all,
i run adcfgclone.pl in apps Tier for clone, but facing issue. please advise.
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n
Clone Context uses the same port pool mechanism as the Rapid Install
Once you choose a port pool, Clone Context will validate the port availability.
Enter the port pool number [0-99]:
40
Checking the port pool 40
done: Port Pool 40 is free
Complete port information available at /apps2/oracle/apps/oracle/zpntstappl/admin/out/ZPNTST_punastest1/portpool.lst
Verifying Database Connection...
RC-40201: Unable to connect to Database ZPNTST.
Can not establish Database connection on Port 1561.
Please verify the Database is up and running.
Make sure the DB Port matches the one used on the dbTier.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_5008.err file for errors
Edited by: tieto on Oct 14, 2010 5:35 AM
Now i have given port no : - 41 in db tier
Beginning APPSDB_ZPNTST registration to central inventory...
ORACLE_HOME NAME : APPSDB_ZPNTST
ORACLE_HOME PATH : /apps/oracle/apps/oracle/oradb
Using Inventory location in /etc/oraInst.loc
Log file located at /home/oracle/oraInventory/logs/OracleHomeCloner_10140518.log
ERROR: Registration Failed... Please check log file.
You can rerun this registration with the following script:
/apps/oracle/apps/oracle/oradb/appsutil/out/ZPNTST_punastest1/regOUI_APPSDB_ZPNTST.sh
Starting database listener for ZPNTST:
Running:
/apps/oracle/apps/oracle/oradb/appsutil/scripts/ZPNTST_punastest1/addlnctl.sh start ZPNTST
You are running addlnctl.sh version 115.7
Logfile: /apps/oracle/apps/oracle/oradb/appsutil/log/ZPNTST_punastest1/addlnctl.txt
Starting listener process ZPNTST ...
addlnctl.sh: exiting with status 1
in log : -
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 13:30:16
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCZPNTST))
TNS-01201: Listener cannot find executable /apps/oracle/oradb/bin/oracle for SID ZPNTST
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 13:30:25
Copyright (c) 1991, 2006, Oracle. All rights reserved.
TNS-01106: Listener using listener name ZPNTST has already been started
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 17:18:36
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCZPNTST))
TNS-01201: Listener cannot find executable /apps/oracle/oradb/bin/oracle for SID ZPNTST
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 17:18:36
Copyright (c) 1991, 2006, Oracle. All rights reserved.
TNS-01106: Listener using listener name ZPNTST has already been started
Similar Messages
-
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 -
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 -
Error running adcfgclone.pl dbTechStack: RC-20403
Issue cloning target database environment during a preclone step
Problem Description
command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
Raised by oracle.apps.ad.clone.ApplyDBTechStack
s_dbport : 1522
Not sure why I would receive this error, I have done this step several times before without error. Any ideas?user4434301 wrote:
Issue cloning target database environment during a preclone step
Problem Description
command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
Raised by oracle.apps.ad.clone.ApplyDBTechStack
s_dbport : 1522
Not sure why I would receive this error, I have done this step several times before without error. Any ideas?The error indicates that port 1522 is used by another program/process, so please use a different port or kill the process which uses port 1522.
Thanks,
Hussein -
Cloning Apps 11.5.10.2 to new servers
I am in the process of migrating our setup to new servers in a completely different domain, etc. Never cloned before much less try to set to new servers.
I have the DB cloned over and working properly. I then installed the infrastructure (It never asked about DB connection settings, not sure if it was supposed to yet)
I have all the directories as detailed in doc 230672.1 moved over and expanded in the new appropriate locations.
When I execute adcfgclone.pl appsTier I get the following:
Enter the APPS password [APPS]:
apps_pass
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.err file for errors
The adcfgclone.err file just contains
./..jre/1.3.1/bin/java[21]: /usr/bin/basename: not found
getconf: Unrecognized variable 'CPU_VERSION'
./..jre/1.3.1/bin/java[156]: /usr/bin/grep: not found
./..jre/1.3.1/bin/java[175]: /usr/bin/grep: not found
./..jre/1.3.1/bin/java[217]: ./..jre/1.3.1/bin/ ../bin/PA_RISC/native_threads/: cannot execute - Is a directory
At this point do I need to configure the dbc files to point to the new servers/ports etc, the instructions don't say that I do but I am at a loss. The /usr/bin/basename does not exist on the source server either so I assume it is looking for something else but I am not sure what. Did I skip a step when unpacking the files before running adcfgclone.pl?
Thanks for the inputHi,
I have the DB cloned over and working properly. I then installed the infrastructure (It never asked about DB connection settings, not sure if it was supposed to yet)Were the database and the database listener created successfully? If yes, and you are able to connect to the database remotely then there is nothing to worry about here.
./..jre/1.3.1/bin/java[21]: /usr/bin/basename: not found
getconf: Unrecognized variable 'CPU_VERSION'
./..jre/1.3.1/bin/java[156]: /usr/bin/grep: not found
./..jre/1.3.1/bin/java[175]: /usr/bin/grep: not found
./..jre/1.3.1/bin/java[217]: ./..jre/1.3.1/bin/ ../bin/PA_RISC/native_threads/: cannot execute - Is a directoryDid you install all the OS pre-req. software and packages as per Note: 230672.1?
At this point do I need to configure the dbc files to point to the new servers/ports etc, the instructions don't say that I do but I am at a loss. The /usr/bin/basename does not exist on the source server either so I assume it is looking for something else but I am not sure what. Did I skip a step when unpacking the files before running adcfgclone.pl?You do not have to configure any DBC files as this will be created by Rapid Clone. Please verify that all the OS software/packages have been installed before running postclone script.
Thanks,
Hussein -
Hi Friends,
I am cloning EBS 11i AIX 5L on the same server.
Currently we have EBS 11i PROD on the server, @user oracle.
I want to clone it to EBS 11i TEST on the same server, @user oracle2.
Things I did:
1. run autoconfig
2. run preclone programs
3. copy appl and db file to new location for user oracle2.
4. run cloning at user oracle2.
But I got the following error:
$ perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
apps
ERROR : Unable to set CLASSPATH
/u10/app/oracle/kprddb/9.2.0/appsutil/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:
sh: 946274 Illegal instruction(coredump)
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
=========
adcfgclone.err
=========
stackpointer=2ff20660
JVMXM004: JVM is performing abort shutdown sequence
JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /u10/app/oracle/kprddb/9.2.0/appsutil/clone/
bin/javacore946274.1227240407.txt
JVMDG215: Dump Handler has Processed Exception Signal 4.
==== end ====
Can you help me please....
Thanks a lotHi All,
I got some details of the required error logs and error check procedures to be done.
a. The cloning notes I used is >Cloning Oracle Applications Release 11i with Rapid Clone
Doc ID: Note:230672.1
b. From the source :
Select bug_number from ad_bugs where bug_number in ('3453499','5414396','6372396','3571388','5478710','
5035661','6502082','2237858','6718351','3453499','4445697','4617175','6372396');
BUG_NUMBER
3453499
c. 3 Results of adident (on source):
adident Header $JAVA_TOP/oracle/apps/ad/clone/ApplyDatabase.class
adident Header put your RDBMS
ORACLE_HOME/appsutil/java/oracle/apps/ad/clone/ApplyDatabase.class
$ adident Header $JAVA_TOP/oracle/apps/ad/clone/ApplyDatabase.class
/u04/app/oa/kprdcomn/java/oracle/apps/ad/clone/ApplyDatabase.class:
$Header ApplyDatabase.java 115.93 2005/07/22 22:42:46 hfux ship $
$Header ApplyDatabase.java 115.93 2005/07/22 22:42:46 hfux ship $
$ adident Header $ORACLE_HOME/appsutil/java/oracle/apps/ad/clone/ApplyDatabase.class
/u03/app/oracle/kprddb/9.2.0/appsutil/java/oracle/apps/ad/clone/ApplyDatabase.class:
$Header ApplyDatabase.java 115.93 2005/07/22 22:42:46 hfux ship $
$Header ApplyDatabase.java 115.93 2005/07/22 22:42:46 hfux ship $
4. Check that you correctlly updated /etc/hosts in your target system.
Upload it for review.
/etc/hosts is the same because we are cloning on the same server PROD and TEST
5. Check the following logs:
From source:
available >appsTier:
$APPL_TOP\admin\SID_hostname\log:
StageAppsTier_XXXXXXXX.log
dbTier:
DB $ORACLE_HOME\appsutil\log\SID_hostname\StageDBTier_XXXXXXXX.log
From target:
***** The following files are not generated since error occured *****
=============
appsTier :
$APPL_TOP\admin\SID_hostname\log\ApplyAppsTier_XXXXXXXX.log
\tmp\CloneContext_XXXXXXXX.log
8.0.6 $ORACLE_HOME\install\make_XXXXXXXX.log
iAS $ORACLE_HOME\install\make.log
dbTier:
DB $ORACLE_HOME\appsutil\log\SID_hostname:
adcrdb_SID.txt
addbupdgsm.txt
addlnctl.txt
afadmprf.txt
ApplyDBTier_XXXXXXXX.log
oraInventory:
apps2005-XX-XX_HH-MM-SS-AM/PM.log
OracleHomeCloner_XXXXXXXX.log
Thanks -
Setup Database tier for appsutil from EBS 11.5.10.2 with New 11G Database
Hi ,
We just upgrade database 10G to 11G with EBS 11.5.10.2. I started to clone from Instance A to Instance B. When I run perl adcfgclone.pl dbTechStack , I got following error
perl adcfgclone.pl dbTechStack
Enter the APPS password [APPS]:
ERROR: could not find source system context in /oracle/tstB/db/tstbdb/11.2.0/appsutil/template/../context/apps/CTXORIG.xml
USAGE:
adcfgclone.pl <component> [context file]
WHERE:
<component> : { appsTier | appltop | atTechStack }
NOTE:
if no context is specified, adcfgclone.pl will
prompt for cloned system target values to create
the new context file
Do you have any idea ? Do I just copy old 10G CTXORIG.xml ? What is a proper way to setup appsutil to clone ? thanks
Felix
Edited by: user12023243 on Feb 28, 2012 2:56 AM
Hi ,
I ran adchkcfg.sh contextfile=<CONTEXT> and generate clone directory . Howwver , I ran perl adcfgclone.pl dbTechStack, I receieved
Running Rapid Clone with command:
perl /oracle/ts11/db/ts11db/11.2.0/appsutil/clone/bin/adclone.pl java=/oracle/ts11/db/ts11db/11.2.0/appsutil/clone/bin/../jre mode=apply stage=/oracle/ts11/db/ts11db/11.2.0/appsutil/clone/bin/.. component=dbTechStack method=CUSTOM dbctxtg=/oracle/ts11/db/ts11db/11.2.0/appsutil/TS11_usla1-ora-db-36.xml showProgress contextValidated=true
Beginning rdbms home Apply - Tue Feb 28 02:51:06 2012
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/xml/parser/v2/XMLParser (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:474)
at java.net.URLClassLoader.access$500(URLClassLoader.java:108)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:846)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:389)
at java.net.URLClassLoader.findClass(URLClassLoader.java:370)
at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at oracle.apps.ad.util.LogFile.createLogFile(LogFile.java:443)
at oracle.apps.ad.clone.ApplyDBTechStack.main(ApplyDBTechStack.java:1230)
ERROR while running Apply...
Please help . ThanksThanks Helios . I think missed some steps . so I followed note ID 165195.1 Section 8: Migrating to AutoConfig on the Database Tier . after I fiinised all section 8 , I did not find $ORACLE_HOME/appsutil/clone directory . I can only find adcfgclone.pl in $ORACLE_HOME/appsutil/template . Do I miss some steps ?
Actually, I want to run perl adcfgclone.pl dbTechStack to clone db tier . Please help .
Thanks -
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 -
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
Maybe you are looking for
-
Cannot connect to the iTunes store from iPhone
I'm connected to WI-FI. When I touch the iTunes election button, a the above subject message appears. I used the same phone as my previous T-mobile number. I am able to make a call now from my iPhone. It has been less than 24 hours. Cannot locate any
-
How do I rearrange the order of items in a reminder list?
How do I rearrange the order of items in a reminders list?
-
<!---Control the timeout---> <cfsetting requesttimeout="600"> <cfset thisDate = now()> <cfset today = #DateFormat(thisDate,"mm-dd-yyyy")#> <!--- Open ftp connection ---> <cfftp connection="MyFtp" server="#FTPserver#" username="#username#"
-
Tagging TextFrames With InDesign Server - not showign in desktop?
Hi all, Ive come across a weird issue with marking up text frames with InDesign Server (CS3) whilst processing xml rules during an xml import. I run the following code on desktop it works fine. When run on server, it works apart from the frames will
-
NoSuchMethodError at jdom method
Hi all I'm writing a small server-program that receives and sends XML data. For this, I'm using the jdom and the xerces packages. My code compiles fine, but at runtime it yields a NoSuchMethodError for the jdom startElement method I am trying to use