DbTier:RC-50004 Error occurred in ApplyDatabase:help me plzzzzzzzzzz
HI,
Am on 11.5.10.2
DB 10gR2
OS Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
When am trying to clone dbtier am facing this error :
Beginning database tier Apply - Wed Jun 22 14:00:53 2011
Log file located at /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.log
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Before taking the source backup :
i did the following
1. Autoconfig - completed successfully.
2.preclone
3.Shutdown database (normal, innmediate) & stop listener
4.Copy the soutce to target using scp -r root@hostname:/stageDB
log file
vi /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.logLoading ORACLE_HOME environment from /stageDB/proddb/10.2.0
Logfile: /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/06221400/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
log file
/stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/06221400/NetServiceHandler.logClasspath : /stageDB/proddb/10.2.0/jdk/jre/lib/rt.jar:/stageDB/proddb/10.2.0/jdk/lib/dt.jar:/stageDB/proddb/10.2.0/jdk/lib/tools.jar:/stageDB/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/stageDB/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/stageDB/proddb/10.2.0/appsutil/java:/stageDB/proddb/10.2.0/jlib/netcfg.jar:/stageDB/proddb/10.2.0/jlib/ldapjclnt10.jar
===============================================================================
NetServiceHandler 115.54 started for rofdbs5 at Wed Jun 22 14:00:59 GST 2011
===============================================================================
[ Context Information ]
Host : rofdbs5
Domain : reyamidbs.com
Out Dir : /stageDB/proddb/10.2.0/appsutil/out/PROD_rofdbs5/06221400
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 : rofdbs5
sDbDomain : reyamidbs.com
sDbPort : 1521
sDbSid : PROD
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@rofdbs5.reyamidbs.com:1521:PROD
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=rofdbs5.reyamidbs.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
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=rofdbs5.reyamidbs.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.reyamidbs.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---------------
Could not get connection to the database.
Exiting with status 100 to instantiate the tnsnames.ora template
Creation of Directory - /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5 Succeeded.
instantiate file:
source : /stageDB/proddb/10.2.0/appsutil/template/ad8itns.ora
dest : /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5/tnsnames.ora
AutoConfig is exiting with status 0
instantiate file:
source : /stageDB/proddb/10.2.0/appsutil/template/ad8ilsnr.ora
dest : /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5/listener.ora
AutoConfig is exiting with status 0
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
Thanks
Edited by: 843272 on Jun 22, 2011 3:21 AM
Edited by: 843272 on Jun 22, 2011 5:55 AM
Log file located at /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.log
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failedThis error indicates that the database was not created successfully.
Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 [ID 375389.1]
Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
Thanks,
Hussein
Similar Messages
-
RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation fail
Hi,
During the clone of R12.1 instance, while running the post clone on the DB tier, i am getting the following error
RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation failed.
when i looked into the log file, i can find this
Creating the control file for hr12at1_jsrc-cn6 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Tue Nov 17 04:41:58 2009
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 1071333376 bytes
Fixed Size 1318172 bytes
Variable Size 427819748 bytes
Database Buffers 629145600 bytes
Redo Buffers 13049856 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 2 was not restored from a sufficiently old backup
ORA-01110: data file 2:
'/u01/app/oracle11/db/apps_st/u32/oradata/R12HRM/tx_data11.dbf'
Please help
thanks a lot
SasikalaHi,
Sorry, my mistake, I did not pay attention to the cloning part.
For this error, looks like the database was not cleanly shutdown before copying the files or that preclone was not run successfully. You will have to run preclone again, and shutdown the database normally, then copy the file again.
Regards,
Hussein -
RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation fai
Hi guys,
I am cloning and EBS 12.1.3 from one server to another, and when Configuring the target system database server with ''perl adcfgclone.pl dbTier'', I am getting the following error:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
MOS is saying that it is due to wrong permissions on the /var/tmp/.oracle directory and we should give it the following permissions:
chmod 777 /var/tmp/.oracle
After giving those permissions and rebooting the server , and running the perl adcfgclone.pl dbTier script, I am still having the same problem:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
This is the contents of the ApplyDBTier log file (since the file exceed 30.000 characters, i am going to post the parts where the errors occur:
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$ cat ApplyDBTier_05021530.log
Started ApplyDBTier at Thu May 02 15:30:44 WAT 2013
Version:
ApplyDBTier.java : 120.6.12010000.3
ApplyDBTier (prog) -1 true true true...
# Calling ApplyDBTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_db_oh...
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adouidb.pl
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u02/oratest/db/tech_st/11.1.0/appsutil/out/ouicli20.pl
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
dest : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c
backup : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c to /u02/oratest/db/tech_st/11.1.0/appsutil/out/config21.c
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u02/oratest/db/tech_st/11.1.0/appsutil/out/adlnkoh20.sh
setting permissions: 700
setting ownership: oratest:dba
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/perl/bin/perl -I /u02/oratest/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/appsutil/perl /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
script returned:
Beginning OUI CLI cloning for s_db_ohThu May 2 15:30:46 2013
/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u02/oratest/db/tech_st/11.1.0/appsutil/java:/u02/oratest/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u02/oratest/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml -nolink -oaVar s_db_oh -homestub db -log /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/ohclone.log
Running OUI CLI home cloning from within OracleHomeCloner:
/u02/oratest/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u02/oratest/db/tech_st/11.1.0/admin/oui/ERP_DLAERPSRV01/oraInst.loc ORACLE_HOME=/u02/oratest/db/tech_st/11.1.0 ORACLE_BASE=/u02/oratest/db/tech_st/11.1.0 ORACLE_HOME_NAME=ERP_DB__u02_oratest_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Thu May 2 15:30:56 2013
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
script returned:
adlnkoh.sh started at Thu May 2 15:30:56 WAT 2013
Log file located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .16
Please check logfile located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
.end std out.
.end err out.
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/sqlnet.ora
Processing driver file: /u02/oratest/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u02/oratest/db/tech_st/11.1.0/appsutil/install/ERP_DLAERPSRV01/txkConfigDbOcm.pl
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/dbs/initERP.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/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 : /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u02/oratest/db/tech_st/11.1.0/appsutil/out/ERP_DLAERPSRV01/05021531/ERP_DLAERPSRV01.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 : /u02/oratest/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 : /u02/oratest/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not Available
Customizations found : None
File system Context file :/u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.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
===========================================================================
Starting Updates of Context file Thu May 02 15:31:44 WAT 2013
found context version : 120.34.12010000.14
available update version : 120.34.12010000.14
No updates to apply
Starting DB listener with command:
/u02/oratest/db/tech_st/11.1.0/appsutil/scripts/ERP_DLAERPSRV01/addlnctl.sh start ERP
Logfile: /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process ERP ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 02-MAY-2013 15:32:23
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u02/oratest/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Log messages written to /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
STATUS of the LISTENER
Alias ERP
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 02-MAY-2013 15:32:23
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Listener Log File /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Services Summary...
Service "ERP" has 1 instance(s).
Instance "ERP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.sh: exiting with status 0
addlnctl.sh: check the logfile /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt for more information ...
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
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---------------
DEBUG: checkDBConnection out()
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
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 Thu May 2 15:32:40 WAT 2013
The environment settings are as follows ...
ORACLE_HOME : /u02/oratest/db/tech_st/11.1.0
ORACLE_SID : ERP
TWO_TASK :
PATH : /u02/oratest/db/tech_st/11.1.0/perl/bin:/u02/oratest/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
LD_LIBRARY_PATH : /u02/oratest/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/oratest/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/oratest/db/tech_st/11.1.0/ctx/lib
Executable : /u02/oratest/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/adcrdb_ERP.txt
Creating the control file for ERP_DLAERPSRV01 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:40 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
declare lib_ver varchar2(3);
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ERROR:
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
exit_code=1
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:42 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
.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 : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
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---------------
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.doConf(ApplyDatabase.java:635)
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
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:67)
at java.lang.Thread.run(Unknown Source)
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$
Please guys, how can I solve this problem?@Hussain Sawwan
Hi Hussain,
After successfully configured the DbTier and AppsTier with their respective post clone scripts the appstier was automatically started at the end.
But now, I can't seem to connect with my IE 9 and Firefow browsers.
Link: http://dlaerpsrv01.camairco.local:8002/OA_HTML/
Contents of the portpool.lst:
***** List of ports allocated based on port pool 2 *****
Database Port : 1523 (EXT_PORT)
RPC Port : 1628
Web SSL Port : 4445
ONS Local Port : 6102
ONS Remote Port : 6202
ONS Request Port : 6502
Web Listener Port : 8002
Active Web Port : 8002 (DUP_PORT)
Forms Port : 9002
Metrics Server Data Port : 9102
Metrics Server Request Port : 9202
JTF Fulfillment Server Port : 9302
MSCA Server Port : 10212-10217
MCSA Telnet Server Port : 10212,10214,10216 (DUP_PORT)
MSCA Dispatcher Port : 10806
Java Object Cache Port : 12347
OC4J JMS Port Range for Oacore : 23010-23014
OC4J JMS Port Range for Forms : 23510-23514
OC4J JMS Port Range for Home : 24010-24014
OC4J JMS Port Range for Oafm : 24510-24514
OC4J JMS Port Range for Forms-c4ws : 26510-26514
OC4J AJP Port Range for Oacore : 21510-21514
OC4J AJP Port Range for Forms : 22010-22014
OC4J AJP Port Range for Home : 22510-22514
OC4J AJP Port Range for Oafm : 25010-25014
OC4J AJP Port Range for Forms-c4ws : 26010-26014
OC4J RMI Port Range for Oacore : 20010-20014
OC4J RMI Port Range for Forms : 20510-20514
OC4J RMI Port Range for Home : 21010-21014
OC4J RMI Port Range for Oafm : 25510-25514
OC4J RMI Port Range for Forms-c4ws : 27510-27514
[root@DLAERPSRV01 appltest]#
Entry in the /etc/hosts in my Win 7 Laptop:
192.168.0.245 dlaerpsrv01.camairco.local dlaerpsrv01
What could be the cause of this problem? It is unfortunate to reach at this point and not being able to connect. -
RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation failed
There's anyone ever get error like this?
[oradev@ebs bin]$ ./adcfgclone.pl dbTier
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Copyright (c) 2011 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adcfgclone Version 120.63.12020000.7.1202010.2
Enter the APPS password :
Running:
/u01/DEV/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/DEV/11.2.0/appsutil/clone/jlib/java:/u01/DEV/11.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /u01/DEV/11.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_21933.lst -stage /u01/DEV/11.2.0/appsutil/clone 2> /tmp/adcfgclone_21933.err; echo $? > /tmp/adcfgclone_21933.res
Log file located at /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [ebs] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : DEV
Target System Base Directory : /u01/DEV
Target System utl_file_dir Directory List : usr/tmp
RC-00213: Warning: The path specified must be the absolute path
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 [/apps/DEV/data] : /u01/DEV/data
Target System RDBMS ORACLE_HOME Directory [/u01/DEV/11.2.0] :
Do you want to preserve the Display [null] (y/n) : n
Target System Display [ebs:0.0] :
Do you want the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 0
Checking the port pool 0
RC-50221: Warning: Port Pool 0 is not free. Please check logfile /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log for conflicts.
Target System Port Pool [0-99] : 0
Checking the port pool 0
done: Port Pool 0 is free
Report file located at /u01/DEV/11.2.0/appsutil/temp/portpool.lst
Complete port information available at /u01/DEV/11.2.0/appsutil/temp/portpool.lst
Creating the new Database Context file from :
/u01/DEV/11.2.0/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/u01/DEV/11.2.0/appsutil/DEV_ebs.xml
Log file located at /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log
Check Clone Context logfile /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log for details.
Running Rapid Clone with command:
Running:
perl /u01/DEV/11.2.0/appsutil/clone/bin/adclone.pl java=/u01/DEV/11.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/DEV/11.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/DEV/11.2.0/appsutil/DEV_ebs.xml showProgress contextValidated=true
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Beginning database tier Apply - Sun Mar 29 11:35:27 2015
/u01/DEV/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/DEV/11.2.0/oui -classpath /u01/DEV/11.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojdbc6.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/java:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/share.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/DEV/11.2.0/appsutil/DEV_ebs.xml -stage /u01/DEV/11.2.0/appsutil/clone -showProgress
APPS Password : Log file located at /u01/DEV/11.2.0/appsutil/log/DEV_ebs/ApplyDBTier_03291135.log
\ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
ERROR while running Apply...
Sun Mar 29 11:46:03 2015
ERROR: Failed to execute /u01/DEV/11.2.0/appsutil/clone/bin/adclone.pl
Please check logfile.
[oradev@ebs bin]$perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")
Please check - $ env | grep LC
If its set to LC_CTYPE = UTF-8 then unset or set it to blank value i.e. export LC_CTYPE =
Please see - ODA: oakcli command failed with perl: warning: Setting locale failed. (Doc ID 1526079.1)
-Kj -
RC-50004: Fatal: Error occurred in ApplyDatabase
Hi
On 19th august,2009, i ran the preclone on db & apps tier, copied files from source to destination (from one mount point to the other in the same AIX server) for cloning. For some reasons, we changed the system date to 1st april, 2009. When i tried to run adcfgclone.pl on db tier, getting the following error
50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
ERROR while running Apply...
Thu Apr 2 02:40:08 2009
ERROR: Failed to execute /xxx/appsutil/clone/bin/adclone.pl
(replaced the original path with /xxx).
Is it related with server date? Any help, how can resolve this issue?Ateeq,
If you could refer your previous thread,
[UAT problem,management telling to change sytem date,any impact on apps&Db?|http://forums.oracle.com/forums/thread.jspa?threadID=947570]
I have mentioned that there could be serious implication of changing the SYSTEM DATE. Look this was one of them, error while cloning.
ORA-01565: error in identifying file
'/clone/crp2clone/DEV1/DEV1/db/apps_st/data/XXSCC.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directoryThis means that on 1st APRIL you must have not added this datafile XXSCC.dbf to your database. There could be some work-around and you can start your DB but what about the data after 1-APRIL till date you will loose all that.
You can refer the following ML doc,
[How to clone/duplicate a database with added datafile with no backup.|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=292947.1]
I think you must do the cloning with the current date so that no data is loose. You may try changing the SYSTEM date after that so that we can work on the possibilities.
Thanks,
Anchorage :) -
RC-50004: Fatal: Error occurred in ApplyDatabase (on installing EBS R12)
Hi,
I need help. When I was re-installing R12 using Windows XP Pro on my personal desktop, I got the following errors:
RC-50004: Fatal: Error occurred in ApplyDatabase
"Cannot execute configure of database using RapidClone"
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process.
Running Database Install Driver for VIS instance
instantiate file:
source : C:\StageR12\startCD\Disk1\rapidwiz\etc\adxdbctx.tmp
dest : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
instantiate file:
source : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
dest : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
Please let me know what to do. BTW, I am not a DBA.
Also I was able to install R12 before to the same desktop, now I am having problems
re-installing it. I have also cleaned all the traces of the previous install before this re-install.
Thanks in advance,
AmorsoloHi,
RC-50004: Fatal: Error occurred in ApplyDatabase
"Cannot execute configure of database using RapidClone"
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process.This is a generic error, so please check the installation log file for details.
Also I was able to install R12 before to the same desktop, now I am having problems
re-installing it. I have also cleaned all the traces of the previous install before this re-install.Did you follow the steps in (Note: 567507.1 -How to Remove an Oracle E-Business Suite Release 12.x Windows Environment) to clean your previous installation?
Regards,
Hussein -
dear associates,
linux version: red hat enterprise linux 4.0.
EBS version: 12.1.1
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instancedear associates,
can u please assist me how can over come this error or problem.
linux version: red hat enterprise linux 4.0.
EBS version: 12.1.1
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance -
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, -
I'm trying to run adclonectx.pl non-interactively using a pairsfile and noprompt to automate my clone, this is to create the second node context file on the db tier of a 2 node Linux RAC environment and is the only bit that's still interactive so it would be really cool to get this working!
I'm using a pairsfile with all the variables from a sucessfull interactive run, I probably need to add more variables to this file though I can't figure out what.
Has anyone else got this working?
EBS 12.1.3 DB 11.2.0.3 RAC.
This is the command I run, I'm using host variables which are defined beforehand.
--this bit just shows the variables are valid
[orebsdba@dxd1client02 clone_dev]$ echo $CONTEXT_NAME2
EBSDBA2_dxd1db02-ib
[orebsdba@dxd1client02 clone_dev]$ echo $SRCCTX
/u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
[orebsdba@dxd1client02 clone_dev]$ echo $NEWCTX
/u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
[orebsdba@dxd1client02 clone_dev]$ cd ${ORACLE_HOME}/appsutil/clone/bin
[orebsdba@dxd1client02 bin]$ cp ${SRCCTX} ${DBMNT}/${SID}/tmp
[orebsdba@dxd1client02 bin]$ export APPSPWD=**********
echo \$APPSPWD | perl ./adclonectx.pl \
> contextfile=$SRCCTX \
> template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
> outfile=$NEWCTX \
> pairsfile=$PAIRSFILE \
> addnode noprompt
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adclonectx Version 120.23.12010000.1
Running:
/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/ojdbc5.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/xmlparserv2.jar:/u01/EBSDBA/product/11.2.0/appsutil/clone/bin/../jlib/java oracle.apps.ad.context.CloneContext -e /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml -tmpl /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp -pairsfile /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt -out /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml -addnode -noprompt
Log file located at /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log
RC-50004: Error occurred in CloneContext:
null
Check Clone Context logfile /u01/EBSDBA/product/11.2.0/appsutil/log/CloneContext_0916151900.log for details.
ERROR: context creation not completed successfully.
Log contains this:
Using admin directory: /u01/EBSDBA/product/11.2.0/appsutil
#------Log File time stamp: 0916151900------------
# $Header: CloneContext.java 120.92.12010000.26 2013/05/06 12:02:01 mmanku ship $
# Running on - dxd1client02
# Source Host - null
# Domain Name - mgmt.shared.health.nz
# Context Location - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA1_dxd1db01-ib.xml
# Context Type - null
# Context Template - /u01/EBSDBA/product/11.2.0/appsutil/template/adxdbctx.tmp
# Clone Stage Area - null
# Pairs File - /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
# Destination Context - /u01/EBSDBA/product/11.2.0/appsutil/EBSDBA2_dxd1db02-ib.xml
# Validation - false
# Platform Migration - false
# no prompt - true
Variables extracted from pairsfile: /u01/EBSDBA/product/11.2.0/appsutil/clone/pairsfile2.txt
****************************************************/n
s_undo_tablespace = APPS_UNDOTS2
s_dbClusterInst = 2
s_db_oh = /u01/EBSDBA/product/11.2.0
s_dbhost = dxd1db02-ib
s_dbSid = EBSDBA2
s_hostname = dxd1db02-ib
s_dbGlnam = EBSDBA
s_database_type = RAC
s_virtual_hostname = dxd1db02-ib
s_clusterInterConnects = dxd1db02-priv
s_base = /u01/EBSDBA
s_dbuser = orebsdba
s_dbgroup = oinstall
s_db_util_filedir = /u01/EBSDBA/tmp
s_dbhome1 = +DATA_DXD1
s_display = dxd1db02-ib:0.0
s_instName = EBSDBA2
s_domainname = mgmt.shared.health.nz
s_instThread = 2
s_dbCluster = true
s_contextname = EBSDBA2_dxd1db02-ib
s_dbdomain = mgmt.shared.health.nz
s_instNumber = 2
s_db_ons_remoteport = 6414
s_db_ons_localport = 6314
s_cmanport = 1535
s_dbport = 1535
s_port_pool = 14
StackTrace:
java.lang.NullPointerException
at oracle.apps.ad.context.CloneContext$RACContext.checkRACDBConnection(CloneContext.java:6424)
at oracle.apps.ad.context.CloneContext$RACContext.access$400(CloneContext.java:5655)
at oracle.apps.ad.context.CloneContext.getInputDBRACAdd(CloneContext.java:1587)
at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:988)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:601)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
I have been trying to work my way through the stack trace and the source code. I can see that getInputFromUsers() is called and that then calls getInputDBRACAdd(). That will then call checkRACDBConnection(). The question is where in checkRACDBConnection() – source code below – is it finding the NULL?
I am guessing that as we don’t see the following in the log file:
LogFile.getLogFile().info("Attempting to connect to database using :\n");
the NULL has to happen before this line. This gives us to work with:
s = CloneContext.access$2000(CloneContext.this).getReplValIgnoreCase("s_apps_user").toString();
if(CloneContext.access$2500(CloneContext.this) == null)
CloneContext.access$2502(CloneContext.this, CloneContext.access$1400(CloneContext.this, "APPS password is required to validate database connection \nEnter APPS Password [APPS]"));
i = 0;
_L2:
String s1;
if(i >= m_racHostList.length)
break; /* Loop/switch isn't completed */
s1 = (new StringBuilder()).append("jdbc:oracle:thin:@").append(m_racHostList[i]).append(".").append(m_racdomain).append(":").append(m_racPortList[i]).append(":").append(m_racSidList[i]).toString();
Not much.
Could it be this?
if(i >= m_racHostList.length)
In which case perhaps s_rachostlist needs to be set? But I think the length function should return 0 not NULL if something is unset, so perhaps not.
I am not sure there would be a problem with s_apps_user or the string assignment.
So perhaps it’s the loop.
i = 0;
_L2:
String s1;
if(i >= m_racHostList.length)
break; /* Loop/switch isn't completed */
‘i’ is set to 0. If m_racHostList.length is 0 that means it breaks out of the conditional and, though I don’t know enough Java to be sure, as the function throws an exception, perhaps it goes into the exception handler:
catch(Exception exception)
Object obj1 = null;
String as[] = {
m_racSidList[i]
String s2 = MessageHandler.getMessage("RC-40201", as, 0, false);
LogFile.getLogFile().printStackTrace(exception);
LogFile.getLogFile().info(s2);
i++;
But that gives us an RC-40201 message, which isn’t what I'm seeing.
So I just don’t know, unless s_rachostlist is the key, I am out of ideas.
Has anyone else done this?
I've also raised an SR but haven't had a response yet.
Thanks in advance.
Jeremyfurther info..
I've pulled these variables out of the java code and added them to the pairsfile which gets rid of the null value problem but now it returns a tns error..
s_isDBCluster=Y
s_rachostlist=dxd1db01-ib
s_racdomain=xxxxxxxxxxxxxxx
s_racsidlist=EBSDBA
s_racportlist=1535
s_rachostlist=dxd1db02-ib
s_racvirtualhostlist=dxd1db02-ib
s_racinstnumlist=2
s_clusterInterConnects=dxd1db02-priv
we noticed that s_rachostlist is used for two different values in the java code, interactilvey this value is prmpted for twice using the same variable - this may be causing our problem.
strangely when run interactively the tns connectivity details are the same as when run interactively, the first works the latter doesn't ...
we're thinking this could be a bug...
Cheers
Jeremy -
Hi everybody !
AT&T company is unlocked (factory)my iphone4 before 3 days ago so i want to restore to unlock iphone 4 with itunes but it is not restore.
How can I fix this type of error in iphone 4?- "The iphone could not be restored. An unknown error occurred (3194) "
please help me in nepali language(if posible) or english. thank you.http://support.apple.com/kb/TS3694#error3194
This means that either your firewall/antivirus is blocking access to Apple's servers, or you have used your computer to jailbreak an iDevice in the past. The link above tells you how to resolve this issue. -
my ipad 3 is stuck in the "connect to itunes" mode. whether i restart or try to restore. when i try to restore itunes gives an error message saying an unknown error occurred (-1). any help.
That error sometimes indicates a hardware problem. See 2nd link below.
Update and restore alert messages on iPhone, iPad, and iPod touch
http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
iOS: Resolving update and restore alert messages
http://support.apple.com/kb/TS1275
iPad: Unable to update or restore
http://support.apple.com/kb/ht4097
Take it to an Apple Store for evaluation.
Make a Genius Bar Reservation
http://www.apple.com/retail/geniusbar/
Cheers, Tom -
"RC-50004: Error occurred in CloneContext" during R12 cloning
Hi,
I have installed Oracle Apps R12 on Linux server.
The installation was smooth with no issues.
Now I am doing cloning using rapid clone on the same server.
I ran the preclone on db and apps tier of source.
Then I shutdown apps + db and copied to target instance directories.
Now I am running the adcfgclone on db tier (the first step)
I run adcfgclone as orasimp user (not root)
I get the following error immed after I start the adcfgclone.
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:697)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4801)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
What could be the reason?
Thanks,
DRHi,
Refer to the following documents.
Note: 460391.1 - CloneContext detects incorrect platform on AIX
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=460391.1
Note: 443667.1 - Rc-50004: Error Occurred In Clonecontext
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443667.1
Regards,
Hussein -
ýesterday my iphone 5c screen suddendly shows connect to itune and i try to restore it using itune but halfway i got a message error occured (14). please help me in solving this problem.
what did you learn when you search the internet for iPhone error 14?
-
Hi,
The iPhone could not be restored. An unknown error occurred (14). [Help me]
My Ipone is 3G - 16 GB
and I am using itune 8.2.1.6
and I want to update my Iphone to 3.0.1
and I am facing this problem when I trying to restore before updating the iphone.
This is screen shot of the error message > http://amaiub.net/vb/imgupload/uploads/ce7d96353ab6243af234d794764a9901.JPG
Thanks in Advance.I just had the same problem at least a half hour ago! I re-tired everything at least 3 times then it complete wipped my phone out!! THEN I got it to ask for restore from my last session only for it to not work again! Its very frusterating now phone is starting over from scratch which worries me all the time thinking everying wont be there when its done. This new software to me was more of a problem then fixing the problems. I tried to work on my friends new ipod touch she got and this update did the same exact thing to her ipod touch we had to take it back she didnt even have it for a day!!
-
when i sync my ringtone to my phone, it pop up a message" unknown error occurred -54", please help me!! thank you!!!
http://www.lmgtfy.com/?q=The+iPhone+couldn%27t+be+restored.+An+unknown+error+occ urred+(12)
Maybe you are looking for
-
Hello experts, can anybody let me know the reason for asset write-up and write-down, how we need to do that.
-
How to do a Flash chat on my website
hi im new pls forgive my foolishness, but can you please tell me how to contruct a flash chat room for my site, i want to be able to talk to a lot of people with out them being able to talk to each other, so maybe something like meebo.com, which open
-
Hi I've been using nokia 5800 since april 2010 and it was running good . Today i was talkling using the skype and suddenly it restarted and since that time my phone just start but no options r working at all . Is there any slution for that? Even i c
-
I'm having trouble viewing a flash video that I've inserted using: Insert, Media, Flash Video. I can view the video ok in IE7 and Firefox when I preview the page from Dreamweaver, but not online. http://www.swail.com/Untitled-1.html (sample page with
-
Aperture 2.1 stuck or freezing when started
After the splash screen when I see the main screen, the beachball starts and doesn't stop. Except for the beachball the application freezes? I'm not sure what to do, I've rebooted,restarted I'm out of options. I'm in the middle of uploading a wedding