Perl adcfgclone.pl dbTechStack default values...?
Hi!
Our config: DB 10g2.0.2, APPS 11.5.10.2
When we run "perl adcfgclone.pl dbTechStack" then some default values are shown in screen:
Do you want to use a virtual hostname for the target node (y/n)
Target instance is a Real Application Cluster (RAC) instance (y/n)
*Target system utl_file accessible directories list [var/tmpprod]:*
Number of DATA_TOP's on the target system [6]:
...Where are those settings saved and retrieved in runtime? I'd like to change some default values to some new values (i.e. number of data tops to "7", after adding some luns)... Funny, but I couldn't find the source ... of that pattern.
THX
Funky
Hsawwan
I hope I'll not disobey some rules...however here it is:
The script adcfgclone.pl calls CloneContext.class. This java code is responsible for creating the Target
Context file. The default values for the prompts are read from CTXORIG.xml (a
copy of the Source context file). There are some exceptions to this, one of
them being the "number of DATA_TOPs". This default value derives from the
number of "s_dbhome" variables in
+$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml. This file is generated+
on the Source system by adpreclone.pl, and copied to the Target system during
the copy phase.
As you have uploaded your addbhomsrc.xml and it is not working as specified above indicates you may be hitting a bug.
Your default value appears to equate to "number of "s_dbhome" variables in addbhomsrc.xml 1".+
+This matches an issue reported in Bug 5345502, where an additional variable+
+added for 10g was being counted in addition to the s_dbhome variables, making+
+the default number 1 more than the source. This was fixed for both 11i and R12+
+in :-+
+- CloneContext.java 115.204+
+- CloneContext.java 120.31+
+As the AutoConfig/RapidClone code is collected from the Applications Tier into+
+appsutil.zip, please check the following version on your Applications Tier:-+
+- $JAVA_TOP/oracle/apps/ad/context/CloneContext.class+
+If the version is < 115.204, then you need to apply the latest RapidClone patch:+
+6718351 : 11i RAPIDCLONE CONSOLIDATED FIXES JUL/2008+
+This will deliver CloneContext.java 115.223+
+Please also check the version(s) on your Database Tier:-+
+- $ORACLE_HOME/appsutil/java/oracle/apps/ad/context/CloneContext.class+
+There is also another version on your Database Tier which is copied by adpreclone.pl+
+into the Clone stage area, so we need to confirm that version:-+
+- $ORACLE_HOME/appsutil/clone/jlib/java/oracle/apps/ad/context/CloneContext.class+
+If the version on the Apps Tier is > 115.204 and does not match those on the Database Tier, or you had to apply the suggested patch 6718351, then you need+
+to recopy the AutoConfig/RapidClone code over to the RDBMS Tier.+
+Recreate appsutil.zip using this command on the Applications Tier:+
+- perl $AD_TOP/bin/admkappsutil.pl+
+Copy the created appsutil.zip to the RDBMS ORACLE_HOME and extract it using "unzip -o" to overwrite the existing+
+code.+
+Once you have the latest version, you will need to rerun the "preparation stages" on your Source system by rerunning adpreclone.pl, so the+
+new code is copied to the clone stage area.+
+You will also need to rerun adpreclone.pl on the Apps Tier.+
+Finally, recopy the instance files to your Target system, and when you configure the Target Database Tier, and are+
+prompted for the "number of DATA_TOPs", you should now see the number match+
+that on the Source system, or more specifically, match the number of "s_dbhome"+
+variables in+
+$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml.+
Rg,
Damir
Similar Messages
-
Adcfgclone.pl dbTechStack on Target DB removes listener and tnsnames files
Hello:
I am doing a first-time clone from my PRD to my TST instance, and have undergone the following steps:
1. perl adpreclone.pl dbTier on Source DB
2. perl adpreclone.pl appsTier on Source AppTier
3. Copy APPL_TOP, COMMON_TOP, ORACLE_HOME, IAS_ORACLE_HOME from Source AppTier to Target AppTier.
4. Run perl adcfgclone.pl dbTechStack on Target DB.
At this point is where I start running into issues. The dbTechStack deletes/recreates the tnsnames.ora, sqlnet.ora, and listener.ora files, and the DB can no longer startup. The below is in the logfiles. Am I doing something wrong? I guess the issue is not so much with it deleting/recreating the files, as it is with the values it puts into the files (i.e. DB port = 3001)
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/sqlnet.ora
File exists
File deleted
Processing driver file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/install/WMSTST_x07tst00/txkConfigDbOcm.pl
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/dbs/initWMSTST.ora
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
File exists
File deleted
Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/tnsnames.ora
File exists
File deleted
Testing for RAC specific parameters before running autoconfig
No RAC specific parameters were found, running with CVM
Starting CVM in INSTE8_SETUP mode
Using Context file : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/out/WMSTST_x07tst00/12111155/WMSTST_x07tst00.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
Thanks!
Edited by: user4434301 on Dec 11, 2012 12:39 PMExcellent. I copied the template file from another instance and the following messages were at the end of the logfile:
Skipping Profile Phase
Skipping Apply Phase
Completed runAutoConfig...
ApplyDBTechStack Completed Successfully.
However I'm not completely certain this is entirely correct preclone. Can you tell me why the Profile and Apply Phases were skipped and why the following was displayed upon the screen on completion?
Completed Apply...
Tue Dec 18 11:25:39 2012
Starting database listener for WMSTST:
Running:
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process WMSTST ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
addlnctl.sh: exiting with status 1
addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
That file shows the following:
Starting database listener for WMSTST:
Running:
/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process WMSTST ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
Listener failed to start. See the error message(s) above...
addlnctl.sh: exiting with status 1
addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
Should I have stopped the DB or listener before running the script?
Edited by: user4434301 on Dec 18, 2012 9:18 AM -
Adcfgclone.pl dbTechStack - RC-50004
Hi,
I am cloning a new instance from production.
I cloned on monday night successfully the first instance. Everything ran perfectly.
Now i'm cloning the 2nd instance.
My db os user profile is set correctly.
I ran '. oraenv' to load the environnement and everyting is ok. Of course, it does not find the rdbms <sid>.env file as it will be create with the 'perl adcfgclone.pl' command.
When i go to
$ORACLE_HOME/appsutil/clone/bin
and issue the following command:
perl adcfgclone.pl dbTechStack
I get the following erorr:
"Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [hostname] :
Target System Domain Name : <domain_name>.com
RC-50004: Error occurred in CloneContext:
null
Check Clone Context logfile /apps/oracle/uat1/db/10.2.0/appsutil/clone/bin/CloneContext_03101751.log for details.
ERROR: Context creation not completed successfully.
For additional details review the file /tmp/adcfgclone_381034.err if present."
Looking at '/apps/oracle/uat1/db/10.2.0/appsutil/clone/bin/CloneContext_03101751.log', I can see the following:
'StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:630)
at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:910)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:597)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4963)
RC-50004: Error occurred in CloneContext:
null'
Anyone had that error before?
Thank you,
FelixFelix,
Review the following notes:
Note: 467659.1 - perl adcfgclone.pl Dbtechstack fails with error: RC-50004: Error occurred in CloneContext
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467659.1
Note: 763587.1 - RC-50004: Error Occurred In Clonecontext : At Java.util.Hashtable.put(Unknown Source)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=763587.1
Regards,
Hussein -
Error running adcfgclone.pl dbTechStack: RC-20403
Issue cloning target database environment during a preclone step
Problem Description
command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
Raised by oracle.apps.ad.clone.ApplyDBTechStack
s_dbport : 1522
Not sure why I would receive this error, I have done this step several times before without error. Any ideas?user4434301 wrote:
Issue cloning target database environment during a preclone step
Problem Description
command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
Raised by oracle.apps.ad.clone.ApplyDBTechStack
s_dbport : 1522
Not sure why I would receive this error, I have done this step several times before without error. Any ideas?The error indicates that port 1522 is used by another program/process, so please use a different port or kill the process which uses port 1522.
Thanks,
Hussein -
Question adcfgclone.pl dbTechStack
Hi All,
R12.1.3 / rdbms 11.2.0.3
We did a fresh R12.1.1 install followed by R12.1.3 upgrade and rdbms upgrade to 11.2.0.3.
we did a pre-clone on source and cloned to DEV.
When we do
perl adcfgclone.pl dbTechStack it complets successfully but failed to start lsitener.
When looking into $ORACLE_HOME/network/admin/SID_server/listener.ora, the entry is the SOURCE instead of TARGET.
I know how to workaround this but I do not understnad why it is happened? We have many other R12.1.3 instances and this never happened before.
Anything we could check at to permanently fix this for future clone on this instance?
Thanlsperl adcfgclone.pl dbTechStack it complets successfully but failed to start lsitener.
When looking into $ORACLE_HOME/network/admin/SID_server/listener.ora, the entry is the SOURCE instead of TARGET.
I know how to workaround this but I do not understnad why it is happened? We have many other R12.1.3 instances and this never happened before.
Anything we could check at to permanently fix this for future clone on this instance?Are you referring to "Changing s_db_listener context variable and run AutoConfig" solution? If yes, then please see (R12 Rapidclone on dbTier Tries to Start Listener with Source SID: "RC-00118 'Error occurred during creation of database' " [ID 1329400.1]).
Also, make sure you have the latest Rapid Clone and AutoConfig patches applied -- I believe you are aware of the docs.
Thanks,
Hussein -
Perl adcfgclone.pl appsTier get error.
Hi,
#------Log File created at: 09200202------------
# $Header: CloneContext.java 115.201 2006/03/22 19:30:45 marderiu ship $
# Running CloneContext on machine - serugp07
Initializing the Apps Service Context varibale Hash
DEBUG: Apps Service Status context variable extracted from the given Apps context file
s_apcstatus
s_apc_restrict_status
s_apcstatus_pls
s_tnsstatus
s_tcfstatus
s_concstatus
s_formsstatus
s_reptstatus
s_metcstatus
s_metsstatus
s_icsmstatus
s_jtffsstatus
s_icxblkstatus
s_discostatus
Variables extracted from pairsfile: /tmp/adpairsfile.lst
Variable :s_appsuser
Value :applmgr
Variable :s_appsgroup
Value :dba
PROMPT :
Do you want to use a virtual hostname for the target node (y/n) [n] ?
ANSWER :
n
PROMPT :
Target system database SID [PROD]
ANSWER :
DEV
PROMPT :
Target system domain name [ugp.co.th]
ANSWER :
ugp.co.th
Default value found for s_contextname : DEV_serugp07
PROMPT :
Target system database server node [iris]
ANSWER :
serugp07
PROMPT :
Target system database domain name [ugp.co.th]
ANSWER :
ugp.co.th
PROMPT :
Does the target system have more than one application tier server node (y/n) [y] ?
ANSWER :
n
PROMPT :
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?
ANSWER :
n
PROMPT :
Target system APPL_TOP mount point [prodappl]
ANSWER :
/data/devappl
PROMPT :
Target system COMMON_TOP directory [prodcomn]
ANSWER :
/data/devcomn
PROMPT :
Target system 8.0.6 ORACLE_HOME directory [prodora/8.0.6]
ANSWER :
/data/devora/8.0.6
PROMPT :
Target system iAS ORACLE_HOME directory [prodora/iAS]
ANSWER :
/data/devora/iAS
PROMPT :
Do you want to preserve the Display set to zeus:1.0 (y/n) [y] ?
ANSWER :
n
PROMPT :
Target system Display [serugp07:0.0]
ANSWER :
serugp07:0.0
DEBUG:
The source s_jdktop is set to an external JDK, so don't blindly set the same External JDK to the target also
DEBUG:Target s_jdktop : null
PROMPT :
Location of the JDK on the target system [opt/java1.4]
ANSWER :
/data/devcomn/java
DEBUG:
The Source s_jretop is not set to a jretop, Setting s_jretop to the target s_jdktop
PROMPT :
Target system JRE_TOP [opt/java1.4]
ANSWER :
/data/devora/8.0.6/jre11813
Default value found for s_javatop : /data/devcomn/java
Default value found for s_temp : /data/devcomn/temp
Target node service definitions:
Database = YES
ConcMgr = YES
Forms = YES
Web = YES
Administration = YES
PROMPT :
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 10
s_webport available: Port Value = 8010
s_rpcport available: Port Value = 1636
s_repsport available: Port Value = 7010
s_oprocmgr_port available: Port Value = 8110
s_webport_pls available: Port Value = 8210
s_servletport available: Port Value = 8810
s_formsport available: Port Value = 9010
s_metdataport available: Port Value = 9110
s_metreqport available: Port Value = 9210
s_jtfuf_port available: Port Value = 9310
s_mapviewer_port available: Port Value = 9810
s_oemweb_port available: Port Value = 10010
s_osagent_port available: Port Value = 10110
s_mwaPortNo available: Port Value = 10260
s_mwaPortNo available: Port Value = 10261
s_mwaPortNo available: Port Value = 10262
s_mwaPortNo available: Port Value = 10263
s_mwaPortNo available: Port Value = 10264
s_mwaPortNo available: Port Value = 10265
s_mwaTelnetPortNo available: Port Value = 10260
s_mwaTelnetPortNo available: Port Value = 10261
s_mwaTelnetPortNo available: Port Value = 10262
s_mwaTelnetPortNo available: Port Value = 10263
s_mwaTelnetPortNo available: Port Value = 10264
s_mwaDispatcherPort available: Port Value = 10340
s_mwaDispatcherPort available: Port Value = 10341
s_mwaDispatcherPort available: Port Value = 10342
s_mwaDispatcherPort available: Port Value = 10343
s_oacore_servlet_portrange available: Port Value = 16100
s_oacore_servlet_portrange available: Port Value = 16101
s_oacore_servlet_portrange available: Port Value = 16102
s_oacore_servlet_portrange available: Port Value = 16103
s_oacore_servlet_portrange available: Port Value = 16104
s_oacore_servlet_portrange available: Port Value = 16105
s_oacore_servlet_portrange available: Port Value = 16106
s_oacore_servlet_portrange available: Port Value = 16107
s_oacore_servlet_portrange available: Port Value = 16108
s_oacore_servlet_portrange available: Port Value = 16109
s_disco_servlet_portrange available: Port Value = 17100
s_disco_servlet_portrange available: Port Value = 17101
s_disco_servlet_portrange available: Port Value = 17102
s_disco_servlet_portrange available: Port Value = 17103
s_disco_servlet_portrange available: Port Value = 17104
s_disco_servlet_portrange available: Port Value = 17105
s_disco_servlet_portrange available: Port Value = 17106
s_disco_servlet_portrange available: Port Value = 17107
s_disco_servlet_portrange available: Port Value = 17108
s_disco_servlet_portrange available: Port Value = 17109
s_forms_servlet_portrange available: Port Value = 18100
s_forms_servlet_portrange available: Port Value = 18101
s_forms_servlet_portrange available: Port Value = 18102
s_forms_servlet_portrange available: Port Value = 18103
s_forms_servlet_portrange available: Port Value = 18104
s_forms_servlet_portrange available: Port Value = 18105
s_forms_servlet_portrange available: Port Value = 18106
s_forms_servlet_portrange available: Port Value = 18107
s_forms_servlet_portrange available: Port Value = 18108
s_forms_servlet_portrange available: Port Value = 18109
s_tcfport available: Port Value = 15010
s_xmlsvcs_servlet_portrange available: Port Value = 19100
s_xmlsvcs_servlet_portrange available: Port Value = 19101
s_xmlsvcs_servlet_portrange available: Port Value = 19102
s_xmlsvcs_servlet_portrange available: Port Value = 19103
s_xmlsvcs_servlet_portrange available: Port Value = 19104
s_xmlsvcs_servlet_portrange available: Port Value = 19105
s_xmlsvcs_servlet_portrange available: Port Value = 19106
s_xmlsvcs_servlet_portrange available: Port Value = 19107
s_xmlsvcs_servlet_portrange available: Port Value = 19108
s_xmlsvcs_servlet_portrange available: Port Value = 19109
s_java_object_cache_port available: Port Value = 12355
Attempting to connect to database using :
jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
DbSid :DEV
DbHost :serugp07
DomainName:ugp.co.th
DbPort :1531
ADX Database Utility
getConnection() -->
sDbHost : serugp07
sDbDomain : ugp.co.th
sDbPort : 1531
sDbSid : DEV
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
Connection obtained
-------------------ADX Database Utility Finished---------------
Attempting to connect to database using :
jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
DbSid :DEV
DbHost :serugp07
DomainName:ugp.co.th
DbPort :1531
ADX Database Utility
getConnection() -->
sDbHost : serugp07
sDbDomain : ugp.co.th
sDbPort : 1531
sDbSid : DEV
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
Connection obtained
-------------------ADX Database Utility Finished---------------
StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.tools.configuration.CVMHelper.getDBInitParameters(CVMHelper.java:181)
at oracle.apps.ad.tools.configuration.CVMHelper.getDBName(CVMHelper.java:253)
at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java:7150)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:638)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6071)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
wanjarus
Thank you.Hi,
Please see
Perl Adcfgclone.pl AppsTier Fail With Error: NullPointerException in CVMHelper.getDBInitParameters [ID 726509.1]
perl adcfgclone.pl appsTier fails with ORA-00600 during CloneContext [ID 304037.1]
Thanks -
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 -
Perl adcfgclone.pl dbTier error
Hi everyone. Newbie here. I'm running on an error during cloning R12 EBS production to development server and I'm doing it manually.
After running the command: perl adcfgclone.pl dbTier and filling in the prompt details, clone was not successfully completed. Please see below the logs
[root@tstocl bin]# perl adcfgclone.pl dbTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx6 00M -cp /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/java:/orclde v/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/orcldev/ts tred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.conte xt.CloneContext -e /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/.. /context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_14291.lst -stage / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_14291. err; echo $? > /tmp/adcfgclone_14291.res
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : TST3
Target System Base Directory : /orcldev/tstred/dbred
Target System utl_file_dir Directory List : usr/tmp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] :
RC-00002: Warning: Directory /orclprd/oraprd/dbsred/db/apps_st/data not found.
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] : /o rcldev/tstred/dbred/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1 .0] :
Do you want to preserve the Display [null] (y/n) ? : y
Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : n
Target System Port Pool [0-99] : 9
Checking the port pool 9
done: Port Pool 9 is free
Report file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp/por tpool.lst
Complete port information available at /orcldev/tstred/dbred/db/tech_st/11.1.0/a ppsutil/temp/portpool.lst
Backing up /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml to / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml1.bak
Creating the new Database Context file from :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
AC-10006: Exception - org.xml.sax.SAXParseException: file:/orcldev/tstred/dbred/ db/tech_st/11.1.0/appsutil/TST3_tstocl.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for f ile: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The new database context file has been created :
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
Check Clone Context logfile /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clo ne/bin/CloneContext_0719104652.log for details.
Running Rapid Clone with command:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
Running:
perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
APPS Password :
You must define the target database context to use
dbctxtg=<applications context file>
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone /bin/adclone.pl
Please check logfile.
Log file "CloneContext_0719104652.log" contains details below:
[root@tstocl bin]# more CloneContext_0719104652.log
Using admin directory: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin
#------Log File time stamp: 0719104652------------
# $Header: CloneContext.java 120.92.12010000.5 2008/11/10 09:40:09 ksita ship $
# Running on - tstocl
# Source Host - null
# Domain Name - reddragon.com
# Context Location - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml
# Context Type - null
# Context Template - null
# Clone Stage Area - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
# Pairs File - /tmp/adpairsfile_14291.lst
# Destination Context - null
# Validation - true
# Platform Migration - false
# no prompt - false
Variables extracted from pairsfile: /tmp/adpairsfile_14291.lst
****************************************************/n
s_dbuser = root
s_dbgroup = root
PROMPT :
Target System Hostname (virtual or normal) [tstocl]
ANSWER :
tstocl
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
TST3
PROMPT :
Target System Base Directory
ANSWER :
/orcldev/tstred/dbred
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orclprd/oraprd/dbsred/db/apps_st/data
Value /orclprd/oraprd/dbsred/db/apps_st/datais not valid value for s_dbhome1
PROMPT :
Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
ANSWER :
/orcldev/tstred/dbred/db/apps_st/data
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1.0]
ANSWER :
/orcldev/tstred/dbred/db/tech_st/11.1.0
Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n) ?
ANSWER :
y
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 9
Checking Database Port on tstocl: Port Value = 1530
Database Port available: Port Value = 1530
Checking DB ONS Local Port on tstocl: Port Value = 6309
DB ONS Local Port available: Port Value = 6309
Checking DB ONS Remote Port on tstocl: Port Value = 6409
DB ONS Remote Port available: Port Value = 6409
setDestination s_contextfile to : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_14291.lst
Target XML File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
Template File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_util_filedir = usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome3 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhost = tstocl
s_db_oh = /orcldev/tstred/dbred/db/tech_st/11.1.0
s_dbhome2 = /orcldev/tstred/dbred/db/apps_st/data
s_dbhome1 = /orcldev/tstred/dbred/db/apps_st/data
s_dbgroup = root
s_dbGlnam = TST3
s_dbdomain = reddragon.com
s_dbSid = TST3
s_dbuser = root
s_isForms = YES
s_database_type =
s_temp = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6309
s_hostname = tstocl
s_dbSidLower = tst3
s_cmanport = 1530
s_dbCluster = false
s_domainname = reddragon.com
s_isAdmin = YES
s_isConc = YES
s_contextfile = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
s_dbport = 1530
s_contextname = TST3_tstocl
s_db_ons_remoteport = 6409
s_clonestage = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
s_base = /orcldev/tstred/dbred
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmptmpCtxClone.xml
dest : /tmp/tmptmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
AC-50401: Command: su prddbs -c "cp /tmp/TST3_tstocl.xml /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
instantiate file:
source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
instantiate file:
source : /tmp/tmpdummy.xml
dest : /tmp/tmpdummy.xml
The values for these variables will be retained from the source context
The new context file has been created at:
/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
The first suspicion I thought of was that I'm running out of disk space to clone another instance. But I've checked and there's still enough space, even in the /tmp directory. The second I thought of is does setting ownership and the os permissions have something to do with this?
Hope somebody can help me out with this asap.
Thank you.error for dbTier cloning is solved. I didn't log in as the database user and didn't change permissions for the node files after copying. Cloning for db tier is completed.
I proceed with cloning the apps tier and I'm running into errors and cannot proceed. See log below:
[appls3@tstocl bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the APPS password :
Running:
/orcldev/tstred/aplred/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /orcldev/tstred/aplred/apps_st/comn/clone/jlib/java:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/xmlparserv2.jar:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /orcldev/tstred/aplred/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_20757.lst -stage /orcldev/tstred/aplred/apps_st/comn/clone 2> /tmp/adcfgclone_20757.err; echo $? > /tmp/adcfgclone_20757.res
Log file located at /orcldev/tstred/aplred/apps_st/comn/clone/bin/CloneContext_0719152502.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [tstocl] :
Target System Database SID : TST3
Target System Database Server Node [tstocl] :
Target System Base Directory : orcldev/tstred/aplred
Target System Tools ORACLE_HOME Directory [orcldev/tstred/aplred/apps/tech_st/10.1.2] :
RC-00213: Warning: The path specified must be the absolute path
Please advise. Thanks -
Perl adcfgclone.pl 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 -
Perl adcfgclone.pl appsTechStack question
Runnning "perl adcfgclone.pl appsTechStack" did not recreate all of the bin directory scripts, nor the comps.xml.
What is the purpose of using option appsTechStack, if not to recreate the 10.1.2 and 10.1.3 ORACLE_HOMEsHi,
Runnning "perl adcfgclone.pl appsTechStack" did not recreate all of the bin directory scripts, nor the comps.xml.
What is the purpose of using option appsTechStack, if not to recreate the 10.1.2 and 10.1.3 ORACLE_HOMEsThere is no appsTechStack option -- Please elaborate more on what you are trying to do.
perl adcfgclone.pl
USAGE:
adcfgclone.pl <component> [context file]
WHERE:
<component> : { appsTier | appltop | atTechStack }
<component> : { dbTier | database | dbTechStack }
Depending on the context type.See ((Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]) -- Section 2: Different Components) for the different components with RapidClone that are used when cloning an Oracle Applications instance.
Thanks,
Hussein -
Default Value is not getting displayed in SUN ONE Ldap
Hello,
I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed.
We need the default value to run our applicatin. Can anyone help me for this issue
Regards,
K. Senthil KumarHi anandkumar,
I belive this issue can be resolved by changing the Query proprties for the perticular field.
Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
__Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
Hope this helps you!!
Best Regards,
Maruthi -
How to load a default value in to a column when using sql loader
Im trying to load from a flat file using sql loader.
for 1 column i need to update using a default value
how to go about this?Hi!
try this code --
LOAD DATA
INFILE 'sample.dat'
REPLACE
INTO TABLE emp
empno POSITION(01:04) INTEGER EXTERNAL NULLIF empno=BLANKS,
ename POSITION(06:15) CHAR,
job POSITION(17:25) CHAR,
mgr POSITION(27:30) INTEGER EXTERNAL NULLIF mgr=BLANKS,
sal POSITION(32:39) DECIMAL EXTERNAL NULLIF sal=BLANKS,
comm POSITION(41:48) DECIMAL EXTERNAL DEFAULTIF comm = 100,
deptno POSITION(50:51) INTEGER EXTERNAL NULLIF deptno=BLANKS,
hiredate POSITION(52:62) CONSTANT SYSDATE
)-hope this will solve ur purpose.
Regards.
Satyaki De. -
Assigning a default value to a field
Hello Everyone,
Could you please tell me how to assign a default value to a field in a transparent table, so that while creating an entry even if we don't enter the value, a default value will be assigned.
Thanks,
Anbu.Like this
DATA: BEGIN OF itab OCCURS 0,
field1 TYPE c VALUE 'X'
field2 TYPE c,
END OF itab.
append itab.
append itab.
You will have by default X set in both rows for field1.
Regards
Marcin
PS: Ooops I just noticed you meant transparent table but I wrote about internal one. As long as you maintain that table using maintenance view you can use event 05 - When Creating a New Entry and set fixed value for a field there. So whenever you create new entry it will receive that value.
Edited by: Marcin Pciak on Jun 23, 2010 8:57 AM -
SQLLDR - how to set a default value for an empty string
I'm using SQLLDR to load data from a flat file on Oracle 10g 10.2.0.4 EE, Linux RHEL 4 update 6. Seems like my question is simple, but darned if I can't find the solution.
My source file (comma delimited extracted form a different RDBMS) has some (not all) rows where the output for a string is "", and not NULL. How do I check for empty string and add a default value in the control file? The target column is non-nullable
Here's my current control file - however, the column attributeName where sometimes the source record is "" does not get evaluated as NULL.
load data
infile 'mydata.del'
badfile 'mydata.bad'
discardfile 'mydata.dsc'
into table mydata
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
(l_metadata,
company,
className,
attributeName "decode(:vc_attributeName,null, 'none')",
attributeDefault)
{code}
When I tried decode with "", I received the following error:
{code}SQL*Loader-350: Syntax error at line 11.
Expecting "," or ")", found ", 'none')".
attributeName "decode(:vc_attributeName,"", 'none')", {code}
This does not work either:
{code}
load data
infile 'mydata.del'
badfile 'mydata.bad'
discardfile 'mydata.dsc'
into table mydata
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
(l_metadata,
company,
className,
attributeName NULLIF attributeName = BLANKS ,"decode(:vc_attributeName,null, 'none')",
attributeDefault) I get the following in the log:
Table COMPANYMETADATA, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
L_METADATA FIRST * , O(") CHARACTER
COMPANY NEXT * , O(") CHARACTER
CLASSNAME NEXT * , O(") CHARACTER
ATTRIBUTENAME NEXT * , O(") CHARACTER
NULL if ATTRIBUTENAME = BLANKS
SQL string for column : "decode(:attributeName,null, 'none')"
ATTRIBUTEDEFAULT NEXT * , O(") CHARACTER
Record 1: Rejected - Error on table COMPANYMETADATA, column ATTRIBUTENAME.
ORA-01400: cannot insert NULL into ("SRV5"."COMPANYMETADATA"."ATTRIBUTENAME")
{code}
Any help is appreciated -
Edited by: kpw on Feb 9, 2009 11:10 AMHello,
I just loaded following data successfully in my_data table using the same control file I posted. Yes it will evaluate "" as null and replace with none, remember in control file you have this option, "optionally enclosed by '"'.
#my_data.dat
"myname1", "attribname1"
"myname2", "attribname2"
"myname3", "attribname3"
"myname4", ""
#my_data.ctl
load data
into table my_data
fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS
my_name char(30),
vc_attributeName "decode(:vc_attributeName,null, 'none', :vc_attributeName)"
{code}
Here is the output log file
{code}
Control File: my_data.ctl
Data File: mydata.dat
Bad File: mydata.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table MY_DATA, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
MY_NAME FIRST 30 , O(") CHARACTER
VC_ATTRIBUTENAME NEXT * , O(") CHARACTER
SQL string for column : "decode(:vc_attributeName,null, 'none', :vc_attributeName)"
Table MY_DATA:
4 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 18560 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 4
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Mon Feb 09 18:17:35 2009
Run ended on Mon Feb 09 18:17:36 2009
Elapsed time was: 00:00:00.98
CPU time was: 00:00:00.10
{code}
Hope this helps clearing your dobuts
Regards -
Multiple Default Values in a Multi-Select LOV Parameter?
Hi,
I have a report in BI Publisher standalone version 10.1.3.4. The report has a list of values called org_lov. This lov is attached to a multi-selection p_org_code parameter from which it is desirable to also have multiple default values.
For example, if org_lov has the following values:
100
101
102
103
104
105
106
I would like to have 3 default values and have 100, 101,105 as the defaults if the user doesn't specifically select anything from the LOV. So far my testing has only allowed a single default value.
Here are my settings:
Data type = string
Multiple Selection = checked
Can select All = checked (all values passed)
On the Default Value field, I have tried the following:
1. 100, 101,105
2. [100, 101,105]
3. '100', '101','105'
4. (100, 101,105)
5. ['100', '101','105']
6. ('100', '101','105')
I don't need these default values highlighted in the LOV, I just need it passed correctly to the query (a data template).
Thank you in advance for any input.Hi,
Sorry for the delayed reply. I tried what you suggested but the problem is that by having the "Multiple Selection" property of the parameter unchecked, the result is that it allows the user to only have a single value passed. The user wants the option to select multiple values AND also have the multiple default values.
Thanks anyway.
Maybe you are looking for
-
How do I get access to recent Creative cloud offer re Kelby one
How do I get access to the recent Offer re Kelby One? I paid for a year subscription to Creative Cloud and it said there was an offer of three moths access
-
I have a web page i run on a local process network. If i use an alert and confirm dialog box it works out ok on a single monitor station, but we use dual monitor stations and the window ends up in the center of the two screens. This is a problume bec
-
Hey everyone. I just purchased a brand new 15" Macbook Pro with a 128GB SSD. My first Mac after 13 years using PCs. OSX Lion is the current version. iTunes is also the most current version. All software is up-to-date. Every time i open up iTunes, my
-
Serial Number in SAP Query !!!
Hi Gurus How can we add Serial Number in SAP Query? There is a field named Counter which gives Total number of count. But i need numbers to be displayed with each line item.
-
Hey, I have 10 folios online currently. But on iPAD it shows another 11th folio, which I created before, and then I deleted it. Although I can not download it (there is no preview picture for it either). When I login into DPS oganizer, I see only my