Perl adcfgclone.pl dbTier error
Hi everyone. Newbie here. I'm running on an error during cloning R12 EBS production to development server and I'm doing it manually.
After running the command: perl adcfgclone.pl dbTier and filling in the prompt details, clone was not successfully completed. Please see below the logs
[root@tstocl bin]# perl adcfgclone.pl dbTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx6 00M -cp /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/java:/orclde v/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/orcldev/ts tred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.conte xt.CloneContext -e /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/.. /context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_14291.lst -stage / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_14291. err; echo $? > /tmp/adcfgclone_14291.res
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : TST3
Target System Base Directory : /orcldev/tstred/dbred
Target System utl_file_dir Directory List : usr/tmp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] :
RC-00002: Warning: Directory /orclprd/oraprd/dbsred/db/apps_st/data not found.
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] : /o rcldev/tstred/dbred/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1 .0] :
Do you want to preserve the Display [null] (y/n) ? : y
Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : n
Target System Port Pool [0-99] : 9
Checking the port pool 9
done: Port Pool 9 is free
Report file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp/por tpool.lst
Complete port information available at /orcldev/tstred/dbred/db/tech_st/11.1.0/a ppsutil/temp/portpool.lst
Backing up /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml to / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml1.bak
Creating the new Database Context file from :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
AC-10006: Exception - org.xml.sax.SAXParseException: file:/orcldev/tstred/dbred/ db/tech_st/11.1.0/appsutil/TST3_tstocl.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for f ile: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The new database context file has been created :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Check Clone Context logfile /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clo ne/bin/CloneContext_0719104652.log for details.
Running Rapid Clone with command:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
Running:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
APPS Password :
You must define the target database context to use
dbctxtg=<applications context file>
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone /bin/adclone.pl
Please check logfile.
Log file "CloneContext_0719104652.log" contains details below:
[root@tstocl bin]# more CloneContext_0719104652.log
Using admin directory: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin
#------Log File time stamp: 0719104652------------
# $Header: CloneContext.java 120.92.12010000.5 2008/11/10 09:40:09 ksita ship $
# Running on - tstocl
# Source Host - null
# Domain Name - reddragon.com
# Context Location - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml
# Context Type - null
# Context Template - null
# Clone Stage Area - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
# Pairs File - /tmp/adpairsfile_14291.lst
# Destination Context - null
# Validation - true
# Platform Migration - false
# no prompt - false
Variables extracted from pairsfile: /tmp/adpairsfile_14291.lst
****************************************************/n
s_dbuser = root
s_dbgroup = root
PROMPT :
Target System Hostname (virtual or normal) [tstocl]
ANSWER :
tstocl
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
TST3
PROMPT :
Target System Base Directory
ANSWER :
/orcldev/tstred/dbred
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orclprd/oraprd/dbsred/db/apps_st/data
Value /orclprd/oraprd/dbsred/db/apps_st/datais not valid value for s_dbhome1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orcldev/tstred/dbred/db/apps_st/data
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1.0]
ANSWER :
/orcldev/tstred/dbred/db/tech_st/11.1.0
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n) ?
ANSWER :
y
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 9
Checking Database Port on tstocl: Port Value = 1530
Database Port available: Port Value = 1530
Checking DB ONS Local Port on tstocl: Port Value = 6309
DB ONS Local Port available: Port Value = 6309
Checking DB ONS Remote Port on tstocl: Port Value = 6409
DB ONS Remote Port available: Port Value = 6409
setDestination s_contextfile to : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_14291.lst
Target XML File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Template File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_util_filedir = usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome3 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhost = tstocl
s_db_oh = /orcldev/tstred/dbred/db/tech_st/11.1.0
s_dbhome2 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome1 = /orcldev/tstred/dbred/db/apps_st/data
s_dbgroup = root
s_dbGlnam = TST3
s_dbdomain = reddragon.com
s_dbSid = TST3
s_dbuser = root
s_isForms = YES
s_database_type =
s_temp = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6309
s_hostname = tstocl
s_dbSidLower = tst3
s_cmanport = 1530
s_dbCluster = false
s_domainname = reddragon.com
s_isAdmin = YES
s_isConc = YES
s_contextfile = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
s_dbport = 1530
s_contextname = TST3_tstocl
s_db_ons_remoteport = 6409
s_clonestage = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
s_base = /orcldev/tstred/dbred
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
AC-50401: Command: su prddbs -c "cp /tmp/TST3_tstocl.xml /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
The values for these variables will be retained from the source context
The new context file has been created at:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The first suspicion I thought of was that I'm running out of disk space to clone another instance. But I've checked and there's still enough space, even in the /tmp directory. The second I thought of is does setting ownership and the os permissions have something to do with this?
Hope somebody can help me out with this asap.
Thank you.
error for dbTier cloning is solved. I didn't log in as the database user and didn't change permissions for the node files after copying. Cloning for db tier is completed.
I proceed with cloning the apps tier and I'm running into errors and cannot proceed. See log below:
[appls3@tstocl bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/aplred/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /orcldev/tstred/aplred/apps_st/comn/clone/jlib/java:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/xmlparserv2.jar:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /orcldev/tstred/aplred/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_20757.lst -stage /orcldev/tstred/aplred/apps_st/comn/clone 2> /tmp/adcfgclone_20757.err; echo $? > /tmp/adcfgclone_20757.res
Log file located at /orcldev/tstred/aplred/apps_st/comn/clone/bin/CloneContext_0719152502.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target System Database SID : TST3
Target System Database Server Node [tstocl] :
Target System Base Directory : orcldev/tstred/aplred
Target System Tools ORACLE_HOME Directory [orcldev/tstred/aplred/apps/tech_st/10.1.2] :
RC-00213: Warning: The path specified must be the absolute path
Please advise. Thanks
Similar Messages
-
I am cloning r12 10.2.0.4 database and running perl adcfgclone.pl dbTier
bash-3.00$ perl adcfgclone.pl dbTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.12
Enter the APPS password :
Running:
/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_631.lst -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_631.err; echo $? > /tmp/adcfgclone_631.res
Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [ksctest] : ksctest
Target Instance is RAC (y/n) [n] : n
Target System Database SID : atest
Target System Base Directory : /u01/oracle
Oracle OS User [oracle] : oracle
Target System utl_file_dir Directory List : /usr/tmp
Number of DATA_TOP's on the Target System [2] : 1
Target System DATA_TOP Directory 1 : /u01/oracle/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [u01/oracle/db/tech_st/10.2.0] : /u01/oracle/db/tech_st/10.2.0
Do you want to preserve the Display [null] (y/n) ? : n
Target System Display [ksctest:0.0] : ksctest:1.0
Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 50
Checking the port pool 50
done: Port Pool 50 is free
Report file located at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
Complete port information available at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
Backing up /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml to /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml1.bak
Creating the new Database Context file from :
/u01/oracle/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml
Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
Check Clone Context logfile /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log for details.
Running Rapid Clone with command:
perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
Running:
perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
APPS Password :
Beginning database tier Apply - Sun Apr 7 14:35:15 2013
/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/db/tech_st/10.2.0/oui -classpath /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress
APPS Password : Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/log/atest_ksctest/ApplyDBTier_04071435.log
/ 4% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply...
Sun Apr 7 14:36:15 2013
ERROR: Failed to execute /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
Please check logfile.
=========================================================
Skipping Profile Phase
Skipping Apply Phase
[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/db/tech_st/10.2.0/appsutil/install/atest_ksctest
adcrdb.sh INSTE8
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDBTechStack
i am getting this error in logfileuser3714906 wrote:
please updatePlease see my previous reply -- Please search the log file for adcrdb.sh and you should find more details about the error
Thanks,
Hussein -
Oracle EBS 11i - Cloning failing while running 'perl adcfgclone.pl dbTier
Hi DBAs/Experts
I am trying to clone the Oracle 11i (11.5.10.2 with RUP6) all single node on RHEL 4.6. I was following the metalink note 230672.1.
I ran adpreclone scripts successfully on the dbTier and appsTier. Shutdown the Apps & DB. Moved over the file system (whole /u01) which include all the homes ,tops and datafiles from source to target.
While running 'perl adcfgclone.pl dbTier' , I am getting following errors. I didn't check any pre-requisite patches for Rapid Clone as the EBS was already up-todate with RUP6. (How can I verify if the system is on RUP6 in case I have to double check it).
------------------ Error Message -------
adlnkoh.sh started at Thu Feb 26 21:55:55 EST 2009
logfile located in /u01/app/oracle/visdb/9.2.0/install/make.log
Error while running adlnkoh.sh. Please check logfile
.end std out.
/u01/app/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 198: /u01/app/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
.end err out.
StackTrace:
/u01/app/oracle/visdb/9.2.0/install/make.log
mv -f /u01/app/oracle/visdb/9.2.0/bin/oracleO /u01/app/oracle/visdb/9.2.0/bin/oracle
make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
Completed...
/u01/app/oracle/visdb/9.2.0/bin/oracle did not relink properly.
Please review relink errors in this log file
Please help me with your expert advises to resolve the issue.
Thanks
-Samar
Edited by: user4314207 on Mar 4, 2009 8:09 PM
Edited by: user4314207 on Mar 5, 2009 9:18 AMrunning genclntsh...
basename: too few arguments
Try `basename --help' for more information.
cp: missing file argument
Try `cp --help' for more information.
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
Created /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
Starting: "make -if /u01/app/oracle/visdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
chmod 755 /u01/app/oracle/visdb/9.2.0/bin
rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
- Linking Oracle
rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle
gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ -Wl,-E `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o` /u01/app/oracle/visdb/9.2.0/rdbms/lib/opimai.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ssoraed.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ttcsoi.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -!
lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lun!
ls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` !
-Wl,-rpa
th,/u01/app/oracle/visdb/9.2.0/lib:/lib/i686:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
make: [ioracle] Error 1 (ignored)
Linking Migration utility (mig)
rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig
gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kumain.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/skumcf.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o -ldbtools9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -l!
nzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxm!
l9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib!
/ldflags
` -lpls9 -lplp9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/mig] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/bin/mig /u01/app/oracle/visdb/9.2.0/bin/migO
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
make: [imig] Error 1 (ignored)
mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig /u01/app/oracle/visdb/9.2.0/bin/mig
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/mig': No such file or directory
make: [imig] Error 1 (ignored)
chmod 751 /u01/app/oracle/visdb/9.2.0/bin/mig
chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
make: [imig] Error 1 (ignored)
- Linking DB*Verify utility (dbv)
rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv
gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kudbv.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -ldbtools9 -lsnls9 -lunls9 -lnls9 -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -l!
generic9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/bin/dbv /u01/app/oracle/visdb/9.2.0/bin/dbvO
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
make: [idbv] Error 1 (ignored)
mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv /u01/app/oracle/visdb/9.2.0/bin/dbv
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv': No such file or directory
make: [idbv] Error 1 (ignored)
chmod 751 /u01/app/oracle/visdb/9.2.0/bin/dbv
chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
make: [idbv] Error 1 (ignored)
Starting: "make -if /u01/app/oracle/visdb/9.2.0/precomp/lib/ins_precomp.mk links"
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLDA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.COB)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.COB)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f BNDDSC.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SELDSC.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.h SQLCA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.h ORACA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlda.h SQLDA.H)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.cob SQLCA.COB)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
(cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
Completed...
Starting: "make -if /u01/app/oracle/visdb/9.2.0/sqlplus/lib/ins_sqlplus.mk install"
rm -f sqlplus
/bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demobld
/bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demodrop
/bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/helpins
/bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/pupbld
Linking sqlplus
rm -f sqlplus
gcc -o sqlplus -L/u01/app/oracle/visdb/9.2.0/sqlplus/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/vi!
sdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm -lpthread `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm -lpthread
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: [sqlplus] Error 1 (ignored)
/bin/chmod 755 sqlplus
/bin/chmod: cannot access `sqlplus': No such file or directory
make: [sqlplus] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/bin/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplusO
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
make: [newsqlplus] Error 1 (ignored)
mv -f /u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplus
mv: cannot stat `/u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus': No such file or directory
make: [newsqlplus] Error 1 (ignored)
/bin/chmod 751 /u01/app/oracle/visdb/9.2.0/bin/sqlplus
/bin/chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
make: [newsqlplus] Error 1 (ignored)
Completed... -
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 -
Perl adcfgclone.pl dbTier fails on control file creation
Hi Guys,
Platform is : Linux 5
DB: 11.1.0.7
R12.1.1
I have a temp file that had been removed at the OS level.. on the source And I want to updated the control file regarding this so that it does not record this file any more.
I am using rapid clone (EBS) to cone this source database unto the target but is failing on the target control file creation as it's trying to find the temp file that had been removed at the source. OS level.
So I will like to update the control file on the source so that it does not reflect this dropped temp file any longer and then do the clone again.
So What's the best way to achieve this or please point me to a metalink note:
Also below are the rrors from the rapid clone
/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u04/oracle/ASCPT/db/tech_st/11.1.0/oui -classpath /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc6.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/share.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/srvm.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/DEV2_irvstjunx084.xml -stage /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone -showProgress
APPS Password : Log file located at /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/log/DEV2_irvstjunx084/ApplyDBTier_05140928.log
/ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
I had tried modifying the the file adcrdbclone.sql in which is caled by <RDBMS $ORACLE_HOME>/appsutil/template/addbtmpl.drv by removing the temp file that does not exist .
and then ran perl adcfgclone.pl dbTier again but still failed on the control file creation.
Please advise
Thanks in advanceHi Helios ,
Thanks for getting back to me.
I found that the issed was that there is a datafile that was dropped at the source at the OS level ... ( A mistake by one of support staff).
So How can I modify the control file creation at the target not to reference the data file that does not exist. I have tried removing it as stated in my previore post but it stall fails at the control file creation
Please adivise -
Problems with Rapid Clone - perl adcfgclone.pl dbTier
Please help me out in this ..................
instantiate file:
source : /data/proddb/9.2.0/appsutil/template/adcctclean.sql
dest : /data/proddb/9.2.0/appsutil/install/TEST_testebiz/adcctclean.sql
backup : /data/proddb/9.2.0/appsutil/install/TEST_testebiz/adcctclean.sql to /data/proddb/9.2.0/appsutil/out/TEST_testebiz/11071008/adcctclean.sql
setting permissions: 600
setting ownership: :
AutoConfig Setup Phase
Running Setup Process 1 of 2 for AppsUtil
Executing script in InstantiateFile:
/data/proddb/9.2.0/Apache/perl/bin/perl -I /data/proddb/9.2.0/Apache/perl/lib/5.00503:/data/proddb/9.2.0/Apache/perl/lib/site_perl/5.005:/data/proddb/9.2.0/appsutil/perl /data/proddb/9.2.0/appsutil/scripts/TEST_testebiz/adchknls.pl
script returned:
Validating information needed for NLS........
DATABASE version : db920
No NLS specific checks required
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 2 for AppsUtil
Executing script in InstantiateFile:
/data/proddb/9.2.0/appsutil/install/TEST_testebiz/afmkinit.sh
script returned:
afmkinit.sh started at Sat Nov 7 10:08:21 IST 2009
The environment settings are as follows ...
ORACLE_HOME : /data/proddb/9.2.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/data/proddb/9.2.0/appsutil/clone/bin/../jre/bin:/data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oratest/bin
LD_LIBRARY_PATH : /data/proddb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/data/proddb/9.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Executing StartDbLsnr...
You are running addlnctl.sh version 115.6
Logfile: /data/proddb/9.2.0/appsutil/log/TEST_testebiz/addlnctl.txt
Starting listener process TEST ...
Listener TEST has already been started.
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testebiz
sDbDomain : isl.com
sDbPort : 1521
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testebiz.isl.com:1521: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=testebiz.isl.com)(PORT=1521))(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=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.isl.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---------------
adcrdb.sh started at Sat Nov 7 10:08:21 IST 2009
The environment settings are as follows ...
ORACLE_HOME : /data/proddb/9.2.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/data/proddb/9.2.0/appsutil/clone/bin/../jre/bin:/data/proddb/9.2.0/Apache/perl/bin:/data/proddb/9.2.0/bin:/usr/bin:/usr/sbin:/data/proddb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oratest/bin
LD_LIBRARY_PATH : /data/proddb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/data/proddb/9.2.0/ctx/lib
Executable : /data/proddb/9.2.0/bin/sqlplus
The log information will be written to
/data/proddb/9.2.0/appsutil/log/TEST_testebiz/adcrdb_TEST.txt
Creating the control file for TEST_testebiz database ...
SQL*Plus: Release 9.2.0.6.0 - Production on Sat Nov 7 10:08:21 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ORA-01012: not logged on
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
exit_code=0
Checking for errors ...
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01012: not logged on
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 9.2.0.6.0 - Production on Sat Nov 7 10:08:21 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testebiz
sDbDomain : isl.com
sDbPort : 1521
sDbSid : TEST
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testebiz.isl.com:1521: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=testebiz.isl.com)(PORT=1521))(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=testebiz.isl.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=TEST.isl.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-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:474)
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)Pl post EBS related questions in the EBS Forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
Pl identify your OS and EBS versions, along with the steps you are trying to run which produce this error.
HTH
Srini -
Perl adcfgclone.pl dbTier fails RC-50014: Fatal: Execution of AutoConfig
in past we have been successfully doing Rapid clonning of R12.
but now i am doing Rapid clonning and i am facing the error :
15% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
RC-50014: Fatal: Execution of AutoConfig was failed
ERROR while running Apply...
Mon Dec 19 08:37:26 2011
ERROR: Failed to execute /opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl
Please check logfile.
i run preclone script on PRODUCTION Server and took a cold backup and copied that backup to TEST server.
Log file errors :
ADX Database Utility
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.fgho.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
-------------------ADX Database Utility Finished---------------
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
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=testing.fgho.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.fgho.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
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Dec 21 09:54:44 PKT 2011
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
TWO_TASK :
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
LD_LIBRARY_PATH : /opt/oracle/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/opt/oracle/db/tech_st/11.1.0/lib:/usr/dt/lib:/opt/oracle/db/tech_st/11.1.0/ctx/lib
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/opt/oracle/db/tech_st/11.1.0/appsutil/log/PROD_testing/adcrdb_PROD.txt
Creating the control file for PROD_testing database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:54:44 2011
Copyright (c) 1982, 2008, 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 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Database altered.
Database closed.
Database dismounted.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
Database mounted.
PL/SQL procedure successfully completed.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2166536 bytes
Variable Size 427819256 bytes
Database Buffers 624951296 bytes
Redo Buffers 14000128 bytes
Control file created.
Database altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Tablespace altered.
Database altered.
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Connection obtained
-------------------ADX Database Utility Finished---------------
Starting Database profiles update: running addbprf.sh
addbprf.sh started at Wed Dec 21 09:57:02 PKT 2011
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
TWO_TASK :
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
LD_LIBRARY_PATH : /opt/oracle/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/opt/oracle/db/tech_st/11.1.0/lib:/usr/dt/lib:/opt/oracle/db/tech_st/11.1.0/ctx/lib
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
Enter the APPS username:
Enter the APPS password:
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:03 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:07 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
addbprf.sh exiting with status 0
.end std out.
stty: standard input: Invalid argument
stty: standard input: Invalid argument
.end err out.
Cleaning up the Data Model
===============================================================================
NetServiceHandler 120.19 started for testing at Wed Dec 21 09:57:08 PKT 2011
===============================================================================
[ Context Information ]
Host : testing
Domain : fgho.com
Out Dir : null
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 : testing
sDbDomain : fgho.com
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@testing.fgho.com:1521:PROD
Connection obtained
-------------------ADX Database Utility Finished---------------
Connection obtained
Removing System PROD
System succesfully removed
Data Model cleaned
Closing connection
Connection Closed
Updating FND_SQLNET_ACCESS
You are running txkcreateACL.sh version 120.1
The environment settings are as follows ...
ORACLE_HOME : /opt/oracle/db/tech_st/11.1.0
ORACLE_SID : PROD
PATH : /opt/oracle/db/tech_st/11.1.0/perl/bin:/opt/oracle/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/opt/oracle/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/opt/oracle/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
Executable : /opt/oracle/db/tech_st/11.1.0/bin/sqlplus
Executing txkcreateACL.sql ...
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 21 09:57:46 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
ERROR:
ORA-03114: not connected to ORACLE
ERROR:
ORA-03114: not connected to ORACLE
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
txkcreateACL.sh: exiting with status 1
.end std out.
.end err out.
[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>
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /opt/oracle/db/tech_st/11.1.0/appsutil/install/PROD_testing
txkcreateACL.sh INSTE8_APPLY 1
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabasealert log contents :
Wed Dec 21 09:54:47 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:54:48 2011
PMON started with pid=2, OS id=13123
Wed Dec 21 09:54:48 2011
VKTM started with pid=3, OS id=13125
VKTM running at (100ms) precision
Wed Dec 21 09:54:48 2011
DIAG started with pid=4, OS id=13129
Wed Dec 21 09:54:48 2011
DBRM started with pid=5, OS id=13131
Wed Dec 21 09:54:48 2011
PSP0 started with pid=6, OS id=13133
Wed Dec 21 09:54:48 2011
DIA0 started with pid=7, OS id=13135
Wed Dec 21 09:54:48 2011
MMAN started with pid=8, OS id=13137
Wed Dec 21 09:54:48 2011
DBW0 started with pid=9, OS id=13139
Wed Dec 21 09:54:48 2011
DBW1 started with pid=10, OS id=13141
Wed Dec 21 09:54:48 2011
LGWR started with pid=11, OS id=13143
Wed Dec 21 09:54:48 2011
CKPT started with pid=12, OS id=13145
Wed Dec 21 09:54:48 2011
SMON started with pid=13, OS id=13147
Wed Dec 21 09:54:48 2011
RECO started with pid=14, OS id=13149
Wed Dec 21 09:54:48 2011
MMON started with pid=15, OS id=13151
Wed Dec 21 09:54:48 2011
MMNL started with pid=16, OS id=13153
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:54:48 2011
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf', ( to reduce charachters here i removed data file names and path )
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 182332776
Completed: CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
alter database open resetlogs
RESETLOGS after incomplete recovery UNTIL CHANGE 5966705058903
Wed Dec 21 09:55:37 2011
Setting recovery target incarnation to 2
Wed Dec 21 09:55:37 2011
Assigning activation ID 182332776 (0xade2d68)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /opt/oracle/db/apps_st/data/log01a.dbf
Current log# 1 seq# 1 mem# 1: /opt/oracle/db/apps_st/data/log01b.dbf
Successful open of redo thread 1
Wed Dec 21 09:55:37 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Dec 21 09:55:37 2011
SMON: enabling cache recovery
Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.3.0]
Successfully onlined Undo Tablespace 368.
Dictionary check beginning
Tablespace 'TEMP1' #284 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Tablespace 'TEMP2' #394 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Dictionary check complete
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
WARNING: The following temporary tablespaces contain no files.
This condition can occur when a backup controlfile has
been restored. It may be necessary to add files to these
tablespaces. That can be done using the SQL statement:
ALTER TABLESPACE <tablespace_name> ADD TEMPFILE
Alternatively, if these temporary tablespaces are no longer
needed, then they can be dropped.
Empty temporary tablespace: TEMP1
Empty temporary tablespace: TEMP2
Database Characterset is US7ASCII
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Dec 21 09:55:43 2011
FBDA started with pid=18, OS id=13206
replication_dependency_tracking turned off (no async multimaster replication found)
Wed Dec 21 09:55:49 2011
Starting background process QMNC
Wed Dec 21 09:55:49 2011
QMNC started with pid=19, OS id=13215
LOGSTDBY: Validating controlfile with logical metadata
LOGSTDBY: Validation complete
Wed Dec 21 09:55:59 2011
Global Name changed to PROD
Completed: alter database open resetlogs
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Completed: ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Stopping background process FBDA
Shutting down instance: further logons disabled
Stopping background process QMNC
Stopping background process MMNL
Wed Dec 21 09:56:10 2011
Stopping background process MMON
Wed Dec 21 09:56:22 2011
Shutting down instance (immediate)
License high water mark = 1
ALTER DATABASE CLOSE NORMAL
Wed Dec 21 09:56:23 2011
SMON: disabling tx recovery
SMON: disabling cache recovery
Wed Dec 21 09:56:23 2011
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 1
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Wed Dec 21 09:56:24 2011
Stopping background process VKTM:
Wed Dec 21 09:56:26 2011
Instance shutdown complete
Wed Dec 21 09:56:27 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:56:27 2011
PMON started with pid=2, OS id=13257
Wed Dec 21 09:56:27 2011
VKTM started with pid=3, OS id=13259
VKTM running at (100ms) precision
Wed Dec 21 09:56:27 2011
DIAG started with pid=4, OS id=13263
Wed Dec 21 09:56:27 2011
DBRM started with pid=5, OS id=13265
Wed Dec 21 09:56:27 2011
PSP0 started with pid=6, OS id=13267
Wed Dec 21 09:56:27 2011
DIA0 started with pid=7, OS id=13269
Wed Dec 21 09:56:27 2011
MMAN started with pid=8, OS id=13271
Wed Dec 21 09:56:27 2011
DBW0 started with pid=9, OS id=13273
Wed Dec 21 09:56:27 2011
DBW1 started with pid=10, OS id=13275
Wed Dec 21 09:56:27 2011
LGWR started with pid=11, OS id=13277
Wed Dec 21 09:56:27 2011
CKPT started with pid=12, OS id=13279
Wed Dec 21 09:56:27 2011
SMON started with pid=13, OS id=13281
Wed Dec 21 09:56:27 2011
RECO started with pid=14, OS id=13283
Wed Dec 21 09:56:27 2011
MMON started with pid=15, OS id=13285
Wed Dec 21 09:56:27 2011
MMNL started with pid=16, OS id=13287
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:56:27 2011
ALTER DATABASE MOUNT
Changing di2dbun from to PROD
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 182307531
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Dec 21 09:56:31 2011
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 13293): terminating the instance
Instance terminated by USER, pid = 13293
Wed Dec 21 09:56:32 2011
Instance shutdown complete
Wed Dec 21 09:56:33 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/oracle/db/tech_st/11.1.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =44
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in client-side pfile /opt/oracle/db/tech_st/11.1.0/dbs/initPROD.ora on machine testing.fgho.com
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
shared_pool_size = 400M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
sga_target = 1G
control_files = "/opt/oracle/db/apps_st/data/cntrl01.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl02.dbf"
control_files = "/opt/oracle/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.1.0"
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
sec_case_sensitive_logon = FALSE
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/opt/oracle/db/tech_st/11.1.0/appsutil/outbound/PROD_testing"
utl_file_dir = "/usr/tmp"
plsql_native_library_dir = "/opt/oracle/db/tech_st/11.1.0/plsql/nativelib"
plsql_native_library_subdir_count= 149
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
db_name = "PROD"
open_cursors = 600
ifile = "/opt/oracle/db/tech_st/11.1.0/dbs/PROD_testing_ifile.ora"
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
query_rewrite_enabled = "true"
indexjoin_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizerautostats_job = FALSE
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/opt/oracle/db/tech_st/11.1.0/admin/PROD_testing"
tracefiles_public = TRUE
max_dump_file_size = "20480"
Wed Dec 21 09:56:33 2011
PMON started with pid=2, OS id=13297
Wed Dec 21 09:56:33 2011
VKTM started with pid=3, OS id=13299
VKTM running at (100ms) precision
Wed Dec 21 09:56:33 2011
DIAG started with pid=4, OS id=13303
Wed Dec 21 09:56:33 2011
DBRM started with pid=5, OS id=13305
Wed Dec 21 09:56:33 2011
PSP0 started with pid=6, OS id=13307
Wed Dec 21 09:56:33 2011
DIA0 started with pid=7, OS id=13309
Wed Dec 21 09:56:33 2011
MMAN started with pid=8, OS id=13311
Wed Dec 21 09:56:33 2011
DBW0 started with pid=9, OS id=13313
Wed Dec 21 09:56:33 2011
DBW1 started with pid=10, OS id=13315
Wed Dec 21 09:56:33 2011
LGWR started with pid=11, OS id=13317
Wed Dec 21 09:56:33 2011
CKPT started with pid=12, OS id=13319
Wed Dec 21 09:56:33 2011
SMON started with pid=13, OS id=13321
Wed Dec 21 09:56:33 2011
RECO started with pid=14, OS id=13323
Wed Dec 21 09:56:33 2011
MMON started with pid=15, OS id=13325
Wed Dec 21 09:56:33 2011
MMNL started with pid=16, OS id=13327
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Wed Dec 21 09:56:33 2011
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Successful mount of redo thread 1, with mount id 182334161
Completed: CREATE CONTROLFILE REUSE SET DATABASE "PROD"
LOGFILE
GROUP 1 ('/opt/oracle/db/apps_st/data/log01a.dbf', '/opt/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
GROUP 2 ('/opt/oracle/db/apps_st/data/log02a.dbf', '/opt/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
DATAFILE
'/opt/oracle/db/apps_st/data/system12.dbf',
'/opt/oracle/db/apps_st/data/a_ref02.dbf'
RESETLOGS MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGFILES 32
MAXLOGHISTORY 14607
MAXLOGMEMBERS 5
alter database open resetlogs
RESETLOGS after incomplete recovery UNTIL CHANGE 5966705066893
Wed Dec 21 09:56:57 2011
Setting recovery target incarnation to 2
Wed Dec 21 09:56:58 2011
Checker run found 42 new persistent data failures
Wed Dec 21 09:56:58 2011
Assigning activation ID 182334161 (0xade32d1)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /opt/oracle/db/apps_st/data/log01a.dbf
Current log# 1 seq# 1 mem# 1: /opt/oracle/db/apps_st/data/log01b.dbf
Successful open of redo thread 1
Wed Dec 21 09:56:58 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Dec 21 09:56:58 2011
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 368.
Dictionary check beginning
Tablespace 'TEMP1' #284 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Tablespace 'TEMP2' #394 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Dictionary check complete
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
WARNING: The following temporary tablespaces contain no files.
This condition can occur when a backup controlfile has
been restored. It may be necessary to add files to these
tablespaces. That can be done using the SQL statement:
ALTER TABLESPACE <tablespace_name> ADD TEMPFILE
Alternatively, if these temporary tablespaces are no longer
needed, then they can be dropped.
Empty temporary tablespace: TEMP1
Empty temporary tablespace: TEMP2
Database Characterset is US7ASCII
Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.2b.0]
Opening with internal Resource Manager plan
Starting background process FBDA
Wed Dec 21 09:56:58 2011
FBDA started with pid=18, OS id=13347
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Wed Dec 21 09:56:58 2011
QMNC started with pid=19, OS id=13351
LOGSTDBY: Validating controlfile with logical metadata
LOGSTDBY: Validation complete
Global Name changed to PROD
Completed: alter database open resetlogs
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02.dbf' REUSE
alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
Completed: alter tablespace TEMP1 add tempfile '/opt/oracle/db/apps_st/data/temp01A.dbf' REUSE
alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
Completed: alter tablespace TEMP2 add tempfile '/opt/oracle/db/apps_st/data/temp02A.dbf' REUSE
ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Completed: ALTER DATABASE RENAME GLOBAL_NAME TO "PROD.fgho.com"
Wed Dec 21 09:57:03 2011
Starting background process CJQ0
Wed Dec 21 09:57:03 2011
CJQ0 started with pid=20, OS id=13385
Wed Dec 21 09:57:49 2011
Errors in file /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/trace/PROD_ora_14065.trc:
ORA-00604: error occurred at recursive SQL level
ORA-01422: exact fetch returns more than requested number of rows
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0xC] [PC:0x979FFE, qmtRemoveRef()+114]
Errors in file /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/trace/PROD_ora_14065.trc (incident=3337):
ORA-07445: exception encountered: core dump [qmtRemoveRef()+114] [SIGSEGV] [ADDR:0xC] [PC:0x979FFE] [Address not mapped to object] []
Incident details in: /opt/oracle/db/tech_st/11.1.0/admin/PROD_testing/diag/rdbms/prod/PROD/incident/incdir_3337/PROD_ora_14065_i3337.trc
to reduce charachters i removed data file names and path at some places in this alert log file -
Adcfgclone.pl dbTier error with RC-50004: Error occurred in CloneContext: null
PROMPT :
Target System Hostname (virtual or normal) [migrate]
ANSWER :
migrate
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
EBS12
PROMPT :
Target System Base Directory
ANSWER :
/u01/R12/ora11
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
/usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [/u01/11i/ora11/ebs11data]
ANSWER :
/u01/R12/ora11/db/ebs11data
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [/u01/R12/ora11/db/tech_st/11.1.0]
ANSWER :
/u01/R12/ora11/db/tech_st/11.1.0
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n)
ANSWER :
n
PROMPT :
Target System Display [migrate:0.0]
ANSWER :
migrate:0.0
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 1
Checking Database Port on migrate: Port Value = 1522
Database Port available: Port Value = 1522
Checking DB ONS Local Port on migrate: Port Value = 6301
DB ONS Local Port available: Port Value = 6301
Checking DB ONS Remote Port on migrate: Port Value = 6401
DB ONS Remote Port available: Port Value = 6401
INFO: Unable to obtan DB Version!!!
INFO: Because DB Version could not be obtained, defaulting s_jdktop and s_jretop to adxdbctx.tmp defined values
setDestination s_contextfile to : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_31321.lst
Target XML File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Template File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_listener = EBS12
s_db_util_filedir = /usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /u01/R12/ora11/db/ebs11data
s_dbhome3 = /u01/R12/ora11/db/ebs11data
s_dbhost = migrate
s_db_oh = /u01/R12/ora11/db/tech_st/11.1.0
s_dbhome2 = /u01/R12/ora11/db/ebs11data
s_dbhome1 = /u01/R12/ora11/db/ebs11data
s_dbgroup = dba
s_dbGlnam = EBS12
s_dbdomain = evosys.co.in
s_dbSid = EBS12
s_dbuser = ora11
s_isForms = YES
s_database_type =
s_temp = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6301
s_hostname = migrate
s_dbSidLower = ebs12
s_cmanport = 1522
s_dbCluster = false
s_domainname = evosys.co.in
s_isAdmin = YES
s_isConc = YES
s_contextfile = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
s_dbport = 1522
s_display = migrate:0.0
s_contextname = EBS12_migrate
s_db_ons_remoteport = 6401
s_clonestage = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone
s_base = /u01/R12/ora11
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
PROMPT :
Source and Target platforms differ. Rapid Clone will perform a platform migration.
Do you wish to continue? [y]
ANSWER :
y
The values for these variables will be retained from the source context
s_admin_restrictions = OFF
s_metalink_id =
s_parallel_max_servers = 8
s_systemcsi = N/A
s_apps_version = 12.1.1
s_contextserial = 0
s_instThread = 0
s_sqlnet_expire_time = 10
s_contexttype = Database Context
s_db_sga_target = 1G
s_dbsharedpool_size = 300000000
s_db_shared_pool_size = 400M
s_clusterServicePort = 9998
s_dbcache_size = 163577856
s_rapidwizloc = /tmp/RapidInstall
s_db_pga_aggregate_target = 1G
s_dbtype = VISION
s_proxyhost =
s_nthreads = 5
s_db_processes = 200
s_enable_listener_password = OFF
s_alt_service_instances =
s_dbClusterInst = 1
s_installedFrom = FS
s_undo_tablespace = APPS_UNDOTS1
s_adjreopts = -Xms128M -Xmx512M
s_dbQuorumDisk =
s_db_linkctrl =
s_dbcomp = oracle.apps.dbseed.fresh
s_db_sessions = 400
s_installloc = /tmp
s_isDB = YES
s_proxyport =
s_database = db111
s_dbseed = No Database
s_apps_user = APPS
s_dbfiles = 512
s_db_shared_pool_reserved_size = 40M
s_bits = 32
s_dbblock_buffers = 20000
s_sys_user = SYS
s_dlsnstatus = enabled
s_db_plsql_native_library_subdir_count = 149
s_country_code =
s_subscribe_for_node_down_event = OFF
s_instNumber = 0
The new context file has been created at:
/u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Performing file system cleanup specific to Platform Migration:
StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:718)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
am trying to clone R12.1.1 with 11.1.0.7 from Linux5.5-32.bit to Linux5.8-64bit.
migrating is fails.
So please help me out of this.
Thanks in AdvanceHi,
DB cloning will not suffice the migrating process. In order to perform a cloning from 32 bit to 64 bit, please follow the instructions in the below note:
Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit (Doc ID 471566.1)
Thanks &
Best Regards, -
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 -
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 applyin adcfgclone on dbtier RC-50004: FATAL ERROR RC-50014
I have performed the following steps several times and only two times it was successful..rest of the time,it gave me the following error
Does anyone know how to resolve this or whats the problem behind this
Below are the steps i perform followed by the log file contents too..
Thanks
[oracle@t2 ~]$ cd /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin
[oracle@t2 bin]$ ls
adcfgclone.pl adchkutl.sh adclonectx.pl adclone.pl
[oracle@t2 bin]$ ./adcfgclone.pl dbTier
Using Java from /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre
Enter the APPS user password:
JDBCCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
XMLPCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
LOCAL_CPATH = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
oracle
= oracle
dba
= dba
Running:
/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile.lst -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone.err; echo $? > /tmp/adcfgclone.resEnter the APPS password : apps
Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
Provide the values required for creation of the new Database Context file.
Target hostname (virtual or normal) [t2]:
Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
Target System database name:test2
Target system base directory for source homes:/d01/oracle/test2
Target system utl_file accessible directories list:/usr/tmp
Number of DATA_TOP's on the target system [4]:1
Target system DATA_TOP 1:/d01/oracle/test2/db/apps_st/data
Target system RDBMS ORACLE_HOME directory:/d01/oracle/test2/db/tech_st/10.2.0
Do you want to preserve the Display set to 130.35.33.102:111.0 (y/n) [y] ?:
Do you want the the target system to have the same port values as the source system (y/n) [y] ?:
Complete port information available at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/out/test2_t2/portpool.lst
Backing up /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml.bak
Creating the new Database Context file from :
/d01/oracle/test2/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml
Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
Check logfile /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log for details.
Running Rapid Clone with command:
perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
Running:
perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
XMLPARSER: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
JDBC: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar
OUI CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java
Setting LD_LIBRARY_PATH to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/oui/lib/linux
Beginning database tier Apply - Thu Jun 5 17:33:42 2008
/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/d01/oracle/test2/db/tech_st/10.2.0/oui -classpath /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone -showProgress
APPS Password : Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/log/test2_t2/ApplyDBTier_06051733.log
\ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
RC-50014: Fatal: Execution of AutoConfig was failed
ERROR while running Apply...
Thu Jun 5 17:38:53 2008
ERROR: Failed to execute /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
Please check logfile.
[oracle@t2 bin]$
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1077936128 bytes
Fixed Size 2076584 bytes
Variable Size 427819096 bytes
Database Buffers 633339904 bytes
Redo Buffers 14700544 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
ERROR at line 1:
ORA-01109: database not open
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1077936128 bytes
Fixed Size 2076584 bytes
Variable Size 427819096 bytes
Database Buffers 633339904 bytes
Redo Buffers 14700544 bytes
Database mounted.
PL/SQL procedure successfully completed.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1077936128 bytes
Fixed Size 2076584 bytes
Variable Size 427819096 bytes
Database Buffers 633339904 bytes
Redo Buffers 14700544 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
ERROR at line 1:
ORA-01109: database not openbut what wil be the remaining steps of clone then..?If you have not done any changes recently on your source nodes (add a tablespace/database, applied patches, add new forms/reports, ..etc), then do the following:
- Make sure you shutdown the source instance properly before copying the file to the target node.
- Configure the target system database server (run the following as oracle user):
$ cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
$ perl adcfgclone.pl dbTier - Configure the target system application server (run the following as applmgr user):
$ cd <COMMON_TOP>/clone/bin
$ perl adcfgclone.pl appsTierNote: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1 -
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 -
Clone dbtier error-- ERROR : Unable to set CLASSPATH
i am setting a new clone of PROD server.i restored the backup from prod and now i ran
perl adpreclone.pl dbTier
Here is the error message-->
perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
xxxx
ERROR : Unable to set CLASSPATH
/u02/lifedb/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:
Error: can't find libjava.so.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_1376.err file for errors
The err file does not have anything.
I added /u02/lifedb/9.2.0/jdbc/lib to path and classpath. classpath is empty. I made cc,ar,ld,make,perl come in the path as well.
Now how do i resolve the above err?
ThanksIf you want to migrate from Solaris to Linux, refer to:
For the application tier:
Note: 238276.1 - Migrating to Linux with Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=238276.1
For the database tier:
Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1
Note: 331221.1 - 10g Export/Import Process for Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=331221.1
Note: 230627.1 - Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle9i Enterprise Edition
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230627.1 -
Adcfgclone.pl appsTier error.
hi all,
i am getting followin error while doin clone.
perl adcfgclone.pl appsTier
Error while running adlnktools.sh.
return code = .16.17.18.21.22.23.24.25.32.33.34.36.37.38
Please check logfile located at /erpdev1/apprt/inst/apps/RUAT_reeldev/logs/ora/10.1.2/install/make_04171031.log
i have checked log file. it gives multiple follwoin error.
ld: Can't find library for -ljava
Fatal error.
*** Error exit code 1
regards,
sandeephi,
i think there is some other issue.
Details:
OS: HP UX Itanium.
Apps Release: R12. (12.0.6)
Cloing from production server to devlopment server.
we already have clone some inatnace on the same server.
i have gone through with suggested note but SHLIB_PATH is already set to $ORACLE_HOME/jdk/jre/lib.....
clone instance is started also, but only Internal Manager only running devlopment server and rest all manager are showing prodution server node name and not running.
manager log for standard manager
An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_REELERPH. There may be a network configuration problem, or the TNS listener on node FNDFS_REELERPH may not be running. Please contact your system administrator.
listener is already running.
regards,
sandeep. -
Error while running perl adpreclone.pl dbTier
Hi all,
Error while running perl adpreclone.pl dbTier
Running Rapid Clone with command...
perl /u02/app/orap/product/9.2.0/appsutil/bin/adclone.pl java=/u02/app/orap/product/9.2.0/jre/1.4.2 mode=stage stage=/u02/app/orap/product/9.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/u02/app/orap/product/9.2.0/appsutil/DEV_XXX.xml showProgress
Beginning database tier Stage - Fri Jun 26 12:16:45 2009
APPS Password : appsdev
Log file located at /u02/app/orap/product/9.2.0/appsutil/log/DEV_jos11/StageDBTier_06261216.log
/ 75% completed
RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
Raised by oracle.apps.ad.tools.AdCreateCtlFile
RC-40001: Fatal: Failed to create sql script adcrdbclone.sql for recreating control files at target
- 75% completed
ERROR while running Stage...
Checked metalink found the below solution but please the me interconnect_name is what ?
Check if the column interconnect_name from the fnd_database_instances has a value. If not, please update it with the correct value:
update FND_DATABASE_INSTANCES
set INTERCONNECT_NAME = 'xxx';
commit;
Rerun the process.
Thanks,
Bhanu Chander.Hi,
Alert log is normal.
but adcfgclone.pl log is
/u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/dbfinfo.lst created Successfully.
Generating /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/addbhomsrc.xml which will contain the unique mount points
NODE_ID Column Availability: true
Node Id Column is available. dbfinfo.lst will contain the node list
Host Column Availability: true
Exception occurred while querying the datamodel: java.lang.NullPointerException
StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1325)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
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:274)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:534)
RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
Raised by oracle.apps.ad.tools.AdCreateCtlFile
RC-50208: Exception in method gen_crctrfclone_sql
RC-50208: Exception in Constructor AdCreateCtlFile
Raised by oracle.apps.ad.tools.AdCreateCtlFile
StackTrace:
java.lang.Exception
at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1348)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
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:274)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:534)
RC-40001: Failed to create sql script adcrdbclone.sql for recreating control files at target
Raised by oracle.apps.ad.clone.StageDatabase
Thanks,
Bhanu Chander
Maybe you are looking for
-
Anomalous behaviour on login, security ptoblem ?
For the first time my MacBook Pro had a lot of spontaneous activity on login. Activity Monitor shows a "find" process owned by "nobody" that takes a lot of cpu time and there was also a lot of network activity with many megabytes of transfer. At nlea
-
Extenet the communication structure CEKKO for over delivery tolerance
Hi Boss, I like to set the Purchase order release strategy based on the over delivery tolerance. But when i checking, the over delivery tolerance filed UEBTO is not in the communication structure CEKKO. Can you please help me how should i extend the
-
I am trying to understand the preferred method of creating and editing Document data, when the provided Business Object methods do not contain access to all of the draw fields. We have also created append structures, and I am finding that none of th
-
Weak signal while right next to router with ipad 4
I recently got an ipad 4 and the wifi signal it is receiving is very weak unless I am 5 feet from the router. All of my other devices and computers work fine from long distances. This is defeating me, if anyone has an answer, I give a pretty mean hug
-
Adobe Reader Restrictions - deletePages()
Hi, I'm new to scripting in Acrobat and I've run into a problem. I'm creating an order form that uses JavaScript to prompt the user with a question, asking them how many pages are in their order (The range is from 1 to 10). The original document is t