error: error at line 1: ORA-01503: CREATE CONTROLFILE failed
HelloI'm the sinister scene I enter my database in nomount, but when I run create controlfile command
It shows me an error:
My controlfile content is:
CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 30
MAXINSTANCES 1
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ' / test/opt/102/oradata/test/redo1.log' 100M, SIZE
GROUP 2 ' / test/opt/102/oradata/test/redo2.log' 100M, SIZE
GROUP 3 ' / test/opt/102/oradata/test/redo3.log' SIZE 100 m
DATA FILE
' / test/opt/102/oradata/test/system.dbf',
' / test/opt/102/oradata/test/undotbs1.dbf',
' / test/opt/102/oradata/test/sysaux.dbf',
' / test/opt/102/oradata/test/users01.dbf'
CHARACTER SET WE8ISO8859P1
;
After running this, I got the error below:
CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
*
ERROR on line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in the identification of file ' / test/opt/102/oradata/test/system.dbf'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
what goes wrong with this script.
Your disaster recovery operation became a disaster it seems :)
Try copying the available backup files and repeat the same thing.
Kind regards
CSM
Published by: CSM. DBA on July 30, 2012 11:50
Tags: Database
Similar Questions
-
Error at line 1: ORA-01503: creating the control file has no
Hello
I do disaster when I create controlfile by trace, I got an error
CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 30
MAXINSTANCES 1
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ' / test/opt/102/oradata/test/redo1.log' 100M, SIZE
GROUP 2 ' / test/opt/102/oradata/test/redo2.log' 100M, SIZE
GROUP 3 ' / test/opt/102/oradata/test/redo3.log' SIZE 100 m
DATA FILE
' / test/opt/102/oradata/test/system.dbf',
' / test/opt/102/oradata/test/undotbs1.dbf',
' / test/opt/102/oradata/test/sysaux.dbf',
' / test/opt/102/oradata/test/users01.dbf'
CHARACTER SET WE8ISO8859P1
;
CREATE CONTROLFILE SEt DATABASE 'test' RESETLOGS ARCHIVELOG
*
ERROR on line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in the identification of file ' / test/opt/102/oradata/test/system.dbf'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
I wrote something wrong?
Thank youI understand, but I couldnot restoration l datafile by rman restore command coz base not at the stage of editing!
Appear you are not using the rman backup catalog and controlfile to help register rman backup.
in this case if you recreate the controlfile to way you will lose all your information backup of controlfile.
better restore controlfile from piece of backup or AutoSave. as restore controlfile from "" -
ORA-01503: CREATE CONTROLFILE failed
Team,
DB = 10.2.0.1
OS RHEL AS 4 =
While im rename my database name HRMS by recreating the controlfile, im getting below error. I don't know how to solve this problem.
I followed all the steps correctly but anyway im not meeting this goal.
FYI...
SYS > @new_controlfile.sql
CREATE CONTROLFILE REUSE SET DATABASE "HRMS" RESETLOGS
*
ERROR on line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in the identification of file ' / home/oracle/database/HRMS/system01.dbf'
ORA-27037: unable to get file status
Linux error: 2: no such file or directory
Additional information: 3
Could you please help me solve this problem?
Thank you
HarryYou execute a CREATE CONTROLFILE statement.
All data files are listed.
The data files must reside in these places or the statement fails.
I don't see any problem. If the data files are in a different location, simply change the sql code.
As we do not have the content of the declaration, and you did not sb90275, what type of assistance do you need?------
Sybrand Bakker
Senior Oracle DBA -
ORA-01503: CREATE CONTROLFILE failed ORA-01160: file is not a data ORA file
Hi all
I tried to re-create a control file as it is not present, I am facing the following error.
Plaese help.
1. CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
MAXLOGFILES 2 5
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 14
MAXINSTANCES 5 1
6 MAXLOGHISTORY 226
LOGFILE 7
GROUP 8 1 ' C:\oracle\product\10.2.0\oradata\TEST\REDO01. NEWSPAPER "SIZE M 50,
9 GROUP 2 ' C:\oracle\product\10.2.0\oradata\TEST\REDO02. NEWSPAPER "SIZE M 50,
10 GROUP 3 ' C:\oracle\product\10.2.0\oradata\TEST\REDO03. NEWSPAPER "SIZE M 50
DATAFILE 11
12 ' C:\oracle\product\10.2.0\oradata\TEST\SYSTEM01. DBF',.
13 ' C:\oracle\product\10.2.0\oradata\TEST\UNDOTBS01. DBF',.
14 ' C:\oracle\product\10.2.0\oradata\TEST\EXAMPLE01. DBF',.
15 ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF',.
16 ' C:\oracle\product\10.2.0\oradata\TEST\SYSAUX01. DBF',.
17 ' C:\oracle\product\10.2.0\oradata\TEST\USERS01. DBF'
18 * CHARACTER SET WE8MSWIN1252
SQL > /.
CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
*
ERROR on line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01160: the file is not a data file
ORA-01110: data file: ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF'Rajini.V wrote:
Hi Fiedi,
Thanku for Quick response.I created could controlfile now, I must add datafile temp01.dbf
How is it already in the path statement.Rajini.V
You can use command below
alter tablespace temp add tempfile 'C:\oracle\product\10.2.0\oradata\TEST\TEMP01.DBF' reuse;
See you soon
-
Error Ora-600 - sql >; create spfile from pfile - ERROR at line 1: ORA-00600
Hello
I am facing the following question in the database pending,
Oracle 10g
SQL > create spfile from pfile;
Create spfile from pfile
*
ERROR on line 1:
ORA-00600: internal error code, arguments: [ksplrmfn1], [3059], [3059], [], [],.
[], [], []
After you have added the db_file_name_convert and log_file_name_convert in pfile. If I remove these two spfile parameters is created successfully.
Thank you.Here's the syntax exactly who i had given.
db_file_name_convert = "/ u02/proddata", "/ u02/proddata ', ' / u03/proddata", "proddata1/u04 /, ' / u04/proddata ', ' / u04/proddata '
log_file_name_convert = "/ u02/proddata", "/ u02/proddata ', ' / u03/proddata", "proddata1/u04 /, ' / u04/proddata ', ' / u04/proddata 'Carefully, see apostrophe ending 4th missed rope... Changed as below. Use it and try again :)
db_file_name_convert = "/ u02/proddata", "/ u02/proddata", "/ u03/proddata", "/ u04/proddata1", "/ u04/proddata", "/ u04/proddata.
log_file_name_convert = "/ u02/proddata", "/ u02/proddata", "/ u03/proddata", "/ u04/proddata1", "/ u04/proddata", "/ u04/proddata.Close if answered threads
-
HI during startup of the database of the following errors is. Please help solve the problem.
SQL > alter database open;
change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.
============================================================
Please see the alerts log entries
--------------------------------------------------------------------------------------------------------------------------------
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Using parameters in spfile D:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEATTNDPRD server-side. ORA
Parameters of the system with default values:
process = 400
sessions = 624
memory_target = 4G
control_files = 'D:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB0M_. CTL.
control_files = 'C:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB13_. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
log_archive_format = "ARC%S_%R.%T."
db_create_file_dest = 'D:\oracle\oradata. '
db_create_online_log_dest_1 = "D:\oracle\oradata".
db_create_online_log_dest_2 = "C:\oracle\oradata".
db_recovery_file_dest = 'C:\oracle\oradata\flash_area. '
db_recovery_file_dest_size = 8G
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = ATTNDPRDXDB)" "
audit_file_dest = "D:\APP\ADMINISTRATOR\ADMIN\ATTNDPRD\ADUMP".
AUDIT_TRAIL = 'DB '.
db_name = "ATTNDPRD".
open_cursors = 300
diagnostic_dest = "D:\APP\ADMINISTRATOR".
Sun 24 May 13:43:09 2015
PMON started with pid = 2, OS id = 5792
Sun 24 May 13:43:09 2015
VKTM started with pid = 3, OS id = 6500 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Sun 24 May 13:43:09 2015
GEN0 started with pid = 4, OS id = 13072
Sun 24 May 13:43:09 2015
DIAG started with pid = 5, OS id = 1424
Sun 24 May 13:43:09 2015
DBRM started with pid = 6, OS id = 8240
Sun 24 May 13:43:09 2015
PSP0 started with pid = 7, OS id = 2980
Sun 24 May 13:43:09 2015
DIA0 started with pid = 8, OS id = 12956
Sun 24 May 13:43:09 2015
MA started with pid = 9, OS id = 13356
Sun 24 May 13:43:09 2015
DBW0 started with pid = 10, OS id = 14248
Sun 24 May 13:43:09 2015
DBW1 started with pid = 11, OS id = 17900
Sun 24 May 13:43:09 2015
LGWR started with pid = 12, OS id = 5564
Sun 24 May 13:43:09 2015
CKPT started with pid = 13, OS id = 16736
Sun 24 May 13:43:09 2015
SMON started with pid = 14, OS id = 14068
Sun 24 May 13:43:09 2015
RECCE has started with pid = 15, OS id = 16288
Sun 24 May 13:43:09 2015
MMON started with pid = 16, OS id = 10884
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = D:\app\Administrator
Sun 24 May 13:43:09 2015
ALTER DATABASE MOUNT
Sun 24 May 13:43:09 2015
MMNL started with pid = 17, OS id = 16128
Mount of redo thread 1, with mount id 3325657453
Database mounted in exclusive Mode
Disabled lost write protect
Completed: ALTER DATABASE MOUNT
Sun 24 May 13:43:23 2015
change the database open
Sun 24 May 13:43:23 2015
LGWR: FROM PROCESS ARCH
Sun 24 May 13:43:23 2015
Arc0 started with pid = 21, OS id = 10084
Arc0: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
ARC0: FROM PROCESS ARCH
Sun 24 May 13:43:24 2015
Arc1 started with pid = 22, OS id = 18400
Sun 24 May 13:43:24 2015
ARC2 started with pid = 23, OS id = 17280
Arc1: Started archiving
ARC2: Started archiving
Arc1: become the "no FAL' ARCH
Arc1: become the "no SRL" ARCH
ARC2: Become the heartbeat ARCH
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.
************************************************************************
You have choice to free up space in the recovery area:
1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard
then consider changing POLICY of DELETE ARCHIVELOG RMAN.
2 back up files on a tertiary device such as a tape with RMAN
SAFEGUARDING RECOVERY AREA command.
3. Add space drive and increase the db_recovery_file_dest_size setting to
reflect the new space.
4 remove the unnecessary files using the RMAN DELETE command. If a service
the system control has been used to remove the files, and then use the RMAN DUPLICATION and
Commands DELETE has EXPIRED.
************************************************************************
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-19809: limit exceeded for file recovery
ORA-19804: cannot recover disk 44571136 bytes limit 8589934592 space
ARCH: 19809 error creating archive log file to ' C:\ORACLE\ORADATA\FLASH_AREA\ATTNDPRD\ARCHIVELOG\2015_05_24\O1_MF_1_10343_%U_. ARC'
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-16038: log 2 # 10343 sequence can be archived
ORA-19809: limit exceeded for file recovery
ORA-00312: wire 2 1 online journal: ' D:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYD8B_. JOURNAL"
ORA-00312: wire 2 1 online journal: ' C:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYDF6_. JOURNAL"
USER (ospid: 10400): put an end to litigation because of the error 16038
Sun 24 May 13:43:24 2015
ARC3 started with pid = 24, OS id = 2188
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_arc2_17280.trc file:
ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.
************************************************************************
You have choice to free up space in the recovery area:
1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard
then consider changing POLICY of DELETE ARCHIVELOG RMAN.
2 back up files on a tertiary device such as a tape with RMAN
SAFEGUARDING RECOVERY AREA command.
3. Add space drive and increase the db_recovery_file_dest_size setting to
reflect the new space.
4 remove the unnecessary files using the RMAN DELETE command. If a service
the system control has been used to remove the files, and then use the RMAN DUPLICATION and
Commands DELETE has EXPIRED.
************************************************************************
Instance of stopped by USER, pid = 10400
--------------------------------------------------------------------------------------------------------------------------
Regarding
Ngoyi
Hello
Now it works very well... with following
--------------------------------------------------
using sqlplus
- Startup mount
- ALTER database noarchivelog;
- ALTER database open;
-------------------------------------------------------------------------------
Concerning
Ngoyi
-------------------------------------------------
-
to DECLARE * ERROR at line 1: ORA-00900: invalid SQL statement
This works fine when I use the System user to create a schema and then run this script.
When I create another user with grant connect, resources, create view permissions I get this error:
DECLARE
*
ERROR on line 1:
ORA-00900: invalid SQL statement
ORA-06512: at...
DECLARE
ID MY_TABLE.ID%TYPE;
tNom my_table. % TABLENAME TYPE;
PName MY_TABLE_TWO. PROPERTYNAME % TYPE;
CURSOR c1 IS
SELECT distinct evt.id, evt. TABLENAME, vid.propertyname
FROM my_table evt, vid MY_TABLE_TWO
WHERE the evt. COL_1 = 1
AND evt. COL_2 = vid. COL_2
and not exists (select facts FROM MY_TABLE_THREE 1)
where evt.id = facts.eventid and facts.displayname = vid.propertyname);
BEGIN
OPEN c1;
LOOP
FETCH c1 INTO id, tNom, pname;
OUTPUT WHEN c1% NOTFOUND;
INSERT INTO MY_TABLE_THREE (ID, COLUMNLENGTH)
VALUES (S_ANALYTICS_SEQUENCE.nextval, 255);
RUN IMMEDIATELY 'ALTER TABLE ' | tNom | 'Add ' | PName | ' _ NVARCHAR2 (255);
END LOOP;
CLOSE c1;
END;Hello
Maybe missing a privilege. If I were you, I'll try this first:
DECLARE id MY_TABLE.ID%TYPE; tname MY_TABLE.TABLENAME%TYPE; pname MY_TABLE_TWO.PROPERTYNAME%TYPE; CURSOR c1 IS SELECT DISTINCT evt.id, evt.TABLENAME, vid.propertyname FROM MY_TABLE evt, MY_TABLE_TWO vid WHERE evt.COL_1 = 1 AND evt.COL_2 = vid.COL_2 AND NOT EXISTS (SELECT 1 FROM MY_TABLE_THREE facts WHERE evt.id = facts.eventid AND facts.displayname = vid.propertyname); BEGIN OPEN c1; LOOP FETCH c1 INTO id, tname, pname; EXIT WHEN c1%NOTFOUND; INSERT INTO MY_TABLE_THREE (ID, COLUMNLENGTH) VALUES (S_ANALYTICS_SEQUENCE.NEXTVAL, 255); DBMS_OUTPUT.put_line('ALTER TABLE ' || tname || ' add ' || pname || '_ NVARCHAR2(255)'); --EXECUTE IMMEDIATE 'ALTER TABLE ' || tname || ' add ' || pname || '_ NVARCHAR2(255)'; END LOOP; CLOSE c1; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.put_line(SQLERRM); END; /
Using this approach, you can see the sentences to run without run, I also added an exception block.
Kind regards
-
ERROR at line 1: ORA-00054: resource busy and acquire with NOWAIT specified
Hello
We have an informatica session that maintains the slightest error with this error. These are the locked objects.
Locked object Oracle Username o/s process Locker SID username / Ser # name Date/time of the connection
-------------------- ---------------- ------------- -------------------- --------- ------------ ---- -------------------
IDSSTG. MBRSHP_COV_UL IDSSTG (ACTIVE) informap 21671 sasbsp24 2141,10784 _SYS 2013/09/17 10:35:58
P_DNTL SMU2
$ 8
SYS. OBJ$ IDSSTG (ACTIVE) informap 21671 sasbsp24 2141,10784 _SYS 2013/09/17 10:35:58
SMU2
$ 8
Please indicate how this can be solved?
Kind regards
Narayan
Yes, both are working against IDSSTG. MBRSHP_COV_ULP_DNTL
Why should table be changed (ALTER TABLE) as part of the normal treatment?
Table DDL should be consistent between versions of software version.
the worst that happens is that no INDEX is created.
SQL will run on this table.
just CREATE INDEX later
-
ERROR at line 1: ORA-00920: invalid relational operator
Hello;
I get this error with this code:
Help me please, cordiallyEXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || in_table_name || ' WHERE ' || in_column1 || ' like (''%'|| in_value1 ||'%'') AND '|| in_column2 || 'like (''%'|| in_value2 ||'%'') AND ' || in_column3 || ' like (''%' || in_value3 ||'%'') AND ROWNUM = 1' INTO ln_test;
you are missing a space in this part:
in_column2 || 'like (''%'||
should be
in_column2 || ' like (''%'||
-
with master as * ERROR at line 1: ORA-01762: vopdrv: query not in FROM block
with master as ( select lbrcode,prdacctid,dateclosed,dateopen custno from masters where dateclosed>=to_date('30-Sep-2014','DD-MON-YYYY') ) , limit as ( select totsanclimit,expdate ,lbrcode,prdacctid from ( select limits.*, rank() over (partition by lbrcode,prdacctid order by efffromdate desc) as rnk from limits where efffromdate<=to_date('30-Sep-2014','DD-MON-YYYY') )where rnk=1 ) , got_closing_balance AS ( SELECT prdacctid, lbrcode, balance1, balance2, balance3 , balance4, balance5, balance6, balance7 , RANK () OVER (PARTITION BY lbrcode, prdacctid ORDER BY cbldate DESC) AS rnk FROM balances WHERE cbldate<=to_date('30-Sep-2014','DD-MON-YYYY') and t_module_new(prdacctid,lbrcode)=30 ) , rec as ( select * from( SELECT LBRCODE, MAINACCTID, FCYTRNAMT, VCRACCTID, DRCR, ENTRYDATE, cashflowtype, activitytype,mainmodtype, (case when (cashflowtype='LNPCR' or cashflowtype='LNOCHCR') then 'prn_rec' when (cashflowtype<>'LNPCR' and trim(substr(vcracctid,1,8))='INTREC') then 'int_rec' ELSE 'NOT_TO_BE_CONSIDERED'END)AS REMARK FROM transactions WHERE POSTDATE BETWEEN to_date('01-Apr-2014','DD-MON-YYYY') AND TO_DATE(' 30-Sep-2014','DD-MON-YYYY') and canceledflag<>'C' and drcr='C' and mainmodtype in (30) ) where remark!='NOT_TO_BE_CONSIDERED' ) select m.lbrcode, m.prdacctid,m.custno, l.totsanclimit from master m join limit l on m.lbrcode=l.lbrcode and m.prdacctid=l.prdacctid join got_closing_balance g on m.lbrcode=g.lbrcode and m.prdacctid=g.prdacctid and m.lbrcode=25 --and T_MODULE_NEW(m.prdacctid,m.lbrcode) in (30) and g.rnk=1 /
-
Hi all
DECLARE
TYPE (t1) IS RENDERING
v_ename emp.ename%TYPE,
v_sal emp.sal%TYPE
);
TNom TYPE IS an ARRAY OF t1
INDEX OF DIRECTORY;
v_tname tNom;
BEGIN
BECAUSE me IN v_tname. FIRST... v_tname. LAST
LOOP
Dbms_output.put_line (v_tname (i) .v_ename |) '' || .v_sal v_tname (i));
END LOOP;
END;
You want to ask why I used the SLIDER? -We can use in BULK COLLECT with LIMIT clause with the cursor
We also directly in bulk collect into collections as below:
DECLARE
TYPE (t1) IS RENDERING
v_ename emp.ename%TYPE,
v_sal emp.sal%TYPE
);
TNom TYPE IS an ARRAY OF t1
INDEX OF DIRECTORY;
v_tname tNom;
BEGIN
SELECT ename, sal BULK COLLECT INTO v_tname FROM emp;
BECAUSE me IN v_tname. FIRST... v_tname. LAST
LOOP
Dbms_output.put_line (v_tname (i) .v_ename |) ' ' || .v_sal v_tname (i));
END LOOP;
END;
/
-
According to Documents from the Oracle [http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm | http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm]
When you issue a CREATE CONTROLFILE statement, then Oracle database creates a new control file based on the information you specify in the statement. The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
•A or several control files such as specified in the DB_CREATE_ONLINE_LOG_DEST_n initialization parameter. The file in the first directory is the main command file. When DB_CREATE_ONLINE_LOG_DEST_n is specified, the database does not create a control file DB_CREATE_FILE_DEST or DB_RECOVERY_FILE_DEST (the flash recovery area).
• If no value is specified for DB_CREATE_ONLINE_LOG_DEST_n, but the values are defined for the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST, then the database creates a control file at each location. The location specified in the DB_CREATE_FILE_DEST is the main command file.
• If a value is specified only for the DB_CREATE_FILE_DEST, then the database creates a control file at this location.
• If a value is specified only for DB_RECOVERY_FILE_DEST, then the database creates a control file at this location.
If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
Exit control_files pfile.txt parameter and set the parameter onlySQL> alter database backup controlfile to trace as 'D:\oracle\stuff\control.txt' 2 / Database altered. SQL> show parameter control_files NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ control_files string D:\ORACLE\PRODUCT\10.2.0\ORADA TA\ORCL\CONTROL01.CTL, D:\ORAC LE\PRODUCT\10.2.0\ORADATA\ORCL \CONTROL02.CTL, D:\ORACLE\PROD UCT\10.2.0\ORADATA\ORCL\CONTRO L03.CTL SQL> create pfile='D:\oracle\stuff\pfile.txt' from spfile 2 / File created.
db_recovery_file_dest='d:\oracle\product\10.2.0\db_1
db_recovery_file_dest_size = 2147483648
As you can see the location of the OMF controlfile which is defined in the db_Recovery_file_dest,db_recovery_file_dest='D:\oracle\product\10.2.0\db_1\flash_recovery_area parameter 'SQL> shutdown immediate ORA-01109: database not open Database dismounted. ORACLE instance shut down. SQL> startup pfile='D:\oracle\stuff\pfile.txt' nomount ORACLE instance started. Total System Global Area 293601280 bytes Fixed Size 1290208 bytes Variable Size 218103840 bytes Database Buffers 67108864 bytes Redo Buffers 7098368 bytes SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG 2 MAXLOGFILES 16 3 MAXLOGMEMBERS 3 4 MAXDATAFILES 100 5 MAXINSTANCES 8 6 MAXLOGHISTORY 292 7 LOGFILE 8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M, 9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M, 10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M, 11 GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG' SIZE 100M 12 DATAFILE 13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF', 14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF', 15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF', 16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF', 17 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF' 18 CHARACTER SET WE8MSWIN1252 19 / Control file created. SQL> select name from v$controlfile 2 / NAME ---------------------------------------------------------------------------------------------------- D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MTSRCWH_.CTL
But why his breaks down when trying to assert the statement by doc Oracle
If no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG 2 MAXLOGFILES 16 3 MAXLOGMEMBERS 3 4 MAXDATAFILES 100 5 MAXINSTANCES 8 6 MAXLOGHISTORY 292 7 LOGFILE 8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M, 9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M, 10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M, 11 GROUP 4 'D:\ORACLE\ORCL\ONLINELOG\O1_MF_4_8MTJ10B8_.LOG' SIZE 100M 12 DATAFILE 13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF', 14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF', 15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF', 16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF', 17 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF' 18 CHARACTER SET WE8MSWIN1252 19 ; CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG * ERROR at line 1: ORA-01503: CREATE CONTROLFILE failed ORA-00600: internal error code, arguments: [kccbcf_omf_reuse], [], [], [], [], [], [], [] SQL> disconnect Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options SQL>
>
But why his breaks down when trying to assert the statement by doc OracleIf no value is defined for each of these parameters DB_CREATE_ONLINE_LOG_DEST_n, DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST. The database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
And now we can see what is your problem. You have mininterpreted documentation says.Your codes DOES NOT "say doc Oracle Education."
Your quote just above doc starts with "If no value is defined. But it's just part of the exact quote:
>
The control file is in the location specified in the CONTROL_FILES initialization parameter. If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
. . .
If no value is defined for each of these parameters, then the database creates a control file to the default location for the operating system on which the database is running. This control file is not a file managed by Oracle.
>
Your code example that fails SPECIFIES a value for CONTROL_FILES so nothing in this whole section even applies to your sample:*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_.CTL'
For your sample that fails, you have specified the parameter CONTROL_FILES. Doc section you originally quoted tells you what is happening
>
If this parameter does not have a value, then the database creates a control file managed by Oracle in the destination of default control file, which is one of the following (in order of priority):
>
Which does not apply to you.It also seems that you posted the wrong code or bad for the first sample instance. That's what you have published the instance
>
control_files string D:\ORACLE\PRODUCT\10.2.0\ORADA
TA\ORCL\CONTROL01. CTL, D:\ORAC
LE\PRODUCT\10.2.0\ORADATA\ORCL
\CONTROL02. CTL, D:\ORACLE\PROD
UCT\10.2.0\ORADATA\ORCL\CONTRO
L03. CTL
>
But his is what you posted for the INIT file and commented out
>
#*.control_files='D:\ORACLE\PRODUCT\10.2.0\DB_1\FLASH_RECOVERY_AREA\ORCL\CONTROLFILE\O1_MF_8MV1O4PY_. CTL'
>
So why the file INIT have a totally different path? He has a way of DB_1\FLASH_RECOVERY_AREA. But the string of the parameter control_files has a path "ORADATA.Those who are not the same instance. If something is wrong with your test or that you have posted.
-
Try to clone RAC database with RMAN database RAC but becomes lower than ORA-01503
I'm trying to clone a RAC database of RMAN target database is also CARS, so for every thing wen fine but getting "ORA-01503.
Please find below, please help me solve this problem.
connect sys/p0ck3t@pcard1 target;
auxiliary connection;
Connect the rmancat/rmanamex@rmandb catalog;
Run {}
SQL "alter session set optimizer_mode = RULE ';"
until ' to_date (' may 1, 2015 06:30 ',' Lun ' DD YYYY HH24:MI:SS);
allocate auxiliary channel t1 type disk;
allocate auxiliary channel t2 type disk;
allocate auxiliary channel t3 type disk;
the value of newname for datafile 4 to "+ DATA/pcardtst/datafile/users.304.723229675";
the value of newname for datafile 3 to "+ DATA/pcardtst/datafile/sysaux.395.723228961";
the value of newname for datafile 2 to "+ DATA/pcardtst/datafile/undotbs1_1.dbf";
the value of newname for datafile 1 to "+ DATA/pcardtst/datafile/system.328.723229027";
the value of newname for datafile 5 to "+ DATA/pcardtst/datafile/undotbs2.409.723228957";
the value of newname for datafile 6 to "+ DATA/pcardtst/datafile/pwrcrd_usr01.dbf";
the value of newname for datafile 7 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs01.dbf";
the value of newname for datafile 8 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs02.dbf";
the value of newname for datafile 9 to "+ DATA/pcardtst/datafile/pwrcrd_data_par01.dbf";
the value of newname for datafile 10 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_par01.dbf";
the value of newname for datafile 11 in "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_01.dbf";
the value of newname for datafile 12 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_02.dbf";
the value of newname for datafile 13 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_03.dbf";
the value of newname for datafile 14 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_04.dbf";
the value of newname for datafile 15 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_01.dbf";
the value of newname for datafile 16 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_02.dbf";
the value of newname for datafile 17 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_01.dbf";
the value of newname for datafile 18 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_02.dbf";
the value of newname for datafile 19 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_03.dbf";
the value of newname for datafile 20 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_04.dbf";
the value of newname for datafile 21 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_01.dbf";
the value of newname for datafile 22 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_02.dbf";
the value of newname for datafile 23 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_01.dbf";
the value of newname for datafile 24 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_02.dbf";
the value of newname for datafile 25 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_03.dbf";
the value of newname for datafile 26 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_01.dbf";
the value of newname for datafile 27 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_02.dbf";
the value of newname for datafile 28 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_01.dbf";
the value of newname for datafile 29 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_02.dbf";
the value of newname for datafile 30 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_03.dbf";
the value of newname for datafile 31 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_01.dbf";
the value of newname for datafile 32 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_02.dbf";
the value of newname for datafile 33 to '+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_01.dbf;
the value of newname for datafile 34 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_02.dbf";
the value of newname for datafile 35 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_03.dbf";
the value of newname for datafile 36 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_01.dbf";
the value of newname for datafile 37 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_02.dbf";
the value of newname for datafile 38 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_01.dbf";
the value of newname for datafile 39 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_02.dbf";
the value of newname for datafile 40 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_03.dbf";
the value of newname for datafile 41 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_01.dbf";
the value of newname for datafile 42 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_02.dbf";
the value of newname for datafile 43 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_01.dbf";
the value of newname for datafile 44 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_02.dbf";
the value of newname for datafile 45 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_01.dbf";
the value of newname for datafile 46 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_02.dbf";
the value of newname for datafile 47 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_01.dbf";
the value of newname for datafile 48 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_02.dbf";
the value of newname for datafile 49 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_01.dbf";
the value of newname for datafile 50 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_02.dbf";
the value of newname for datafile 51 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch01.dbf";
the value of newname for datafile 52 at "+ DATA/pcardtst/datafile/pwrcrd_data_batch02.dbf";
the value of newname for datafile 53 to '+ DATA/pcardtst/datafile/pwrcrd_data_batch03.dbf;
the value of newname for datafile 54 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch04.dbf";
the value of newname for datafile 55 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch05.dbf";
the value of newname for datafile 56 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch01.dbf";
the value of newname for datafile 57 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch02.dbf";
the value of newname for datafile 58 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch03.dbf";
the value of newname for datafile 59 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part01_01.dbf";
the value of newname for datafile 60 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part01_01.dbf";
the value of newname for datafile 61 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part02_01.dbf";
the value of newname for datafile 62 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part02_01.dbf";
the value of newname for datafile 63 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part03_01.dbf";
the value of newname for datafile 64 at "+ DATA/pcardtst/datafile/pwrcrd_data_index_part03_01.dbf";
the value of newname for datafile 65 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part04_01.dbf";
the value of newname for datafile 66 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part04_01.dbf";
the value of newname for datafile 67 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_01.dbf;
the value of newname for datafile 68 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_01.dbf";
the value of newname for datafile 69 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part06_01.dbf";
the value of newname for datafile 70 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part06_01.dbf";
the value of newname for datafile 71 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part07_01.dbf";
the value of newname for datafile 72 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part07_01.dbf";
the value of newname for datafile 73 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part08_01.dbf";
the value of newname for datafile 74 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part08_01.dbf";
the value of newname for datafile 75 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part09_01.dbf";
the value of newname for datafile 76 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part09_01.dbf;
the value of newname for datafile 77 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part10_01.dbf";
the value of newname for datafile 78 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part10_01.dbf";
the value of newname for datafile 79 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_01.dbf";
the value of newname for datafile 80 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part11_01.dbf";
the value of newname for datafile 81 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_01.dbf;
the value of newname for datafile 82 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part12_01.dbf";
the value of newname for datafile 83 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part13_01.dbf";
the value of newname for datafile 84 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part13_01.dbf";
the value of newname for datafile 85 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part14_01.dbf";
the value of newname for datafile 86 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part14_01.dbf;
the value of newname for datafile 87 to "+ DATA/pcardtst/datafile/powercard_users.375.723228963";
the value of newname for datafile 88 to "+ DATA/pcardtst/datafile/powercard_users.396.723228959";
the value of newname for datafile 89 to "+ DATA/pcardtst/datafile/powercard_users.399.723228959";
the value of newname for datafile 90 to "+ DATA/pcardtst/datafile/powercard_users.393.723228961";
the value of newname for datafile 91 to '+ DATA/pcardtst/datafile/mig_pc_delivery.309.723228955;
the value of newname for datafile 92 to "+ DATA/pcardtst/datafile/powercard_index_par.403.723228961";
the value of newname for datafile 93 to "+ DATA/pcardtst/datafile/powercard_users.381.723228963";
the value of newname for datafile 94 to "+ DATA/pcardtst/datafile/powercard_index_hist_part01.275.723229411";
the value of newname for datafile 95 at "+ DATA/pcardtst/datafile/powercard_data_fe_part01.364.723229607";
the value of newname for datafile 96 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.380.723228963";
the value of newname for datafile 97 to '+ DATA/pcardtst/datafile/powercard_data_hist_part10.310.723228959;
the value of newname for datafile 98 in "+ DATA/pcardtst/datafile/powercard_data_hist_part14.268.723229465";
the value of newname for datafile 99 to "+ DATA/pcardtst/datafile/powercard_index_hist_part08.367.723229607";
the value of newname for datafile 100 to "+ DATA/pcardtst/datafile/powercard_index_hist_part09.385.723229087";
the value of newname for datafile 101 to "+ DATA/pcardtst/datafile/powercard_index_hist_part11.286.723229559";
the value of newname for datafile 102 to "+ DATA/pcardtst/datafile/powercard_index_hist_part13.355.723229615";
the value of newname for datafile 103 to "+ DATA/pcardtst/datafile/powercard_data_batch.330.723228961";
the value of newname for datafile 104 to "+ DATA/pcardtst/datafile/powercard_data_hist_part13.335.723229485";
the value of newname for datafile 105 to "+ DATA/pcardtst/datafile/powercard_index_bo_part03.285.723229567";
the value of newname for datafile 106 to "+ DATA/pcardtst/datafile/powercard_index_bo_part01.351.723229617";
the value of newname for datafile 107 to "+ DATA/pcardtst/datafile/powercard_index_fe_part04.261.723229627";
the value of newname for datafile 108 to "+ DATA/pcardtst/datafile/powercard_index_hist_part02.264.723229465";
the value of newname for datafile 109 to "+ DATA/pcardtst/datafile/powercard_data_bo_part01.284.723229573";
the value of newname for datafile 110 to "+ DATA/pcardtst/datafile/powercard_data_hist_part01.406.723229497";
the value of newname for datafile 111 to "+ DATA/pcardtst/datafile/powercard_data_hist_part07.291.723229557";
the value of newname for datafile 112 to "+ DATA/pcardtst/datafile/powercard_data_hist_part08.371.723229615";
the value of newname for datafile 113 to "+ DATA/pcardtst/datafile/powercard_data_hist_part09.346.723228973";
the value of newname for datafile 114 to "+ DATA/pcardtst/datafile/powercard_data_hist_part12.401.723229447";
the value of newname for datafile 115 to "+ DATA/pcardtst/datafile/powercard_index_fe_part02.262.723229625";
the value of newname for datafile 116 to "+ DATA/pcardtst/datafile/powercard_data_fe_part04.374.723229627";
the value of newname for datafile 117 to "+ DATA/pcardtst/datafile/powercard_data_bo_part03.276.723229585";
the value of newname for datafile 118 to "+ DATA/pcardtst/datafile/powercard_data_bo_part04.350.723229633";
the value of newname for datafile 119 to "+ DATA/pcardtst/datafile/powercard_index_bo_part04.317.723229633";
the value of newname for datafile 120 to "+ DATA/pcardtst/datafile/powercard_data_hist_part03.400.723229511";
the value of newname for datafile 121 in '+ DATA/pcardtst/datafile/powercard_index_hist_part12.369.723229605;
the value of newname for datafile 122 to "+ DATA/pcardtst/datafile/powercard_index_hist_part05.373.723229641";
the value of newname for datafile 123 to "+ DATA/pcardtst/datafile/powercard_data_par.319.723229635";
the value of newname for datafile 124 to "+ DATA/pcardtst/datafile/powercard_users.402.723228957";
the value of newname for datafile 125 to "+ DATA/pcardtst/datafile/powercard_index_batch.356.723229609";
the value of newname for datafile 126 to "+ DATA/pcardtst/datafile/powercard_index_bo_part02.256.723229647";
the value of newname for datafile 127 to "+ DATA/pcardtst/datafile/powercard_index_hist_part07.320.723229641";
the value of newname for datafile 128 to "+ DATA/pcardtst/datafile/powercard_index_hist_part04.258.723229615";
the value of newname for datafile 129 to "+ DATA/pcardtst/datafile/powercard_data_bo_part02.366.723229651";
the value of newname for datafile 130 to "+ DATA/pcardtst/datafile/powercard_data_hist_part06.348.723228965";
the value of newname for datafile 131 to "+ DATA/pcardtst/datafile/powercard_data_hist_part02.307.723229525";
the value of newname for datafile 132 to "+ DATA/pcardtst/datafile/powercard_index_fe_part01.370.723229647";
the value of newname for datafile 133 to "+ DATA/pcardtst/datafile/powercard_index_fe_part03.352.723229619";
the value of newname for datafile 134 to "+ DATA/pcardtst/datafile/powercard_index_hist_part06.266.723229659";
the value of newname for datafile 135 to "+ DATA/pcardtst/datafile/powercard_index_hist_part10.329.723229027";
the value of newname for datafile 136 to "+ DATA/pcardtst/datafile/powercard_index_hist_part03.337.723229651";
the value of newname for datafile 137 to "+ DATA/pcardtst/datafile/powercard_index_hist_part14.263.723229627";
the value of newname for datafile 138 to "+ DATA/pcardtst/datafile/stpmw_data01.dbf";
the value of newname for datafile 139 to "+ DATA/pcardtst/datafile/undotbs1_2.dbf";
the value of newname for datafile 140 to "+ DATA/pcardtst/datafile/undotbs1_3.dbf";
the value of newname for datafile 141 to "+ DATA/pcardtst/datafile/undotbs1_4.dbf";
the value of newname for datafile 142 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_03.dbf";
the value of newname for datafile 143 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.426.851242407";
the value of newname for datafile 144 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_02.dbf";
the value of newname for datafile 145 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_02.dbf";
the value of newname for datafile 146 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_04.dbf";
the value of newname for datafile 147 in "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_02.dbf";
the value of newname for tempfile 1 to "+ DATA/pcardtst/tempfile/temp1.dbf";
the value of newname for tempfile 2 to "+ DATA/pcardtst/tempfile/temp2.dbf";
the value of newname for tempfile 3 to "+ DATA/pcardtst/tempfile/temp3.dbf";
the value of newname for tempfile 4 to "+ DATA/pcardtst/tempfile/pwrcard_temp01.dbf";
the value of newname for tempfile 5 to "+ DATA/pcardtst/tempfile/pwrcard_temp02.dbf";
the value of newname for tempfile 6 to "+ DATA/pcardtst/tempfile/pwrcard_temp03.dbf";
the value of newname for tempfile 7 to "+ DATA/pcardtst/tempfile/pwrcard_temp04.dbf";
duplicate target database in the pcardtst log file
GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_01') size 512 M,
GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_02') size 512 M,
GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_01') size 512 M,
GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_02') size 512 M,
GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_01') size 512 M,
GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_02') size 512 M,
GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_01') size 512 M,
GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_02') size 512 M,
GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_01') size 512 M,
GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_02') size 512 M,
GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_01') size 512 M,
GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_02') size 512 M,
GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_01') size 512 M,
GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_02') size 512 M,
GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_01') size 512 M,
GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_02') size 512 M;
output channel t1;
output channel t2;
output channel t3;
}
But gettting error below
DATA FILE
"+ DATA/pcardtst/datafile/system.635.878984933".
CHARACTER SET WE8ISO8859P1
output channel: t1
output channel: t2
output channel: t3
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 06/05/2015 14:26:01
RMAN-06136: the auxiliary database ORACLE error: ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_02.
ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_01.
Complete recovery manager.
Kind regards.
Younus
Hi Eric,.
Let's not your syntax for log files. Check out the docs:
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm#BRADV89956
You need only name the Group once followed a list separated by commas of the logfile members.
Concerning
Thomas
-
I have tried the code
DECLARE
lv_url VARCHAR2 (1000): = ' http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
lc_return BLOB;
lhttp_url httpuritype.
Varriables - declared to have written the LOB to pdf file-
l_file UTL_FILE. TYPE_DE_FICHIER;
l_buffer RAW (32767).
l_amount directory: = 32767;
l_pos INTEGER: = 1;
l_blob BLOB;
l_blob_len INTEGER.
BEGIN
-create URIs
lhttp_url: = httpuritype.createuri (lv_url);
-get the PDF document
lc_return: = lhttp_url.getblob ();
-Open the destination file.
l_file: = UTL_FILE. FOPEN ('MBO_INPUT_DIR', 'MBD.zip', 'wb');
-Get the total length of the BLOB
l_blob_len: = DBMS_LOB.getlength (lc_return);
-Pieces of the BLOB to read and write to the file
-full up.
While l_pos < l_blob_len LOOP
DBMS_LOB. READ (lc_return, l_amount, l_pos, l_buffer);
UTL_FILE.put_raw (l_file, l_buffer, FALSE);
l_pos: = l_pos + l_amount;
END LOOP;
-Closes the file.
UTL_FILE. FCLOSE (l_file);
EXCEPTION
WHILE OTHERS THEN
-Close the file if something goes wrong.
IF UTL_FILE.IS_OPEN (l_file) THEN
UTL_FILE. FCLOSE (l_file);
END IF;
LIFT;
END;
But make a mistake like:
Error report-
ORA-29273: HTTP request failed
ORA-06512: at "SYS." UTL_HTTP", line 1130
ORA-12535: TNS:operation expired
ORA-06512: at line 37 level
29273 00000 - "the HTTP request failed.
* Cause: The UTL_HTTP package cannot run the HTTP request.
* Action: Use get_detailed_sqlerrm to check the detailed error message.
Correct the error and restart the HTTP request.
Please suggest a solution. Is it possible to download a zip file with the same code?
[oracle@localhost ~]$ sqlplus scott/tiger SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 6 13:59:09 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> --My Database version SQL> ---------------------- SQL> SELECT * FROM v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for Linux: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production SQL> ed Wrote file afiedt.buf 1 DECLARE 2 lv_url VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf'; 3 lc_return BLOB; 4 lhttp_url httpuritype; 5 ---Varriables declared for writing the LOB to pdf file -- 6 l_file UTL_FILE.FILE_TYPE; 7 l_buffer RAW(32767); 8 l_amount BINARY_INTEGER := 32767; 9 l_pos INTEGER := 1; 10 l_blob BLOB; 11 l_blob_len INTEGER; 12 BEGIN 13 --create uri 14 lhttp_url := httpuritype.createuri(lv_url); 15 --get the PDF document 16 lc_return := lhttp_url.getblob(); 17 -- Open the destination file. 18 l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb'); 19 --Get the total length of the BLOB 20 l_blob_len := DBMS_LOB.getlength(lc_return); 21 -- Read chunks of the BLOB and write them to the file 22 -- until complete. 23 WHILE l_pos < l_blob_len LOOP 24 DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer); 25 UTL_FILE.put_raw(l_file, l_buffer, FALSE); 26 l_pos := l_pos + l_amount; 27 END LOOP; 28 -- Close the file. 29 UTL_FILE.FCLOSE(l_file); 30 EXCEPTION 31 WHEN OTHERS THEN 32 -- Close the file if something goes wrong. 33 IF UTL_FILE.IS_OPEN(l_file) THEN 34 UTL_FILE.FCLOSE(l_file); 35 END IF; 36 RAISE; 37* END; 38 / DECLARE * ERROR at line 1: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL) ORA-06512: at line 36 SQL> conn sys as sysdba Enter password: Connected. SQL> ed Wrote file afiedt.buf 1 BEGIN 2 DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl => 'love.xml', 3 description => 'Love ACL', 4 principal => 'SCOTT', 5 is_grant => true, 6 privilege => 'connect'); 7 DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl => 'love.xml', 8 principal => 'SCOTT', 9 is_grant => true, 10 privilege => 'resolve'); 11 DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'love.xml', 12 host => 'shenzhoufellowship.org'); 13 commit; 14* END; 15 / PL/SQL procedure successfully completed. SQL> conn scott/tiger Connected. SQL> ed Wrote file afiedt.buf 1 DECLARE 2 lv_url VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf'; 3 lc_return BLOB; 4 lhttp_url httpuritype; 5 ---Varriables declared for writing the LOB to pdf file -- 6 l_file UTL_FILE.FILE_TYPE; 7 l_buffer RAW(32767); 8 l_amount BINARY_INTEGER := 32767; 9 l_pos INTEGER := 1; 10 l_blob BLOB; 11 l_blob_len INTEGER; 12 BEGIN 13 --create uri 14 lhttp_url := httpuritype.createuri(lv_url); 15 --get the PDF document 16 lc_return := lhttp_url.getblob(); 17 -- Open the destination file. 18 l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb'); 19 --Get the total length of the BLOB 20 l_blob_len := DBMS_LOB.getlength(lc_return); 21 -- Read chunks of the BLOB and write them to the file 22 -- until complete. 23 WHILE l_pos < l_blob_len LOOP 24 DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer); 25 UTL_FILE.put_raw(l_file, l_buffer, FALSE); 26 l_pos := l_pos + l_amount; 27 END LOOP; 28 -- Close the file. 29 UTL_FILE.FCLOSE(l_file); 30 EXCEPTION 31 WHEN OTHERS THEN 32 -- Close the file if something goes wrong. 33 IF UTL_FILE.IS_OPEN(l_file) THEN 34 UTL_FILE.FCLOSE(l_file); 35 END IF; 36 RAISE; 37* END; 38 / PL/SQL procedure successfully completed. SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options [oracle@localhost ~]$ cd saubhik/ [oracle@localhost saubhik]$ pwd /home/oracle/saubhik [oracle@localhost saubhik]$ ls -l *.pdf -rw-r--r-- 1 oracle oinstall 60055 Apr 6 14:03 TheLoveDare.pdf [oracle@localhost saubhik]$
I love this pdf file. I would like to read this and mean while if you get an error then please post in its entirety and also think that it is an Oracle error or network.
-
Setup error when loading Images - ora 22288
Hi all
I got an error during the installation of the APEX as below,
Please help me rectift this...
I use APEX on windows server 2003... and Oracle 10g XE
==========
SQL > @apxldimg E:\From F - official files\Sakthi\Softwares\apex
PL/SQL procedure successfully completed.
old 1: create the directory APEX_IMAGES as '& images/apex/1 '.
new 1: create the directory APEX_IMAGES as 'E:\From/apex/images '.
Created directory.
declare
*
ERROR on line 1:
ORA-22288: file or LOB FILEOPEN operation failed
The system does not have the specified path.
ORA-06512: at "SYS." DBMS_LOB", line 523
ORA-06512: at "SYS." XMLTYPE", line 287
ORA-06512: at line 15 level
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Validation complete.
calendar for: Load Images
Elapsed time: 00:00:00.81
Directory has fallen.
======
Published by: madan on April 5, 2010 13:53Hello
This might help
Re: Upgrade problem Apex 2.1 to 3.2.1 in Oracle Database 10g Express EditionBR, Jari
Maybe you are looking for
-
C55-A-1MW satellite does not start with the new RAM inserted
Hey. I hope to find someone who can help me... I bought ram memories and tried 4 different memories in my C55 A 1MW Satellite. But each card RAM I have insert makes the computer cannot start... It lights just to stop again. Is there a compatibility i
-
NB520 - Warning to replace my battery
Hello I want to ask about my battery.I replaced my battery (guaranteed) after that 1 week I bought my netbook because it warns replace me my battery. But I still have the same problem.My just battery can be used for 10-15 minutes even if the indicato
-
When I ask the machine to copy from the glass, it gives me the spinning wheel of catherine and must switch off the coast and then turn it back on and will then copy OK.
-
Explorer Windows guard freezing.it freezes when I try to explore my computer but the other stuff works like firefox or another office short cuts.i do not know what to do about this.
-
Lost? Profile after win 10 bsod
I got Thunderbird upward and running when my computer - 10 (64-bit) windows - suffered a bsod. After the restart, I tried to restart Thunderbird - and he started as if it was the first time that I use - (profile corrupted or lost?) I did nothing to t