Error running adcfgclone.pl dbconfig post-clone
Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
afdbprf.sh INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
adcrobj.sh INSTE8_APPLY 1
Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor" This is impossible because all the info in the TNSNames file is set correctly.
Please post the details of the application release, database version and OS.
Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
afdbprf.sh INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
adcrobj.sh INSTE8_APPLY 1
Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor" This is impossible because all the info in the TNSNames file is set correctly.Please search the log file for afdbprf.sh and adcrobj.sh scripts and you should find more details about the error around the file names.
Was the database created successfully? Please make sure the database is up and it is open along with the database listener.
Please see if (Autoconfig Error On Dbtier After Upgrade - afdbprf.sh and adcrobj.sh fail with ORA-27101: shared memory realm does not exist [ID 422709.1]) is applicable.
Thanks,
Hussein
Similar Messages
-
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 -
Hi. In running post clone on db tier I am getting following error for log permissions:
$ cd /FIS/app/DEV/oracle/product/9.2.0/appsutil/clone/bin
$ perl adcfgclone.pl dbTechStack
Enter the APPS password [APPS]:
password
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
The file access permissions do not allow the specified action.
sh: /tmp/adcfgclone.err: 0403-005 Cannot create the specified file.
The file access permissions do not allow the specified action.
sh: /tmp/adcfgclone.res: 0403-005 Cannot create the specified file.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
Which directory specifiically is this writing logs to? If its the /FIS/app/DEV/oracle/product/9.2.0/appsutil/clone directory then the permissions are already
drwxr-xr-x 9 oradev
Its kind of important I get this done soon.
Thanks for any advise.
DAActually I just created more permissions on the .err and . res files in /tmp and post clone worked.
Now I am trying to do control file recreation but failing with this:
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name PROD in file header does not match given name of DEV
ORA-01110: data file 1: '/FIS/oradata/DEV/data/system01.dbf'
I have doen backup control file to trace, then edited the script to change to DEV. The script now reads:
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "DEV" NORESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 1361
LOGFILE
GROUP 1 (
'/FIS/oradata/DEV/redo/log01a.dbf',
'/FIS/oradata/DEV/redo/log01b.dbf'
) SIZE 50M,
GROUP 2 (
'/FIS/oradata/DEV/redo/log02a.dbf',
'/FIS/oradata/DEV/redo/log02b.dbf'
) SIZE 50M,
GROUP 3 (
'/FIS/oradata/DEV/redo/log03a.dbf',
'/FIS/oradata/DEV/redo/log03b.dbf'
) SIZE 50M,
GROUP 4 (
'/FIS/oradata/DEV/redo/log04a.dbf',
'/FIS/oradata/DEV/redo/log04b.dbf'
) SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/FIS/oradata/DEV/data/system01.dbf',
'/FIS/oradata/DEV/data/system02.dbf',
'/FIS/oradata/DEV/data/system03.dbf',
'/FIS/oradata/DEV/data/system04.dbf',
'/FIS/oradata/DEV/data/system05.dbf',
'/FIS/oradata/DEV/data/rbs01.dbf',
'/FIS/oradata/DEV/data/ctxd01.dbf',
'/FIS/oradata/DEV/data/owad01.dbf',
'/FIS/oradata/DEV/data/dba247_01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA10.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA11.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA12.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX10.dbf',
'/FIS/oradata/DEV/data/tools02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX11.dbf',
'/FIS/oradata/DEV/data/tools03.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES03.dbf',
'/FIS/oradata/DEV/data/tools04.dbf',
'/FIS/oradata/DEV/data/APPS_TS_ARCHIVE03.dbf',
'/FIS/oradata/DEV/data/tools05.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX12.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES04.dbf',
'/FIS/oradata/DEV/data/tools06.dbf',
'/FIS/oradata/DEV/data/tools07.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA13.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA14.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES05.dbf',
'/FIS/oradata/DEV/data/tools08.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX13.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA15.dbf',
'/FIS/oradata/DEV/data/APPS_TS_ARCHIVE04.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES06.dbf',
'/FIS/oradata/DEV/data/system06.dbf',
'/FIS/oradata/DEV/data/discod01.dbf',
'/FIS/oradata/DEV/data/noetixd01.dbf',
'/FIS/oradata/DEV/data/qasd01.dbf',
'/FIS/oradata/DEV/data/tools01.dbf',
'/FIS/oradata/DEV/data/olapd01.dbf',
'/FIS/oradata/DEV/data/disco4id01.dbf',
'/FIS/oradata/DEV/data/lbl4id01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_SEED01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_INTERFACE01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_SUMMARY01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_NOLOGGING01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_ARCHIVE01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_QUEUES01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_MEDIA01.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA03.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA04.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA05.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA06.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA07.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA08.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_DATA09.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX03.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX04.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX05.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX06.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX07.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX08.dbf',
'/FIS/oradata/DEV/data/APPS_TS_TX_IDX09.dbf',
'/FIS/oradata/DEV/data/APPS_TS_SEED02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_NOLOGGING02.dbf',
'/FIS/oradata/DEV/data/APPS_TS_ARCHIVE02.dbf',
'/FIS/oradata/DEV/data/rbs02.dbf',
'/FIS/oradata/DEV/data/interim.dbf'
CHARACTER SET US7ASCII
I have done this before and it worked ... Metalink doesnt help much right now. Another problem!! -
Error while running post clone on DB tier
Hi,
While running post clone on DB tier (12.1.1 version), I am getting the following error
Creating the control file for faat1212_jsrc-cn4 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Mar 8 18:24:10 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ORA-01012: not logged on
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Mar 8 18:24:11 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
.end std out.
.end err out.
I am running the script only as oracle user and I also checked in the context file for the "dbuser", it also shows oracle user.
Please help
Thanks
SasiHi,
I copied the ORACLE_HOME again and ran the post clone on DB tier again. This time I am getting the following error
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-01092: ORACLE instance terminated. Disconnection forced
Process ID: 6001
Session ID: 400 Serial number: 3
ERROR:
ORA-03114: not connected to ORACLE
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Tue Mar 9 02:20:04 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Disconnected from ORACLE
These are the last few lines in the alert log
+ORA-07445: exception encountered: core dump [PC:0x3D7E4214] [SIGSEGV] [ADDR:0xF718BE] [PC:0x3D7E4214] [Address not mapped to object] []+
Incident details in: /u02/app/oracle17/tech_st/11.1.0/admin/faat1212_jsrc-cn4/diag/rdbms/faat1212/faat1212/incident/incdir_2530/faat1212_ora_6247_i2530.trc
+Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0xB6F6A224] [PC:0x94EA856, {empty}]+
Errors in file /u02/app/oracle17/tech_st/11.1.0/admin/faat1212_jsrc-cn4/diag/rdbms/faat1212/faat1212/trace/faat1212_ora_6247.trc (incident=2531):
+ORA-07445: exception encountered: core dump [PC:0x94EA856] [SIGSEGV] [ADDR:0xB6F6A224] [PC:0x94EA856] [Address not mapped to object] []+
+ORA-07445: exception encountered: core dump [PC:0x3D7E4214] [SIGSEGV] [ADDR:0xF718BE] [PC:0x3D7E4214] [Address not mapped to object] []+
Incident details in: /u02/app/oracle17/tech_st/11.1.0/admin/faat1212_jsrc-cn4/diag/rdbms/faat1212/faat1212/incident/incdir_2531/faat1212_ora_6247_i2531.trc
+Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x1] [PC:0xAF3B863, {empty}]+
Tue Mar 09 03:20:08 2010
Sweep Incident[2546]: completed
Sweep Incident[2545]: completed
Sweep Incident[2538]: completed
Sweep Incident[2537]: completed
Please help..Thanks a lot in advance
Regards
Sasi -
HTTP 500 Internal Server Error while starting AppsTier post-clone
Hello,
Adcfgclone scripts on both DB and App Tiers, as well as Adautocfg scripts, complete successfully but I am faced with a "HTTP 500 Internal Server Error" and "The website cannot display the page" through IE when starting R12 Apps post clone. So far I have run a script on the cloned environment to synchronize the Workflow tables with APPS user, and re-ran autoconfig on both DB and App Tiers, but I still see the 500 error.
Any other pointers? Thanks in advance!Adcfgclone scripts on both DB and App Tiers, as well as Adautocfg scripts, complete successfully but I am faced with a "HTTP 500 Internal Server Error" and "The website cannot display the page" through IE when starting R12 Apps post clone. So far I have run a script on the cloned environment to synchronize the Workflow tables with APPS user, and re-ran autoconfig on both DB and App Tiers, but I still see the 500 error.
Any other pointers? Thanks in advance!What does "adopmnctl.sh status" return?
The error you are getting "HTTP 500 Internal Server Error" is a generic one, please check Apache log files and the application.log file for details about the error.
R12: Troubleshooting 500 Internal Server Error in Oracle E-Business suite [ID 813523.1]
Http 500 : Internal Server Error When Login To A New Cloned Environment [ID 781413.1]
Also, please confirm that you have no errors in the database log file.
Thanks,
Hussein -
I am getting below error while running adcfgclone on APPS tier
ERROR : Unable to set CLASSPATH
/corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is missing
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_29475.err file for errors
i copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_30763.err file for errorsPlease post the details of the application release, database version and OS.
ERROR: context creation not completed successfully
This is a generic error, please check the log files for details about the error.
Thanks,
Hussein -
Error in Instantiate Phase (adcrdb.sh) during adcfgclone.pl dbconfig
Hello,
I am finishing an environmental clone from PRD->TST and am running the adcfgclone.pl dbconfig (because controlfiles will not be created) portion to configure the target database. It progresses to the point of DB Application and then errors out with the below message. I have verified that the file itself exists on the target DBTier, and that the permissions are correct on the file. Has anyone seen this before, or could they recommend anything? Thanks in advance.
+[AutoConfig Error Report]+
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
+<filename> <phase> <return code where appropriate>+
+[INSTANTIATE PHASE]+
AutoConfig could not successfully instantiate the following files:
Directory: /u01/oracle/xxxTST/db/tech_st/11.1.0/appsutil/install/xxxTST_xxxtstxx
adcrdb.sh INSTE8
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabaseCorrect. After searching the log file, it explains to me that adcrdb.sh is missing from the <$ORACLE_HOME>/appsutil/template directory. So, I copy the file from the Source<$ORACLE_HOME>/appsutil/template to the Target <$ORACLE_HOME>/appsutil/template directory. Immediately upon kicking off the adcfgclone.pl dbconfig again it is deleted. This is very strange. Am I missing something?
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
-rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory
[oracle@x07tst00 template]$ ls -lrt adcrdb.sh
ls: adcrdb.sh: No such file or directory -
Hello,
I am facing post-clone error on 11i O.S aix 5.3 when i run post-clone script on db it got error.share any solution is highly appreciable
$ perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
RC-50004: Error occurred in CloneContext:
null
Check logfile CloneContext_01210431.log for details.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
Thanks,
MAAN
Edited by: user1116442 on Jan 20, 2011 3:40 AMHello,
Yes i run sh orainstRoot.sh as root user after running orainstRoot.sh script as root user i run adcfgclone.pl script but it still getting error.
The 806 installer uses the oratab file.
The file oratab needs to exist at:
/etc/oratab
Please run the script /tmp/orainstRoot.sh as root
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /apps/oracle/orcldb/9.2.0/appsutil/clone/bin/adclone.pl
This error little bit change from above mention error which come at first time after running sh orainstRoot.sh.kindly look at this.
I didn't run adclone.pl as it saying in error Restart adclone.pl after performing required corrections.
i am asking you should i run adclone.pl as it in above error.and please tell how can i run adclone.pl..is it run as perl adclone.pl dbTier....?
Thanks, -
Error while running adcfgclone on apps tier
I am getting the following error while running adcfgclone on the apps tier...
OS: RHEL 5.5 64bit
Oracle 10.2.0.3
EBS R12.0.4 Multinode
DB Tier and APPS Tier on different nodes.
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 moreon the checking the logfile I am getting the following error
Executable : /do5_apphome/apps/tech_st/10.1.2/bin/sqlplus
SQL*Plus: Release 10.1.0.5.0 - Production on Fri Mar 30 11:12:06 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Enter value for 4: ERRO R:
ORA-12560: TNS:protocol adapter error
igccmprf.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP BIS_TOP AMS_T OP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP IGS_TOP IBY_ TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP FTE_TOP ONT_ TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOPI have successfully run rapidclone on db tier without any errors..Kindly advice me what to do to get my apps up and running..Database is already up and running!Mr Hussein ,
I guess it is an issue with autoconfig. So i tried to run auto config manually and got the following error which I would like you to have a look at
ADX Database Utility
getConnection() -->
sDbHost : devdb
sDbDomain : erp.local
sDbPort : 1551
sDbSid : dev
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@devdb.erp.local:1551:dev
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devdb.erp.local)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=dev.erp.local)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Verifying connection to the Database : Could not be stablished
No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
Listener Port no 1521 -
Error when running adcfgclone.pl on dbTier
Hi Guru's,
Am currently performing a cloning on EBS 11.5.10.2 running on RHEL AS 3.0 (Taroon Update 6).
I followed all the correct procedures on the source system,including running of adpreclone on both tiers and running autoconfig,and every step completed sucessfully.I then copied all the 5 folders to the target system.
I ensured all the pre-requisite checks are completed including applying Patch 3006854 on the target,after which i run adcfgclone.pl on dbTier.......
It went upto about 50% then errored out as follows.
Kindly assist me.Below is a portion of the log file that contains that errors.
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml
dest : /home/oracle/selfdb/9.2.0/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml
backup : /home/oracle/selfdb/9.2.0/inventory/Patches21/oracle.xml.classgen.java/9.2.0.6.0/context.xml to /home/oracle/selfdb/9.2.0/appsutil/out/self_self/context901.xml
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/inventory/Templates/rdbms/demo/aqxml.conf
dest : /home/oracle/selfdb/9.2.0/inventory/Templates/rdbms/demo/aqxml.conf
backup : /home/oracle/selfdb/9.2.0/inventory/Templates/rdbms/demo/aqxml.conf to /home/oracle/selfdb/9.2.0/appsutil/out/self_self/aqxml3.conf
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/odisrvreg
dest : /home/oracle/selfdb/9.2.0/bin/odisrvreg
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/odisrvreg /home/oracle/selfdb/9.20.0/appsutil/out/self_self/odisrvreg" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/odisrvreg to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/odisrvreg
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/schemasync
dest : /home/oracle/selfdb/9.2.0/bin/schemasync
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/schemasync /home/oracle/selfdb/9.20.0/appsutil/out/self_self/schemasync" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/schemasync to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/schemasync
setting ownership: root:root
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/bin/emwebsite
dest : /home/oracle/selfdb/9.2.0/bin/emwebsite
AC-50401: Command: su root -c "cp /home/oracle/selfdb/9.2.0/bin/emwebsite /home/oracle/selfdb/9.20.0/appsutil/out/self_self/emwebsite" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
backup : /home/oracle/selfdb/9.2.0/bin/emwebsite to /home/oracle/selfdb/9.20.0/appsutil/out/self_self/emwebsite
setting ownership: root:rootThe last few lines of the log are as follows:-
ApplyDBTechStack Completed Successfully.
# Calling ApplyDatabase...
Executing runInstallDriver...
Started unzipping files...
UNZIP used: UnZip 5.50 of 17 February 2002, by Info-ZIP. Maintained by C. Spieler. Send
Verifying correctness of adcrdbclone.sql
Instantiating /home/oracle/selfdb/9.2.0/appsutil/template/adcrdbclone.sql to /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql
Clustered Database: false
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/template/adcrdbclone.sql
dest : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak
AC-00439: Creation of file /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
instantiate file:
source : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak
dest : /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql
AC-00444: Unable to write to file: java.io.FileNotFoundException: /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql.bak (No such file or directory)
Raised by oracle.apps.ad.autoconfig.InstantiateFile
setting permissions: /tmp/adcrdbclone.sql a+r
AC-00425: Setting permissions failed for file: /tmp/adcrdbclone.sql
Raised by oracle.apps.ad.autoconfig.InstantiateFile
AC-50401: Command: su root -c "cp /tmp/adcrdbclone.sql /home/oracle/selfdb/9.2.0/appsutil/install/self_self/adcrdbclone.sql" failed
Raised by oracle.apps.ad.autoconfig.InstantiateFile
StackTrace:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1591)
at oracle.apps.ad.util.SystemCheck.setPermissions(SystemCheck.java:1247)
at oracle.apps.ad.clone.ApplyDatabase.runInstallDriver(ApplyDatabase.java:810)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:406)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479) -
When run adcfgclone.pl gives error
Hi,
when run adcfgclone.pl appTier it gives error pleas have a look steps i did and Errors file below.
Target System Database SID : dev
Target System Database Server Node [erpdev] : devdata.npfco.com
Target System Base Directory : /oracle/PROD
Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
Target System Instance Home Directory [oracle/PROD/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
Target System Display [erpdev:0.0] :
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
Do you want to continue (y/n) ? : y
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] : 3
Checking the port pool 3
done: Port Pool 3 is free
Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
RC-40201: Unable to connect to Database dev.
Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml.bak
Creating the new APPL_TOP Context file from :
/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log
Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1116232223.log for details.
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running Rapid Clone with command:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
Running:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
APPS Password :
Beginning application tier Apply - Mon Nov 16 23:23:21 2009
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11162323.log
/ 90% completed
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V[applmgr@erpdev 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.20.12000000.12
Enter the APPS password :
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running:
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /oracle/PROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_18493.lst -stage /oracle/PROD/apps/apps_st/comn/clone 2> /tmp/adcfgclone_18493.err; echo $? > /tmp/adcfgclone_18493.res
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [erpdev] :
Target System Database SID : dev
Target System Database Server Node [erpdev] : devdata
Target System Base Directory : /oracle/PROD
Target System Tools ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [oracle/PROD/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [oracle/PROD/apps/apps_st/appl] :
Target System COMMON_TOP Directory [oracle/PROD/apps/apps_st/comn] :
Target System Instance Home Directory [oracle/PROD/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [erpappl:0.0] (y/n) ? : n
Target System Display [erpdev:0.0] :
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/PROD/inst/apps/dev_erpdev. A directory with this name already exists and is not empty.
Do you want to continue (y/n) ? : y
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] : 51
Checking the port pool 51
done: Port Pool 51 is free
Report file located at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
Complete port information available at /oracle/PROD/inst/apps/dev_erpdev/temp/portpool.lst
RC-40201: Unable to connect to Database dev.
Backing up /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml to /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml4.bak
Creating the new APPL_TOP Context file from :
/oracle/PROD/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml
Log file located at /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log
Check Clone Context logfile /oracle/PROD/apps/apps_st/comn/clone/bin/CloneContext_1117063328.log for details.
/oracle/PROD/apps/apps_st/comn/clone/bin/adchkutl.sh: line 80: [: 5.2: integer expression expected
Running Rapid Clone with command:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
Running:
perl /oracle/PROD/apps/apps_st/comn/clone/bin/adclone.pl java=/oracle/PROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/oracle/PROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml showProgress contextValidated=true
APPS Password :
Beginning application tier Apply - Tue Nov 17 06:34:12 2009
/oracle/PROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/PROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/java:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/oracle/PROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /oracle/PROD/inst/apps/dev_erpdev/appl/admin/dev_erpdev.xml -stage /oracle/PROD/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /oracle/PROD/inst/apps/dev_erpdev/admin/log/ApplyAppsTier_11170634.log
\ 89% completed
RC-50004: Fatal: Error occurred in ApplyAppsTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.java:590)
at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558)
at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
... 6 more -
ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier
Hi,
I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
Following is the log from the adcfgclone.pl as it fails;
Creating the control file for CLONE_test database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2160600 bytes
Variable Size 427821096 bytes
Database Buffers 624951296 bytes
Redo Buffers 14004224 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
*+
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
alter database open resetlogs
*+
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
*+
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
*+
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2160600 bytes
Variable Size 427821096 bytes
Database Buffers 624951296 bytes
Redo Buffers 14004224 bytes
ORA-03113: end-of-file on communication channel
Process ID: 1278120
Session ID: 1105 Serial number: 3
ERROR:
ORA-03114: not connected to ORACLE
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Connected.
ORA-01031: insufficient privileges
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
ERROR:
ORA-01012: not logged on
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 Mon Sep 6 10:33:12 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
+.end std out.+
+.end err out.+
I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip -q -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
Done...
+#############################################################+
StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
Status: Completed Successfully
+#############################################################+
Please advice.
RegardsHi user:
1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
3. Please can you describe what permissions as from root user it was done as
chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
Regard
Helios -
hi i'm performing hot backup cloning & when i run adcfgclone on apps tier....it is getting failed.here is my logfile.......single node....
Started ApplyAppsTier at Tue Dec 14 14:42:09 GMT+05:30 2010
Version:
ApplyAppsTier.java : 120.4
# Calling ApplyAppsTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_weboh_oh...
Registration Driver not available
/clonehot/apps/apps/tech_st/10.1.3/appsutil/driver/regclone.drv
Using default registration.
copying /clonehot/apps/apps/tech_st/10.1.3//jlib/ojmisc.jar into jdk/jre/lib
checking - /clonehot/apps/apps/tech_st/10.1.3//oraInst.loc
checking - /etc/oraInst.loc
Validating oraInst.loc - /etc/oraInst.loc
oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventory
checking - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
Validating oraInst.loc - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
Found oraInst.loc at - /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc
The given ORACLE_HOME_NAME : WEBOH_PROD
This ORACLE_HOME_NAME is not registered in the inventory
running OUI CLI home cloning:
/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD
Executing command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" Tue Dec 14 14:42:10 GMT+05:30 2010
Command returned
ERRORCODE = 127 ERRORCODE_END
.end std out.
/bin/sh: /clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller: No such file or directory
.end err out.
Command sh -c "/clonehot/apps/apps/tech_st/10.1.3/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /clonehot/apps/inst/apps/PROD_apps/admin/oraInst.loc session:ORACLE_HOME=/clonehot/apps/apps/tech_st/10.1.3/ oracle.as.j2ee.top:s_asInstanceName=WEBOH_PROD oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=WEBOH_PROD ; echo ERRORCODE = $? ERRORCODE_END" failed. Tue Dec 14 14:42:10 GMT+05:30 2010
OUI CLI cloning failed.
Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more details
Attempting to restore /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini.ouibak to /clonehot/apps/apps/tech_st/10.1.3/oui/oraparam.ini
Edited by: vandana on Dec 14, 2010 1:16 AMHi,
oraInst.loc (/etc/oraInst.loc) points to directory without permissions: /u01/app/oracle/oraInventoryPlease make sure that applmgr user has read/write/execute permission on the oraInventory directory.
Please look in to the latest OUI log file located in the central inventory /clonehot/apps/inst/apps/PROD_apps/admin/oraInventory/logs/cloneActions_<timestamp> for more detailsAny details about the error in this log file?
Thanks,
Hussein -
Error while running adcfgclone on database tier please help me
Hello
I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
Executing script in InstantiateFile:
Attempting to create a back up of the Context file
Created back up file of name :
/home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.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 : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.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 Tue Dec 07 19:20:41 GMT+05:30 2010
found context version : 120.27
available update version : 120.27
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
Using version 120.8
Options:
Force : no
Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
===========================================================================
[ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/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
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
Directory exists
Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
File exists
Validation complete
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err out.
Skipping Profile Phase
Skipping Apply Phase
Starting DB listener with command:
/home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
You are running addlnctl.sh version 120.1
Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
Starting listener process CLONE ...
addlnctl.sh: exiting with status 0
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Verifying correctness of adcrdbclone.sql
Clustered Database: false
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
instantiate file:
source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
Updating:s_undo_tablespace:APPS_UNDOTS1:
Updating:s_database:db102:
Updating:isspfileexists:false:
Updating:s_dbfiles:512:
Executing Configuration Phase...
Deleting files of type INSTALL
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
File exists
File deleted
Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
File exists
File deleted
Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
AutoConfig Setup Phase
Running Setup Process 2 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
script returned:
Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Setup Phase
Running Setup Process 3 of 3 for AppsUtil
Executing script in InstantiateFile:
/home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
script returned:
afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
afmkinit.sh exiting with status 0
.end std out.
.end err 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 : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
The environment settings are as follows ...
ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
ORACLE_SID : CLONE
TWO_TASK :
PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
Creating the control file for CLONE_zishan database ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 427819780 bytes
Database Buffers 633339904 bytes
Redo Buffers 11317248 bytes
CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
.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 : zishan
sDbDomain : mahesh.dba
sDbPort : 1541
sDbSid : CLONE
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
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.ApplyDatabaseHi;
What is EBS and Db,OS?
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
*Did you run preclone on source before copy file to target?
Regard
Helios -
ORA-12514 error while running adcfgclone.pl
Dear Hussein,
We are cloning an R12 instance, while running adcfgclone.pl dbTier, we are gettign the below error:
============================================================
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : db1
sDbDomain : ******.com
sDbPort : 1551
sDbSid : ERPUAT
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@db1.******.com:1551:ERPUAT
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db1.******.com)(PORT=1551))(CONNECT_DATA=(SERVICE_NAME=ERPUAT.******.com)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
=============================================================
and in alert log file, there is below error:
=============================================================
alter database open resetlogs
ORA-1194 signalled during: alter database open resetlogs...
alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp01.dbf' REUSE...
alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE
ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/mnt/data/erpuat/db/apps_st/data/temp02.dbf' REUSE...
Sun Sep 13 23:53:24 2009
Shutting down instance (abort)
License high water mark = 1
USER (ospid: 1809): terminating the instance
Instance terminated by USER, pid = 1809
Sun Sep 13 23:53:25 2009
Instance shutdown complete
================================================
Please suggest
Bilal
Edited by: user5499416 on Sep 14, 2009 12:24 AM
Edited by: user5499416 on Sep 14, 2009 12:52 AMBilal,
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directoryPlease verify that the database was created successfully and it is up and running.
Regards,
Hussein
Maybe you are looking for
-
Accessing functions in an existing DLL
I have waded through stacks of info about how to use the JNI to access native functions etc. I have written my class and compiled it, created the header file, written the c++ code to call the DLL but I fall at the last hurdle when I try to create the
-
Ok I dont know if its just staring at me ridiculing me but I am feeling like an idiot here... I have an 871 and all I need to do is some basic rules.. Here is the config I am having the issue with... I need these statics: .227 opened and forwarded t
-
hi i have the next code: PROVIDE * FROM p0001 FROM p0002 FROM p0006 BETWEEN PN-BEGDA AND PN-ENDDA. if ( P0006-subty = '1' ). it_alv-pernr = pernr-pernr. it_alv-begda = p0001-begda. it_alv-endda = p0001-endda. it_alv
-
Logic 8 and ProTool 7.4 on same machine?
Does Logic 8 and ProTools 7.4 HD play together ok installed on the same machine? OS is 10.411.
-
Quick for timestamp when naming a file in save dialog?
I would like to be able to add a timestamp when naming a file in the save dialog. The reason is that it will give me a quick way to name a file when the rest of the file name I have entered might conflict with a file of the same name. Is there a quic