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,
RAM
Hi 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
Similar Messages
-
Adcfgclone error on windows..
Hai all,
When tried running adcfgclone .. got the following error :
and this zipfile is getting opened automatically xmlparserv2.zip
I granted all the privileges to the user.. even then, it is not solved.
F:\oracle\visionsdb\9.2.0\appsutil\clone\bin>perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
apps
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-hotspot to select the "hotspot" VM
If present, the option to select the VM must be first.
The default VM is -hotspot.
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
../jlib/classes12.jar: cannot execute: The system cannot find the file specified
../jre/lib/rt.jar: cannot execute: The system cannot find the file specified.
C:/Mks/etc/perl/lib: cannot open script "C:/Mks/etc/perl/lib": Access is denied.
C:/Mks/etc/perl/lib/site_perl: cannot open script "C:/Mks/etc/perl/lib/site_perl
": Access is denied.
ERROR: Could not open .: Usage: . file [arg ...]That copying is goin on Hussain,,meanwhile, can u guide me in the following :
configured one more linux machine .. to keep it in our remote location..disaster recovery like.. installed oracle EBS and it is working fine.
copied files from production to clone.. and dbtier clone was successfull..
when am runnign the same on appstier am getting the error :
Checking the port pool 40
done: Port Pool 40 is free
Complete port information available at /d02/appltest/prodappl/admin/out/DEV7_oracle7/portpool.lst
Verifying Database Connection...
RC-40201: Unable to connect to Database DEV7.
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.err file for errors
db is up and runing..
listener is running . .for ex :
SQL> show parameter db_name
NAME TYPE VALUE
db_name string DEV7
STATUS of the LISTENER
Alias DEV7
Version TNSLSNR for Linux: Version 9.2.0.6.0 - Production
Start Date 22-DEC-2007 15:51:06
Uptime 0 days 18 hr. 1 min. 43 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /d03/oratest/oraprod/proddb/9.2.0/network/admin/DEV7_o racle7/listener.ora
Listener Log File /d03/oratest/oraprod/proddb/9.2.0/network/admin/dev7.l og
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCDEV7)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle7.ali.com.kw)(PORT=1561)))
Services Summary...
Service "DEV7" has 1 instance(s).
Instance "DEV7", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oratest@oracle7 ~]$ cat /d02/appltest/prodappl/admin/out/DEV7_oracle7/portpool.lst
chnaged the ownership to the user appltest
any ideas ?
[root@oracle7 appltest]# netstat -a | grep 1561
tcp 0 0 *:1561 *:* LISTEN
any ideas ?
Thanks
yusuf -
Adcfgclone.pl dbTier gets error
Dear all i made the cloning steps on DB and apps . preclone completed successful on db and apps and autoconfig and i created appsutil also newly. i made everything to make the post clone succeed .everything is good only not post clone.
APPS : REDHAT 4.7 32 BIT 11.5.10.2
DB : ORACLE LINUX 5.3 64 BIT 10.2.0.5
THE LOG CONTAINS ERRORS LIKE :
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/sqlnet.ora
Processing driver file: /oracle/oracle/proddb/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/tnsnames.ora
Checking for file: /oracle/oracle/proddb/10.2.0/dbs/initTEST.ora
Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/listener.ora
Starting CVM in INSTE8_SETUP mode
Using Context file : /oracle/oracle/proddb/10.2.0/appsutil/TEST_emctestdb.xml
Attempting to create a back up of the Context file
Created back up file of name :
/oracle/oracle/proddb/10.2.0/appsutil/out/TEST_emctestdb/01300000/TEST_emctestdb.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /oracle/oracle/proddb/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /oracle/oracle/proddb/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/oracle/oracle/proddb/10.2.0/appsutil/TEST_emctestdb.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Generate Tns Names
Classpath : /oracle/oracle/proddb/10.2.0/jdk/jre/lib/rt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/dt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/tools.jar:/oracle/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/oracle/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/oracle/oracle/proddb/10.2.0/appsutil/java:/oracle/oracle/proddb/10.2.0/jlib/netcfg.jar:/oracle/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /oracle/oracle/proddb/10.2.0
Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/01300000/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ADX Database Utility
getConnection() -->
sDbHost : emctestdb
sDbDomain : emceg.com
sDbPort : 1522
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
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=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
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=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
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---------------
RC-40201: Unable to connect to Database TEST.
StackTrace:
java.lang.Exception: Cannot connect to database using DBUtil
at oracle.apps.ad.clone.ApplyDatabase.checkDBConnection(ApplyDatabase.java:3414)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:524)
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)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : emctestdb
sDbDomain : emceg.com
sDbPort : 1522
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: Io exception: Connection reset
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
Exception occurred: java.sql.SQLException: Io exception: Connection reset
Connection could not be obtained; returning null
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Creating the control file for TEST_emctestdb database ...
SQL*Plus: Release 10.2.0.5.0 - Production on Wed Jan 30 00:01:47 2013
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2101672 bytes
Variable Size 427822680 bytes
Database Buffers 629145600 bytes
Redo Buffers 14671872 bytes
Control file created.
Database altered.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-------------------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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
by the way listener gone up :
You are running addlnctl.sh version 115.7
Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/addlnctl.txt
Starting listener process TEST ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
THanksautoconfig errors :
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /oracle/oracle/proddb/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : emctestdb
sDbDomain : emceg.com
sDbPort : 1522
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Exception occurred while preseeding variables in the context file: java.sql.SQLException: Could not get connection to the database
StackTrace:
java.sql.SQLException: Could not get connection to the database
at oracle.apps.ad.tools.configuration.CVMHelper.processNewContextFile(CVMHelper.java:884)
at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1721)
at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1523)
at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:665)
Generate Tns Names
Classpath : /oracle/oracle/proddb/10.2.0/jdk/jre/lib/rt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/dt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/tools.jar:/oracle/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/oracle/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/oracle/oracle/proddb/10.2.0/appsutil/java:/oracle/oracle/proddb/10.2.0/jlib/netcfg.jar:/oracle/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /oracle/oracle/proddb/10.2.0
Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/01300219/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
afdbprf.sh started at Wed Jan 30 02:19:48 EET 2013
The environment settings are as follows ...
ORACLE_HOME : /oracle/oracle/proddb/10.2.0
ORACLE_SID : TEST
PATH : /usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oraprod/bin
Library Path : /oracle/oracle/proddb/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/oracle/proddb/10.2.0/ctx/lib
Executable : /oracle/oracle/proddb/10.2.0/bin/sqlplus
SQL*Plus: Release 10.2.0.5.0 - Production on Wed Jan 30 02:19:49 2013
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
ORA-12537: TNS:connection closed
ERRORCODE = 1 ERRORCODE_END
getConnection() -->
sDbHost : emctestdb
sDbDomain : emceg.com
sDbPort : 1522
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: Io exception: Connection reset
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Verifying connection to the Database : Could not be stablished
[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: /oracle/oracle/proddb/10.2.0/appsutil/install/TEST_emctestdb
afdbprf.sh INSTE8_PRF 1 -
Adcfgclone error ...
Hi,
i get the follwoing error while running adcfgclone.pl on appsTier:
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
...ADCFGCLONE.ERR contents ...
JVMDG217: Dump Handler is Processing Signal 4 - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to
[...]/classpath/classpath/javacore.20050309.120918.18401.txt
JVMDG215: Dump Handler has Processed Exception Signal 4.
Thanks,
Sai RamHi;
What is your EBS and OS? I belive its aix, please check below notes:
Adcfgclone Fails at AppsTier on AIX with error JVMXM004 [ID 457600.1]
JVM Core Error JVMX004 When Running adcfgclone.pl on AIX [ID 393723.1]
Running Adpreclone.Pl Get Java Core Dump. [ID 396594.1]
JVM Core Error JVMX004 When Running Adpreclone.pl on AIX [ID 374713.1]
Regard
Helios -
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 AMNow 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 -
Perl adpreclone.pl dbTier errors out with RC-50013
Hi all,
Am performing a clone of an 11.5.10.2 system running on Redhat linux 3.0.
When i run perl adcfgclone.pl dbTier,it errors out with the following error whenever it gets to 16%.
AutoConfig is exiting with status 1476
RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
Raised by oracle.apps.ad.clone.ApplyDBTechStack
StackTrace:
java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
at oracle.apps.ad.clone.ApplyDBTechStack.checkInstallDrvErr(ApplyDBTechStack.java:717)
at oracle.apps.ad.clone.ApplyDBTechStack.runInstallConfigDriver(ApplyDBTechStack.java:622)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:389)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
Could anyone be having a clue of how to go about this issue?
I read the solution on metalink and the solution i was given is to go to Note 307954.1 which tells me to "Modify the target's instconf.drv and remove the offending lines"
Now,the problem is that the offending lines are too too many....Is there any other way round this problem?????
Thank you in advance.Take a look on :
Note:463477.1 - "Adcfgclone Failed To Run On DB Tier With java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver"
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=463477.1
Aviad -
Adcfgclone appTier error -- afcpctx.sh INSTE8_PRF 137
Dear friends
We are doing cloning from multi tier to multi tier with shared appl top, we have done the database tier cloning successfully, but for apps tier, it gave the following errors....
/rlmapp/apps/oraapp/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /rlmapp/apps/oraapp/apps_st/comn/clone/jlib/xmlparserv2.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/ojdbc14.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/java:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/oui/ewt3.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/oui/share.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/oui/srvm.jar:/rlmapp/apps/oraapp/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/oraapp/inst/apps/ERPCLN_rlmapp/appl/admin/ERPCLN_rlmapp.xml -stage /rlmapp/apps/oraapp/apps_st/comn/clone -showProgress
APPS Password : Log file located at /oracle/oraapp/inst/apps/ERPCLN_rlmapp/admin/log/ApplyAppsTier_03261627.log
\ 90% completed
ERROR while running Apply...
Fri Mar 26 16:35:22 2010
ERROR: Failed to execute /rlmapp/apps/oraapp/apps_st/comn/clone/bin/adclone.pl
Please check logfile.
==============================
from applyAppstier.log
[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: /oracle/oraapp/inst/apps/ERPCLN_rlmapp/admin/install
afcpctx.sh INSTE8_PRF 137
AutoConfig is exiting with status 1
======
thanks in advance...
-----Dear All
We raised SR with oracle support, and issue has resolved, following was the update from oracle support.
==========
1. Create a global inventory under its default locations.
The following are the default locations for oraInst.loc under respective platforms.
AIX and LINUX under : /etc/oraInst.loc
Other UNIX machines : /vat/opt/oracle/oraInst.loc
2. oraInst.loc must point to any directory location where the user has access
3. Rename the previous global inventory :
cd RDBMS $ORACLE_HOME>/admin/oui/$CONTEXT_NAME
mv oraInventory oraInventory.bkp
or (for the Applications Tier)
cd <INST_TOP>/admin
mv oraInventory oraInventory.bkp
rename also inventory pointed by
$IAS_ORACLE_HOME/oraInst.loc
Tools $ORACLE_HOME/oraInst.loc
4. rerun:
adcfgclone.pl dbTier
adcfgclone.pl appsTier
5. Check ohclone.log logs generated.
You should not see errors like:
ERRORCODE = 255 ERRORCODE_END
==========
hope it helps.
best regards -
Adconfig error on dbTier...
hi,
when running adconfig.cmd on dbTier returns error below
the system cannot find the batch label specified - GET_DIRNAME
AutoConfig Wrapper
115.27
the system cannot find the patch specified
the syntax of the command is incorrect
Regards
***SBJ***Hi,
Application Version:11.5.9 Base
Database Version :8.1.7.4
now only this system under my ctrl first time i try to run adconfig.cmd
befor this i applied AD.i.7 patch
when concurrent manager starts it automatically stop. in cm_log the error for cocurrent manager is
Routine AFPCAL recived failure code while parsing or running your concurrent program CPMGR
so only i am running adconfig.cmd in dbtier &appstier
in appstier only adgendbc.cmd error only
but dbtier when running adconfig.cmd the above post error is appearing.
i am trying to upgrade 11.5.9 to 12.1.1
after the concurrent issue solved only i will apply 11.5.9 CU2 patch
Regards
***SBJ*** -
Dear Friends,
Getting error when cloning 11.5.9 from PROD to DEV:
ERROR: OUI files not found at their expected location. Please make sure that the pre-requisit OUI patch was applied correctly: patch should be unzipped directly at the ORACLE_HOME root level so that
<iAS ORACLE_HOME>/oui21/oui/lib/OraInstaller.jar exists.
Restart adclone.pl after performing required corrections.
I applied the patch 5035661 also but still the error exists.
Please let me know the fix.
[appldev@betestoracle bin]$ perl adcfgclone.pl appsTier
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
Enter the values for the new APPL_TOP Context:
Does the target system have more than one application tier server node (y/n) [n] ?:
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:
Target system APPL_TOP mount point [apps/applprod/prodappl]:/apps/DEV/devappl
Target system COMMON_TOP directory [apps/applprod/prodcomn]:/apps/DEV/devcomn
Location of JDK 1.3.1 on the target system [usr/java/jdk1.3.1_10]:
The new context file has to contain port numbers related to target system.
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]
50
Checking the port pool 50
done: Port Pool 50 is free
Web Listener port is 8050
Complete port information available at /apps/DEV/devappl/admin/out/PROD_betestoracle/portpool.lst
Backing up /apps/DEV/devappl/admin/PROD_betestoracle.xml to /apps/DEV/devappl/admin/PROD_betestoracle.xml7.bak
Creating the new APPL_TOP Context file from :
/apps/DEV/devappl/ad/11.5.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/apps/DEV/devappl/admin/PROD_betestoracle.xml
Log file located at /tmp/CloneContext_05131045.log
Please enter the APPS password:
apps
Running Rapid Clone with command:
perl ./adclone.pl java=/apps/DEV/devcomn/util/jre/1.1.8 mode=apply stage=/apps/DEV/devcomn/clone component=appsTier method=CUSTOM appctxtg=/apps/DEV/devappl/admin/PROD_betestoracle.xml
ERROR: OUI files not found at their expected location. Please make sure that the pre-requisit OUI patch was applied correctly: patch should be unzipped directly at the ORACLE_HOME root level so that
<iAS ORACLE_HOME>/oui21/oui/lib/OraInstaller.jar exists.
Restart adclone.pl after performing required corrections.
Starting application Services for PROD:
Running:
/apps/DEV/devcomn/admin/scripts/PROD_betestoracle/adstrtal.sh APPS/<appspwd>
Regards,
DBERROR: OUI files not found at their expected location.Please see these docs.
Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1] -- adcfgclone.pl appsTier fails with "ERROR: OUI files not found at their expected location"
Preclone DBtier Fails: Error: Oui Files Not Found [ID 739589.1]
Troubleshooting Guide and Known Issues List for the Oracle Application Management Pack for Oracle E-Business Suite [ID 812294.1]
Application Management Pack for Oracle E-Business Suite Release 2.0.x Troubleshooting Guide [ID 412044.1]
Thanks,
Hussein -
Cloning from solaris 10 to solaris 10 RC-50013: Fatal failed to intantiate
while cloning from solaris 10 to solaris 10 RC-50013: Fatal failed to intantiate Driver /applprod/oracle/prddb/9.2.0/appsutil/driver/instconfig.drv
Application is 11.5.10.2
after running perl adcfgclone.pl dbTier getting error
bash-3.00$ tail -100 ApplyDBTier_02040759.log
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/3682068/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml5.b4apply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/368206
8/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/3682068/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/3682068/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml5.afte
rapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/369167
2/comps.xml.b4apply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/3691672/comps.xml.b4appl
y
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/3691672/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml6.b4apply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/369167
2/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/3691672/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/3691672/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml6.afte
rapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/416740
3/comps.xml.b4apply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4167403/comps.xml.b4appl
y
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4167403/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml7.b4apply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/416740
3/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4167403/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4167403/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml7.afte
rapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/425293
8/comps.xml.b4apply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4252938/comps.xml.b4appl
y
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4252938/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml8.b4apply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/425293
8/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4252938/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4252938/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml8.afte
rapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/438580
3/comps.xml.b4apply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4385803/comps.xml.b4appl
y
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4385803/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml9.b4apply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/438580
3/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/4385803/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/4385803/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml9.afte
rapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/270137
2/comps.xml.b4apply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/2701372/comps.xml.b4appl
y
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/2701372/comps.xml.b4appl
y to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml10.b4appl
y
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/.patch_storage/270137
2/comps.xml.afterapply
dest : /applprod/oracle/prddb/9.2.0/.patch_storage/2701372/comps.xml.aftera
pply
backup : /applprod/oracle/prddb/9.2.0/.patch_storage/2701372/comps.xml.aftera
pply to /applprod/oracle/prddb/9.2.0/appsutil/out/PRD_flex-sprod/comps.xml10.aft
erapply
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/root.sh.old
dest : /applprod/oracle/prddb/9.2.0/root.sh.old
backup : /applprod/oracle/prddb/9.2.0/root.sh.old to /applprod/oracle/prddb/9
.2.0/appsutil//out/PRD_flex-sprod/root.sh.old
setting ownership: applprod:dba
instantiate file:
source : /applprod/oracle/prddb/9.2.0/appsutil/template/root.sh.old.1
dest : /applprod/oracle/prddb/9.2.0/root.sh.old.1
backup : /applprod/oracle/prddb/9.2.0/root.sh.old.1 to /applprod/oracle/prddb
/9.2.0/appsutil//out/PRD_flex-sprod/root.sh.old.1
setting ownership: applprod:dba
[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: /applprod/oracle/prddb/9.2.0/lib
clntsh.map INSTE8
Directory: /applprod/oracle/prddb/9.2.0/lib32
clntsh.map INSTE8
AutoConfig is exiting with status 2
RC-50013: Fatal: Failed to instantiate driver /applprod/oracle/prddb/9.2.0/appsu
til/driver/instconf.drv
Raised by oracle.apps.ad.clone.ApplyDBTechStack
StackTrace:
java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver /applprod/ora
cle/prddb/9.2.0/appsutil/driver/instconf.drv
at oracle.apps.ad.clone.ApplyDBTechStack.checkInstallDrvErr(ApplyDBTechS
tack.java:717)
at oracle.apps.ad.clone.ApplyDBTechStack.runInstallConfigDriver(ApplyDBT
echStack.java:622)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:38
9)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:484) -
Instance creation on target system.
Hi,
Could anybody tell me when and who creates the DB instance on the target system during the cloning process ? Is this done automatically by adcfgclone.sh ?
Thanks,
PaulIts done when you issue this command 'perl adcfgclone.pl dbTier'. adcfgclone.pl will prompt for some values required to create the instace and the context file (like SID, domainname, $ORACLE_HOME, $DATA_TOP .. etc).
-
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 -
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 -
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 -
Error when running adcfgclone.pl on dbTier
Hi Guru's,
Am currently performing a cloning on EBS 11.5.10.2 running on RHEL AS 3.0 (Taroon Update 6).
I followed all the correct procedures on the source system,including running of adpreclone on both tiers and running autoconfig,and every step completed sucessfully.I then copied all the 5 folders to the target system.
I ensured all the pre-requisite checks are completed including applying Patch 3006854 on the target,after which i run adcfgclone.pl on dbTier.......
It went upto about 50% then errored out as follows.
Kindly assist me.Below is a portion of the log file that contains that errors.
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml
dest : /home/oracle/selfdb/9.2.0/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml
backup : /home/oracle/selfdb/9.2.0/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml to /home/oracle/selfdb/9.2.0/appsutil/out/self_self/context901.xml
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/inventory/Templates/rdbms/demo/aqxml.conf
dest : /home/oracle/selfdb/9.2.0/inventory/Templates/rdbms/demo/aqxml.conf
backup : /home/oracle/selfdb/9.2.0/inventory/Templates/rdbms/demo/aqxml.conf to /home/oracle/selfdb/9.2.0/appsutil/out/self_self/aqxml3.conf
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/odisrvreg
dest : /home/oracle/selfdb/9.2.0/bin/odisrvreg
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/odisrvreg /home/oracle/selfdb/9.20.0/appsutil/out/self_self/odisrvreg" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/odisrvreg to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/odisrvreg
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/schemasync
dest : /home/oracle/selfdb/9.2.0/bin/schemasync
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/schemasync /home/oracle/selfdb/9.20.0/appsutil/out/self_self/schemasync" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/schemasync to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/schemasync
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/emwebsite
dest : /home/oracle/selfdb/9.2.0/bin/emwebsite
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/emwebsite /home/oracle/selfdb/9.20.0/appsutil/out/self_self/emwebsite" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/emwebsite to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/emwebsite
setting ownership: root:rootThe last few lines of the log are as follows:-
ApplyDBTechStack Completed Successfully.
# Calling ApplyDatabase...
Executing runInstallDriver...
Started unzipping files...
UNZIP used: UnZip 5.50 of 17 February 2002, by Info-ZIP. Maintained by C. Spieler. Send
Verifying correctness of adcrdbclone.sql
Instantiating /home/oracle/selfdb/9.2.0/appsutil/template/adcrdbclone.sql to /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql
Clustered Database: false
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/adcrdbclone.sql
dest : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak
AC-00439: Creation of file /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak
dest : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql
AC-00444: Unable to write to file: java.io.FileNotFoundException: /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak (No such file or directory)
Raised by oracle.apps.ad.autoconfig.InstantiateFile
setting permissions: /tmp/adcrdbclone.sql a+r
AC-00425: Setting permissions failed for file: /tmp/adcrdbclone.sql
Raised by oracle.apps.ad.autoconfig.InstantiateFile
AC-50401: Command: su root -c "cp /tmp/adcrdbclone.sql /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
StackTrace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1591)
at oracle.apps.ad.util.SystemCheck.setPermissions(SystemCheck.java:1247)
at oracle.apps.ad.clone.ApplyDatabase.runInstallDriver(ApplyDatabase.java:810)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:406)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
Maybe you are looking for
-
Droplets don't work in OS X 10.6!!!
Honestly Adobe, this is inexcusable! Work it out with Apple and make my droplets work again. This is very problematic for my work flow. Oh, and they don't work even if I'm running PS CS4 in Rosetta. There is no way to make the individual droplet run
-
Opinions on Newly replaced display
I've been putting this off for the last possible minute. My 15inch PB, was shipped along with the standard issue of "white spotting". I'm overseas in Naples Italy. If you think the Mac community is small in the US, wait until you visit Europe. (My op
-
Hi guru i want "lo-cockpit" in bw-3.5 steps to extract data mm-module
hi guru, can any one help me in sending the "lo-cockpit" from bw-3.5 steps to exctract data from mm-module with navigation steps with scenarios so that it can help me Thanks n Regards srinivas
-
is there a way to add a profile to my lightroom for the Canon 24-86 3.5-4.5
-
Descriptor File Error when running application in EAR
Hello, I've deployed one of my Workshop-built EARs fine to WLS 8.1.1, but when I go to run a servlet from a web application inside of it, I get the following error: ####<Nov 14, 2003 2:34:06 PM EST> <Error> <WLW> <ORLEX1090> <demoServer> <ExecuteThre