Error in control file
I think I originally posted this in the wrong area:
When starting up my database, I get:
ORA-00205: error in identifying controlfile, check alert log for more info
The Alert log shows:
ORA-00204: error in reading (block 1, # blocks 1) of controlfile
ORA-00202: controlfile: '/db/oradata/dal00pi1/control01.ctl'
ORA-27091: skgfqio: unable to queue I/O
ORA-27072: skgfdisp: I/O error
SVR4 Error: 5: I/O error
Additional information: 1
Can I fix this without tearing down and rebuilding the DB?
Does the file '/db/oradata/dal00pi1/control01.ctl' exist? If not, do you have multiple copies of the control file? If so, you should be able to copy one from another location to the location that is missing the control file. If you do not have multiple control files, you will will need to go to your backups.
Similar Messages
-
I have a problem while installing 9iAS R2 on RH LInux 8.
When database configuration assistant starts during the installation of 9iAS infrastructure, it gives an error "Error creating CONTROL FILE" followed by many other errors.
Please help me out.
ZulqarnainI had the same problem, but with RH9
To fix, I ran orapwd from the $ORACLE_HOME/bin directory to create a password file called orapw. Then I moved this file to the directory where the configuration assistant complains it cannot find the file. Fixed. Obviously, just ignore the errors from the configuration assistant about the CONTROL FILE until it tells you the location of the file it is looking for. -
Error While Control File Creation
Hi Experts,
i'm trying to create control file but i'm getting following error.
SQL> CREATE CONTROLFILE
2 SET DATABASE venk
3 LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\venk\redo01_01.log',
4 'C:\oracle\product\10.2.0\oradata\venk\redo01_02.log'),
5 GROUP 2 ('C:\oracle\product\10.2.0\oradata\venk\redo02_01.log',
6 'C:\oracle\product\10.2.0\oradata\venk\redo02_02.log'),
7 GROUP 3 ('C:\oracle\product\10.2.0\oradata\venk\redo03_01.log',
8 'C:\oracle\product\10.2.0\oradata\venk\redo03_02.log')
9 RESETLOGS
10 DATAFILE 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf' SIZE 3M,
11 'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs' SIZE 5M,
12 'C:\oracle\product\10.2.0\oradata\venk\users01.dbs' SIZE 5M,
13 'C:\oracle\product\10.2.0\oradata\venkemp01.dbs' SIZE 5M
14 MAXLOGFILES 50
15 MAXLOGMEMBERS 3
16 MAXLOGHISTORY 400
17 MAXDATAFILES 200
18 MAXINSTANCES 6
19 ARCHIVELOG;
CREATE CONTROLFILE
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 384 (blocks), but should match header 60160
ORA-01110: data file 1: 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf'
SQL>I'm search in google.
ORA-01163:
SIZE clause indicates string (blocks), but should match header string
Cause: The size specified in bytes in the SIZE clause of the CREATE CONTROLFILE statement does not equate to the number of blocks recorded in the header.
Action: Specify the correct filename and size ( in bytes ).But i don't know how to check the SIZE of header .. Pls HelpThanks for your help.
@phaeus .. i really don't know enough or not ..i'm just learning in my own system.
@mseberg Now getting below error.
SQL> CREATE CONTROLFILE
2 SET DATABASE venk
3 LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\venk\redo01_01.log',
4 'C:\oracle\product\10.2.0\oradata\venk\redo01_02.log'),
5 GROUP 2 ('C:\oracle\product\10.2.0\oradata\venk\redo02_01.log',
6 'C:\oracle\product\10.2.0\oradata\venk\redo02_02.log'),
7 GROUP 3 ('C:\oracle\product\10.2.0\oradata\venk\redo03_01.log',
8 'C:\oracle\product\10.2.0\oradata\venk\redo03_02.log')
9 RESETLOGS
10 DATAFILE 'C:\oracle\product\10.2.0\oradata\venk\system01.dbf',
11 'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs',
12 'C:\oracle\product\10.2.0\oradata\venk\users01.dbs',
13 'C:\oracle\product\10.2.0\oradata\venkemp01.dbs'
14 MAXLOGFILES 50
15 MAXLOGMEMBERS 3
16 MAXLOGHISTORY 400
17 MAXDATAFILES 200
18 MAXINSTANCES 6
19 ARCHIVELOG;
CREATE CONTROLFILE
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'C:\oracle\product\10.2.0\oradata\venk\rbs01.dbs'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
SQL>@orafad Thanks for your link :) .i'm referring this link
http://docs.oracle.com/cd/E11882_01/server.112/e25494/control003.htm
any way pls help to resolve this issue . So that in future if this kind of issue came i can solve my self. -
Strange Corrupt Block Error in Control File not in CONTROL_FILES
When in RMAN connected to the TARGET and CATALOG I issue a RESYNC CATALOG I get this error:
RMAN> RESYNC CATALOG;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of resync command on default channel at 08/17/2009 10:36:59
ORA-00227: corrupt block detected in control file: (block 15, # blocks 1)
ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\DATABASE\SNCFEBIZ01PD.ORA'
RMAN>
This control file is in the Oracle Windows default dir but I am not using it and did not create it.
My control files listed in the init.ora are:
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string E:\ORACLE\ORADATA\EBIZ01PD\CNT
RL01.DBF, D:\ORACLE\ORADATA\EB
IZ01PD\CNTRL02.DBF, E:\ORACLE\
ORADATA\EBIZ01PD\CNTRL03.DBF
Any idea why this is happening?That is a SNAPSHOT CONTROLFILE, created by RMAN as a copy of the current controlfile.
Wonder how and why the copy is corrupted ? Check the timestamp of the file to see when it was created. A RESYNC will always create a fresh Snapshot Controlfile.
See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmarchi.htm#sthref65 -
ORA-00245: control file backup failed; target is likely on a local file sys
Hello,
our RAC (Linux, 11.2.0.3.0) is rather new and we are still on gaining experiences with that system...
When starting the backup with RMAN we are getting the following error:
Starting Control File and SPFILE Autobackup at 04-JUL-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 07/04/2012 16:41:48
ORA-00245: control file backup failed; target is likely on a local file system
The reason for the error is clear ORA-00245 - in a RAC environment the location of the Snapshot Controlfile must be on a shared location.
When executing the RMAN command "show all" on each node, we are getting
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # default
for node #1
and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # default
for node #2
When using a shared location for the Snapshot Controlfile do we still need to setup 2 different names for that file?
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD021.f'; # default
for node #1 and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD022.f'; # default
for node #2
Or should we configure just one Snapshot Controlfile?
The RMAN setup for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO..." must be changed on both nodes - correct?
Hopefully my question is clear enough - any help will be appreciated.
Rgds
JH
Edited by: VivaLaVida on 05.07.2012 11:41No, it must be configured on a shared storage:Not really required, i've RAC setup and snapshot is configured on local storage.
Configuring the RMAN Snapshot Control File Location
The snapshot control file is a copy of a database control file created in an operating system-specific location by Recovery Manager. RMAN creates the snapshot control file so that it has a consistent version of a control file to use when either resynchronizing the recovery catalog or backing up the control file. In Oracle RAC, the snapshot control file is only needed on the nodes on which RMAN performs backups; the snapshot control file does not need to be globally available to all instances in an Oracle RAC environment.
See below from doc.
http://docs.oracle.com/cd/B28359_01/rac.111/b28254/rman.htm#i455026 -
Error while creating control file
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sql
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL>CHETAN YADAV wrote:
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sqlWe can't debug what we can't see. And what we can't see is the contents of "c:\study\rose\c.sql".
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL> -
am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action. Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?
Hi,
Here is a similar thread for your reference:
There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
Hope this helps
Vincent Wang
TechNet Community Support -
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 -
Bursting Control file, Error!! Could not deliver the output for Delivery
Hi,
I am using bursting control file to send report output to email in R12.1.3.
If the report output is having data, it is working fine. if there is no data it is getting errored out with the below message.
"Error!! Could not deliver the output for Delivery channel:null "
In the report output i put "No data found", when i click on view output the output in application is showing as "NO DATA FOUND" in PDF .
"Bursting VMC Approved Purchase Orders for a period (XML Publisher Report Bursting Program)" got above error.
my requirement is if there is no data, still i require the output to email.
Thanks in Advance
Adina.Hi,
I am facing the same situation and want the bursting program to finish in normal even when there is no data.
Can you please let me know how you resolved this?
Thanks
RG -
I am getting error while creating Control file for a fla file upoad in HANA
Hi Experts,
I am getting the following error when I try to create crtrol file for a flat file extraction in SAP HANA.
Could not execute 'import data into table P935718."COPATBL" from 'COPATBL.csv' record delimited by '\n' fields ...'
SAP DBTech JDBC: [257] (at 14): sql syntax error: incorrect syntax near "into": line 2 col 1 (at pos 14)
Here is the code I have used to create control file after I creating the table.
import data
into table P935718."COPATBL"
from 'COPATBL.csv'
record delimited by '\n'
fields delimited by ','
optionally enclosed by '"'
error log 'P935718.COPATBL.err'
p935718 is my user ID, COPATBL is my table created, COPABL.CSV is a flat file.
Please help me in this regard.
Thanks,
GunaHello,
guessing from the error message it looks that you are trying to execute "import data" as SQL command.
Please note that import data is NOT SQL command but it is syntax for control file. You need to create file with this syntax on server and then use command: IMPORT FROM '/<path>/<filename>.ctl'
In a shortcut:
1.- create comma separated CSV file with your data - <source cvs>.csv
2.- upload CVS file to HANA server
3.- create the control file <filename>.ctl:
import data
into table <schema>."<table name>"
from '<source cvs>.csv'
record delimited by '
fields delimited by ','
optionally enclosed by '"'
error log '<file name>.err'
4.- execute command:
IMPORT FROM '/<path>/<filename>.ctl'
Please check following threads:
How to load CSV files into HANA
Will HANA supports Bulkload
Tomas -
Error in identifying control file
I have successfully moved or cloned a database, but having problem with the controfile creation.
Each time I run the create control file script and start the database, I get "ORA-00205: error in identifying control file".
When I do "sho parameter", it tells me that contral file is ora02/oracle/oradata, but no controlfile in that folder.
My question is when I run the following script, where is the control file saved?
CREATE CONTROLFILE SET DATABASE "MDB" RESETLOGS
MAXLOGFILES 20
MAXLOGMEMBERS 4
MAXDATAFILES 22
MAXINSTANCES 2
MAXLOGHISTORY 292
DATAFILE
CREATE CONTROLFILE SET DATABASE "MDB" RESETLOGS
MAXLOGFILES 20
MAXLOGMEMBERS 4
MAXDATAFILES 22
MAXINSTANCES 2
MAXLOGHISTORY 292
LOGFILEProblem resolved!
I followed the instruction in How to Recreate a Controlfile [ID 735106.1].
The part of the document I used is stated below as I just had to clean up my controlfile creation script:
It is important to delete everything above the "CREATE CONTROLFILE" and everything after the CHARACTER SET. Ensure you leave the semi colon. ";".In the above example we are choosing the NORESETLOGS option and running the database in archivelog mode. After successfully saving the script you are now able to recreate the controlfile. When shutting down the database ensure that you shutdown with the immediate option. -
Error while restore control file
Hi,
SQL> startup
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 130024128 bytes
Database Buffers 150994944 bytes
Redo Buffers 7139328 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup pfile='C:\oracle\init.ora';
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 92275392 bytes
Database Buffers 188743680 bytes
Redo Buffers 7139328 bytes
Database mounted.
Database opened.rman
C:\Documents and Settings\Siva Saravana Kumar>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 17:29:40 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys@mani
target database Password:
connected to target database: MANI (DBID=946337126)
RMAN> restore controlfile from autobackup;
Starting restore at 13-MAY-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=141 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/13/2013 17:30:05
RMAN-06496: must use the TO clause when the database is mounted or open
RMAN>i don't understand why am getting this error ? i used pfile for startup database .. Pls Help924575 wrote:
Shahrokh wrote:
Connect to RMAN like this. in command line
c:> set oracle_sid=your_dbname
C:> RMAN target /
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Siva Saravana Kumar>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 18:12:15 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys@mani
target database Password:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\Siva Saravana Kumar>set oracle_sid=mani
C:\Documents and Settings\Siva Saravana Kumar>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 18:20:40 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
C:\Documents and Settings\Siva Saravana Kumar>
Your OS user is not a member of the ora_dba group. -
Control file failed error while duplicating database using RMAN
I am using oracle database 10g R2 and trying to make a clone of the source database orcl on the same machine but with different directory structure with the name of test.
When i run the duplicate command to create test database, then following error is generted:
D:\>rman target sys@orcl nocatalog auxiliary /
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target database Password:
connected to target database: ORCL (DBID=1264668332)
using target database control file instead of recovery catalog
connected to auxiliary database: TEST (not mounted)
RMAN> @script.txt
RMAN> Run {
2> Allocate channel C1 type disk;
3> allocate auxiliary channel 'adisk_0' type DISK;
4> duplicate target database to "test";
5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
8> #delete obsolete;
9> }
allocated channel: C1
channel C1: sid=140 devtype=DISK
allocated channel: adisk_0
channel adisk_0: sid=157 devtype=DISK
Starting Duplicate Db at 11-NOV-11
contents of Memory Script:
set until scn 12926250;
set newname for datafile 1 to
"D:\TEST\ORADATA\SYSTEM01.DBF";
set newname for datafile 2 to
"D:\TEST\ORADATA\UNDOTBS01.DBF";
set newname for datafile 3 to
"D:\TEST\ORADATA\SYSAUX01.DBF";
set newname for datafile 4 to
"D:\TEST\ORADATA\USERS01.DBF";
set newname for datafile 5 to
"D:\TEST\ORADATA\EXAMPLE01.DBF";
set newname for datafile 6 to
"D:\TEST\ORADATA\GL.DBF";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 11-NOV-11
channel adisk_0: starting datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
channel adisk_0: restore complete, elapsed time: 00:01:46
Finished restore at 11-NOV-11
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M REUSE,
GROUP 2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M REUSE,
GROUP 3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M REUSE
DATAFILE
'D:\TEST\ORADATA\SYSTEM01.DBF'
CHARACTER SET WE8MSWIN1252
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
datafile 3 switched to datafile copy
input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
datafile 4 switched to datafile copy
input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
datafile 5 switched to datafile copy
input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
datafile 6 switched to datafile copy
input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
contents of Memory Script:
set until scn 12926250;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 11-NOV-11
channel adisk_0: starting incremental datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
channel adisk_0: restore complete, elapsed time: 00:00:07
channel adisk_0: starting incremental datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
channel adisk_0: restore complete, elapsed time: 00:00:16
starting media recovery
archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
C
archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
media recovery complete, elapsed time: 00:00:14
Finished recover at 11-NOV-11
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 230686720 bytes
Fixed Size 1248236 bytes
Variable Size 67109908 bytes
Database Buffers 155189248 bytes
Redo Buffers 7139328 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M REUSE,
GROUP 2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M REUSE,
GROUP 3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M REUSE
DATAFILE
'D:\TEST\ORADATA\SYSTEM01.DBF'
CHARACTER SET WE8MSWIN1252
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
RMAN> **end-of-file**
Script.txt
Run {
Allocate channel C1 type disk;
allocate auxiliary channel 'adisk_0' type DISK;
duplicate target database to "test";
}Kindly help?Moazzam wrote:
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
Kindly help?>Please check what is the value of parameter db_name in the standby database? It should be match with TEST name
Cheers -
Control File error while duplicating Database through Rman
Hi,
Oracle Ver: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
Os:Win Xp
I am trying to create a Standby through Rman....
I am using this Run Block to take backup of Primary Database.......
run {
allocate channel d1 type disk;
allocate channel d2 type disk;
setlimit channel d1 kbytes 2097150;
setlimit channel d2 kbytes 2097150;
backup incremental level 0 format 'e:\Oracle\standby\rman\df_%U' database
include current controlfile for standby;
sql "alter system archive log current";
backup
archivelog all format 'e:\Oracle\standby\rman\al_%U' delete input;
}After taking the Backup when I am trying to create the standby with Duplicate command it s giving me Error...
The Run Block I am using is ......
RMAN> run {
2> allocate auxiliary channel dup1 type disk;
3> allocate auxiliary channel dup2 type disk;
4> set newname for datafile 1 to 'E:\Oracle\standby\system01.dbf';
5> set newname for datafile 2 to 'E:\Oracle\standby\UNDOTBS01.DBF';
6> set newname for datafile 3 to 'E:\Oracle\standby\SYSAUX01.DBF';
7> set newname for datafile 4 to 'E:\Oracle\standby\USERS01.DBF';
8> duplicate target database for standby
9> dorecover;
10> }
allocated channel: dup1
channel dup1: sid=37 devtype=DISK
allocated channel: dup2
channel dup2: sid=36 devtype=DISK
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 02-OCT-08
contents of Memory Script:
set until scn 1105194;
restore clone standby controlfile;
sql clone 'alter database mount standby database';
executing Memory Script
executing command: SET until clause
Starting restore at 02-OCT-08
channel dup1: starting datafile backupset restore
channel dup1: restoring control file
channel dup1: reading from backup piece E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1
channel dup1: restored backup piece 1
piece handle=E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1 tag=TAG20081002T124502
channel dup1: restore complete, elapsed time: 00:00:01
output filename=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA
Finished restore at 02-OCT-08
sql statement: alter database mount standby database
released channel: dup1
released channel: dup2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/02/2008 13:01:43
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of sql command on clone_default channel at 10/02/2008 13:01:43
RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
*ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.0*
ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA'Why i am getting this Incomaptable Control File error inspite of Backing up the control File.....
Regards,
Prosenjit MukherjeeCheck the value for the parameter "COMPATIBLE" in the source and standby database instance parameter files.
"COMPATIBLE" should be the same.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70517
"... ensure the COMPATIBLE initialization parameter is set to the same value on both the primary and standby databases"
Edited by: Hemant K Chitale on Oct 2, 2008 4:09 PM
Added link and quote from 10g doc -
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.
Maybe you are looking for
-
Can't get wifi to turn on on my iphone
How do i reset my wifi. it will not turn on. It is dimmed
-
Where to install the software?
I bought the airport extreme base station router a couple of months ago, my macbook (purchased 1/078) zoomed through the internet from my home for about the first 3 months, now I can't connect at all. My question is this, after I connected everything
-
Blue color when photos brought in catalog
I am using PSE 6 - shot a series of daylight photos in Raw. (Have a Canon G9 - Lexar Prof. SDHC card). The colors look fine in the camera and also when displayed in the Photo Downloader. However, when they were brought into the catalog about 10 of
-
The website can not be displayed Forms 10.1.2.3 / IE8 / Windows 7
Hi, first the problem description: I run a Forms-web application from a shortcut on the desktop. For example: "C: \ Program Files (x86) \ Internet Explorer \ iexplore.exe" "http://k1r.bf.ia:7778/forms/frmservlet?config=sdb_Java" The resolution is a D
-
Macbook will not sleep automatically
Hi I've recently noticed that my Macbook will not sleep automatically, even when the power management is set to sleep at minimum (1 minute). It will sleep if I do it via the menu, however if I walk away from the machine with the lid up, it just won't