ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

I'm trying to recover the database in waiting, but it gives the error below.

ORA-00283: cool cancelled due to errors
ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

"media recovery has not started.

It seems that the recovery was stuck between the two.
Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

Thanks in advance.

Dataguard and MRP, you run a script before.

In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

Hemant K Collette

Published by: Hemant K Collette on May 29, 2013 17:47

Tags: Database

Similar Questions

  • ORA-01157: cannot identify/lock data file 6

    I work for a school district and recently ran into problems with writing data in a database by using ASP.

    Background:
    We are currently running Oracle Database 11 g Release 11.1.0.6.0 - 64 bit Production With the Real Application Clusters on Linux systems option.

    We have a workable tablespace/database using our system of management of the school called "Genesis." There is no problem reading, writing or deletion of records through this site web-based application.

    Problem:
    I wrote a few ASP pages that read from the 'background' database tablespace that works reliable. The problem is that I created a new tablespace/user/database with two tables that I write for.

    If I run a test trying to add new records via my ASP page Let's say 5 times, it cannot work more than 3 of those times.

    The error I get is as follows:

    Error Automation Oracle '800a01b8 '.

    Data retrieval error, ORA-01157: cannot identify/lock data file 6 - see the file trace DBWR ORA-01110: data file 6: ' / u01/app/oracle/product/11.1.0/db_1/dbs/ORCL_GENESIS'

    / Parent_Portal/Confirmation.asp, line 40

    Looking at the knowledge base (Article NOTE: 268061.1) mentions that there are maybe not ebough available file descriptors. We increase the amount, the same results.

    Also, if it's important, it's the code that I use to write to the database:

    Set OraSession = CreateObject ("OracleInProcServer.XOraSession")
    Set OraDatabase = OraSession.OpenDatabase ("ORCL" _
    (' Username/password name', cint (0))

    Set OraDynaset = OraDatabase.CreateDynaset ("SELECT * FROM PARENT_PORTAL.") (The STUDENTS", cint (0))

    OraDynaset.AddNew
    OraDynaset.Fields ("Email"). Value = strEmail
    OraDynaSet.Fields ("STUDENTID"). Value = strStudentID
    OraDynaset.Update

    Set OraDynaset = OraDatabase.CreateDynaset ("SELECT * FROM PARENT_PORTAL.") (Accounts", cint (0))

    OraDynaset.AddNew
    OraDynaset.Fields ("Email"). Value = strEmail
    OraDynaset.Fields ("LASTNAME"). Value = strPLName
    OraDynaset.Fields ("FIRSTNAME"). Value = strPFName
    OraDynaSet.Fields ("PHONE"). Value = strPhone
    OraDynaset.Update

    Set OraSession = Nothing


    Any help on this would be greatly appreciated.

    Thank you
    Jason

    Query

    Select file_name in dba_data_files
    Union
    Select Member from v$ logfile
    Union
    Select name from v$ controlfile;

    to identify all the database controlfiles and redo online.

    A database is the database files.
    An instance is all the processes running on a node.
    To the CARS, you have 2 (or more) of the instances that are running on 2 nodes (or more) to access the same database simultaneously.
    A node can go down or die or be shot in the head, but the database continues to be available through the second instance on the other node. This is the reason for all of the CARS.

  • ORA-01157: cannot identify/lock data file 6 - see DBWR trace file

    Dear all,

    I use a machine to the BSG that is 64-bit, I installed the oracle 119 in that. First, he was installed at u01 volume root but the size was enough for me, so I changed the volume and new volume as u01. now when I try to start the database his past does not

    Here is the error

    SQL > startup

    ORACLE instance started.

    Total System Global Area 3206836224 bytes

    Bytes of size 2217632 fixed

    1744832864 variable size bytes

    1442840576 of database buffers bytes

    Redo buffers 16945152 bytes

    Mounted database.

    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file

    ORA-01110: data file 6: ' / u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat'

    and u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat that this file is not present it may I know how to recover from this.

    Can someone help me please.

    Thank you

    Gallot

    Dear all,

    It was because the size of the data file. so I increased the size of the database and has solved this problem

  • ORA-01157: cannot identify/lock data file [HELP! PLEASE!]

    I'm under Oracle 11 GR 2. When I tried from Oracle sqlplus, I got the following errors:
    ORA-01110: data file 8: '/dev/raw/raw8'
    ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
    I used "the judgment" to stop the Oracle. I'm sure that there are 2 sessions to approve the changes to the database while I closed the Oracle. Is there anyone know how to fix this?

    Many thanks for any help!

    Hmm...

    change 315220074 September at 12/10/2011 14:34:12 necessary

    but your newspapers online redo is 2011-10-12 16:31:54 from only.
    So, there are some transactions in the stream of roll forward relative to this data file between 14:34:12 and 16:31:54.

    Hemant K Collette

  • 10gr 2-Sybase15-ORA-28545: cannot retrieve the text of the message from NETWORK/NCR

    Hi all

    I am trying to establish connectivity between Oracle 10 g 2 (Win XP Pro 2002) and Sybase ASE 15.0.2 (Sun Solaris 5.9) by using the transparent gateway for Sybase (TG4SYBS), but encountered the following error. I have looked for a solution quite well in all directions, but so far have been quite unlucky. This is my last resort. I don't really know what I'm doing wrong as I followed the steps of installation and configuration correctly. Please note:
    -Oracle transparent gateway software and database are installed in different homes; and,
    -J' created and tested the ODBC DSN connectivity with the Sybase server.

    The only thing that I have real concern about is the version of the Sybase server 64-bit OS; Windows Oracle server is 32-bit. Are going to count this could be the problem?

    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT


    I am enclosing also any of the configuration system below:

    ------------------------------------------------------------------------------

    Database server
    ===============

    V Windows XP Professional 2002 SP2

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0

    Sybase Adaptive Server ODBC Driver 15.00.00.152


    C:\ > echo %path%
    C:\oracle\product\10.2.0\tg_1\bin; E:\OracleHomes\agent10g\jlib; E:\OracleHomes\ag
    ent10g\bin; E:\OracleHomes\oms10g\bin; E:\OracleHomes\oms10g\jlib; C:\Program Files
    Company \Business Objects\BusinessObjects 6\bin\orb\asp\6.0\bin. C:\Program Fi
    les\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin; C:\Program Files\B
    usiness Objects\BusinessObjects Enterprise 6\bin; C:\sybase\DataAccess\OLEDB\dll;
    C:\sybase\DataAccess\ODBC\dll; C:\sybase\Shared\Sybase Central 4.3; C:\sybase\OCS-
    15_0\lib3p; C:\sybase\OCS-15_0\dll; C:\sybase\OCS-15_0\bin; C:\sybase\JS-12_5\bin; C
    : \sybase\ADO.NET\dll; C:\sybase\ODBC; C:\Program WinRAR; C:\Windows\System32;
    C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\sybase\DBISQL\bin

    ------------------------------------------------------------------------------

    Sybase server
    =============

    Er1min01 of SunOS 5.9 Generic_122300-11 sun4u sparc SUNW, Sun-Fire-V440

    Adaptive Server Enterprise/15.0.2/EBF 14328, P, Sun_svr4, OS 5.8/ase1502/2486/64-b
    IT/FBO/Thursday 24 May 12:18:26 2007

    ------------------------------------------------------------------------------

    Sybase SQL.ini
    ==============

    [MINSAT]
    Master = TCP, 192.168.1.150, 5002
    Query = TCP, 192.168.1.150, 5002

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\tg_1 > tg4sybs

    Oracle Corporation - WEDNESDAY SEP 23 2009 02:43:29.406

    Heterogeneous Agent Release 10.2.0.1.0 - Production built with
    Driver for SYBASE

    ------------------------------------------------------------------------------

    inittg4sybs.ora
    ===============

    # This is an example of initialization file of the agent that contains the HS settings
    # needed for the transparent gateway for Sybase

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = MINSAT.csstat
    HS_FDS_TRACE_LEVEL = OFF
    HS_FDS_RECOVERY_ACCOUNT = RECOVERY
    HS_FDS_RECOVERY_PWD = RECOVERY
    #HS_FDS_TRANSACTION_MODEL = READ_ONLY

    #
    # Required for Sybase environment variables
    #
    SYBASE the value = "C:\\sybase".

    ------------------------------------------------------------------------------

    Listener.ora
    ============

    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = tg4sybs)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    )
    )

    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER = OFF

    ------------------------------------------------------------------------------

    tnsnames.ora
    ============

    tnsnames.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    TEMP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TEMP)
    )
    )

    csstat =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.123.49)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = csstat)
    )
    (HS = OK)
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > lsnrctl status CSSTAT

    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-SEP-2009 02:47
    : 10

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=192.168.123.49) (PORT = 152
    ((1)) (CONNECT_DATA = (Server = Dedicated) (service_name = csstat))(HS=OK))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
    ction
    Start date 23 - SEP - 2009 01:48:54
    Uptime 0 days 0 h 58 min 16 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.o
    RA
    Listener log file C:\oracle\product\10.2.0\db_1\network\log\listener.log

    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=FH) (PORT = 1521)))
    Summary of services...
    Service 'OEMREP_XPT' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'TEMPXDB' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'TEMP_XPT' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'csstat' has 1 instance (s).
    Instance of 'csstat', status UNKNOWN, has 1 operation for this service...
    Service 'oemrep' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    'Temp' service has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    The command completed successfully

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > tnsping CSSTAT

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production 23-SEP-2
    009 02:48:12

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.
    123.49)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cssta
    (t)) (t)) (HS = OK))
    OK (20 ms)

    ------------------------------------------------------------------------------

    SQL > create database link csstat connect to the 'fw' identified by ' * ' using 'csstat ';

    Database link created.

    ------------------------------------------------------------------------------

    SQL > select * from sys.hs_fds_class;

    FDS_CLASS_NAME
    FDS_CLASS_COMMENTS
    FDS_CLASS_ID

    BITE
    Integrated Test environment
    1

    ------------------------------------------------------------------------------

    SQL > show parameter global_names;

    VALUE OF TYPE NAME
    global_names boolean FALSE

    ------------------------------------------------------------------------------

    SQL > select * from SIMSwap@csstat;
    Select * from SIMSwap@csstat
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT

    ------------------------------------------------------------------------------

    you use the Oracle Listener database in C:\oracle\product\10.2.0\db_1\ to spawn TG4SYBS installed in a different House: C:\oracle\product\10.2.0\tg_1. This works when you specify the full path in the listener.ora to tg4sybs executable file. The section of SID might look like:
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = C:\oracle\product\10.2.0\tg_1\tg4sybs)
    )

    Then STOP and START the listener and try again.

  • You cannot change the data file

    Unable to Alter Database Datafile

    Hi all

    Using Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;

    getting this error.

    SQL > Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;
    Error report:
    SQL error: ORA-01237: do not extend datafile 4

    ORA-01110: data file 4: ' C:\Oracle\APP\ORADATA\...\USERS01. DBF'

    ORA-27059: reduce file size

    OSD-04005: SetFilterPointer() failure, unable to read the file

    s/o-error: (OS 112) there is not enough space on the disk.

    01237 00000 - "cannot extend %s datafile.

    * cause: year Operating system error has occurred during resizing.

    * Action: Resolve the cause of the error of operating system and start the command

    I understand that the OS space is full and I guess this isn't specific Oracle error, but certainly an OS level error, someone could suggest me how to deal with the erasure of space, is it possible to erase and reuse the data files? Please suggest.

    Help out me

    Thank you and best regards,
    Cabbage

    You need create more space by deleting unnecessary files or narrowing of the files.

  • ORA-01157: cannot identify/lock data file error in database pending.

    Hello

    I have a back-end database and the base ensures (11.2.0.1.0) that runs in ASM with the names of different diskgroup. I applied an incremental backup on a standby database to solve the gap newspaper archive and generated a controlfile to standby in the primary database and restore the standby database controlfile. But when I started the MRP process his starts not and lift error in the alerts log ORA-01157: cannot identify/lock file. When I questioned the standby database file it shows the location on primary data filenames not the database pending.

    ******************************

    PRIMARY DATABASE

    *****************************

    SQL > select name from v$ datafile;


    NAME

    --------------------------------------------------------------------------------

    +Data/OraDB/datafile/system.256.788911005

    +Data/OraDB/datafile/SYSAUX.257.788911005

    +Data/OraDB/datafile/undotbs1.258.788911005

    +Data/OraDB/datafile/users.259.788911005

    ****************************************

    BACKUP DATABASE

    ****************************************

    SQL > select name from v$ datafile;


    NAME

    --------------------------------------------------------------------------------

    +STDBY/OraDB/datafile/system.256.788911005

    +STDBY/OraDB/datafile/SYSAUX.257.788911005

    +STDBY/OraDB/datafile/undotbs1.258.788911005

    +STDBY/OraDB/datafile/users.259.788911005

    The actual physical location of files of database Eve in ASM in the standby server is shown below

    ASMCMD > pwd

    + STDBY/11gdb/DATAFILE

    ASMCMD >

    ASMCMD > ls

    SYSAUX.259.805921967

    SYSTEM.258.805921881

    UNDOTBS1.260.805922023

    USERS.261.805922029

    ASMCMD >

    ASMCMD > pwd

    + STDBY/11gdb/DATAFILE

    I even tried to rename the data files in the database backup, but it throws error

    ERROR on line 1:

    ORA-01511: Error renaming data/log files

    ORA-01275: RENAME Operation is not allowed if management undo file is

    Automatic.

    Kind regards

    007

    You must specify the complete location

    *.db_file_name_convert='+data/OraDB/datafile/,'+STDBY/11gdb/DATAFILE /'

    and to rename the data file, your standby_file_management parameter must be set to MANUAL.

  • Cannot retrieve the data by binary storage by default for XML 11 g

    Oracle 11.2

    All,

    As someone mentioned in another post, I got I should use binary XMLType CLOB rather than 11g because it is more efficient. When I create the XMLType column as binary I can't retrieve the value of the column, but when I use CLOB I am able to extract data on.

    -Create table with XMLTYPE column.  Since it is 11.2 storage of the column is automatically binary
    CREATE THE TABLE HR. XMLTABLESTORE (key_id VARCHAR2 (10) PRIMARY KEY, xmlloaddate date, xml_column XMLTYPE);

    -Insert the XML into the XML column
    INSERT INTO HUMAN RESOURCES. VALUES XMLTABLESTORE (HR. XMLSEQUENCE. NEXTVAL, SYSDATE, XMLType (bfilename ('XMLDIRX', 'PROD_20110725_211550427_220b.xml'),
    nls_charset_id ('AL32UTF8'))); COMMIT;

    -When I do a select I see full XML in the xml_column column
    SELECT * FROM HR. XMLTABLESTORE

    -When I run the following query I get the following:
    SELECT extract (xml_column, ' / / MapItem/@ProductNum') ProductNum OF HR. XMLTABLESTORE

    ProductNum
    -------------
    XMLType

    -When I run the following query on the @, I get the following:
    SELECT extract (xml_column, ' / / MapItem/ProductNum ') ProductNum OF HR. XMLTABLESTORE

    ProductNum
    -------------
    Null value

    When I run the same SELECT query retrieves (xml_column, ' / / MapItem/@ProductNum') ProductNum OF HR. XMLTABLESTORE and the table is created by CLOB, I get out the expected value of the XML file.

    How can I get the query to retrieve the data through a binary file?

    I appreciate any help in advance.

    Thank you
    Shawn

    Published by: 886184 on Sep 20, 2011 15:42

    Probably a problem with your client tool.

    It works for me:

    SQL*Plus: Release 11.2.0.2.0 Beta on Mer. Sept. 21 19:39:55 2011
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta
    
    SQL> CREATE TABLE xmltablestore (
      2    key_id VARCHAR2(10) PRIMARY KEY
      3  , xmlloaddate DATE
      4  , xml_column XMLTYPE
      5  );
    
    Table created.
    
    SQL> INSERT INTO xmltablestore
      2  VALUES ('1', sysdate, XMLType(bfilename('TEST_DIR', 'PROD_20110725_211550427_220b.xml'),nls_charset_id('AL32UTF8')))
      3  ;
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> SELECT extract(xml_column, '//MapItem/@ProductNum') ProductNum
      2  FROM xmltablestore
      3  ;
    
    PRODUCTNUM
    --------------------------------------------------------------------------------
    63481062975
    
    SQL> SELECT extractValue(xml_column, '//MapItem/@ProductNum') ProductNum
      2  FROM xmltablestore
      3  ;
    
    PRODUCTNUM
    --------------------------------------------------------------------------------
    63481062975
    
    SQL> SELECT xmlcast(
      2          xmlquery('/Entries/Category/MapItem/@ProductNum'
      3           passing t.xml_column
      4           returning content
      5          )
      6          as number
      7         ) ProductNum
      8  FROM xmltablestore t
      9  ;
    
    PRODUCTNUM
    ----------
    6,3481E+10
    
    SQL> SELECT xmlcast(
      2          xmlquery('/Entries/Category/MapItem/@ProductNum'
      3           passing t.xml_column
      4           returning content
      5          )
      6          as varchar2(30)
      7         ) ProductNum
      8  FROM xmltablestore t
      9  ;
    
    PRODUCTNUM
    ------------------------------
    63481062975
    

    BTW, extract and extractvalue functions are deprecated in version 11.2.
    Oracle now recommends using XMLCast/XMLQuery.

  • of MSHS - cannot rename the data files

    I have a MSHS (encryoted MSH) - 5 last lines in this script - I have a command shell that renames the data files. for example

    Shell ren f:\data\abc_morning.txt abc_20100912_morning.txt
    Shell ren d:\data\def_afternoon.txt abc_20100912_afternoon.txt
    Shell ren t:\data\abc_evening.txt abc_20100912_evening.txt

    These commands work fine in the MSH script, but get the "File not found" error in file MSHS. Has anyone else ran into this problem?

    MSHS command also asked how to rename the data files as Shell REN does not work?

    It's really simple:

    MSH scriptname.msh

    That's all.

    Kind regards

    Cameron Lackpour

    Edited by: CL, Sep 13, 2010 16:37
    Adding an extension to the scriptname.

  • Defining the new path for the data files for restoring using the VALUE of NEWNAME FOR DATABASE

    Version: 11.2.0.3 Linux

    Today, I had to do a restore RMAN to a new server and I came across the post following RTO on the VALUE of NEWNAME FOR DATABASE

    ALTER database open resetlogs upgraded;         error to throw

    So, I thought to use it to indicate the new location of the data files to restore.

    That's what I did
    ===================

    Restore the control file and catalog items to backup using the command of CATALOGUE START WITH. Then I started the restoration
    $ rman target / cmdfile=restore.txt
    
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:40:41 2012
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: SPIKEY (DBID=2576163333, not open)
    
    RMAN> run
    2>  {
    3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey';
    4>  restore database  ;
    5>  }
    6>
    7>
    8>
    executing command: SET NEWNAME
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 07/26/2012 04:40:43
    RMAN-06970: NEWNAME '/fnup/hwrc/oradata/spikey' for database must include %f or %U format
    
    Recovery Manager complete.
    Don't know how it worked for Levi without %f or %U. So, I added %f
     $ vi restore.txt
     $ cat restore.txt
    run
     {
     SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
     restore database  ;
     }
    
    
     $ rman target / cmdfile=restore.txt
    
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:45:45 2012
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: SPIKEY (DBID=2576163333, not open)
    
    RMAN> run
    2>  {
    3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
    4>  restore database  ;
    5>  }
    6>
    7>
    8>
    executing command: SET NEWNAME
    
    Starting restore at 26-JUL-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=19 device type=DISK
    
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /fnup/hwrc/oradata/spikey/1
    channel ORA_DISK_1: restoring datafile 00002 to /fnup/hwrc/oradata/spikey/2
    channel ORA_DISK_1: restoring datafile 00003 to /fnup/hwrc/oradata/spikey/3
    channel ORA_DISK_1: restoring datafile 00004 to /fnup/hwrc/oradata/spikey/4
    channel ORA_DISK_1: restoring datafile 00005 to /fnup/hwrc/oradata/spikey/5
    channel ORA_DISK_1: restoring datafile 00006 to /fnup/hwrc/oradata/spikey/6
    channel ORA_DISK_1: restoring datafile 00007 to /fnup/hwrc/oradata/spikey/7
    channel ORA_DISK_1: restoring datafile 00008 to /fnup/hwrc/oradata/spikey/8
    channel ORA_DISK_1: restoring datafile 00009 to /fnup/hwrc/oradata/spikey/9
    channel ORA_DISK_1: reading from backup piece /u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
    channel ORA_DISK_1: errors found reading piece handle=/u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
    channel ORA_DISK_1: failover to piece handle=/u07/dump/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk tag=SPIKEY_FULL
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:56
    Finished restore at 26-JUL-12
    
    Recovery Manager complete.
    As you can see, RMAN restore data files to the desired location. But the data file names ended up as
    1
    2
    3
    .
    .      
    .
    9
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -----------| Holy Cow |-----------------------------


    So I had to rename each file as below
    $ mv 1 /fnup/hwrc/oradata/spikey/system01.dbf
    $ mv 2 /fnup/hwrc/oradata/spikey/sysaux01.dbf
    $ mv 3 /fnup/hwrc/oradata/spikey/undotbs01.dbf
    I would have been better in execution of the order for each data below file
    SET NEWNAME FOR DATAFILE
    Now, I think, there is no advantage in using NEWNAME SET of DATABASE to. Only the disadvantages. I did anything wrong above?

    Martin;

    On the issue of the VALUE of NEWNAME FOR DATABASE, you must specify at least one of the first three of the following substitution variables to avoid collisions of names: %b f % U. see semantic entry for TO 'filename' for a description of the possible substitution variables.

    You use %f

    %b
    
    Specifies the filename without the fully qualified directory path. For example, the datafile name /oradata/prod/financial.dbf is transformed to financial.dbf. This variable enables you to preserve the names of the datafiles while you move them to different directory. During backup, it can be used for the creation of image copies. The variable cannot be used for OMF datafiles or backup sets.
    
    %f
    
    Specifies the absolute file number of the datafile for which the new name is generated. For example, if datafile 2 is duplicated, then %f generates the value 2.
    
    %U
    
    Specifies a system-generated unique filename. The name is in the following format: data-D-%d_id-%I_TS-%N_FNO-%f. The %d variable specifies the database name. For example, a possible name might be data-D-prod_id-22398754_TS-users_FNO-7.
    

    Source - E10643-01

    Backup and recovery reference

    http://docs.Oracle.com/CD/E14072_01/backup.112/e10643/rcmsynta2014.htm

    I see CKPT and I agree on that!

    Best regards

    mseberg

  • An error occurred during the renewal of the Loopback Pseudo-Interface 1: the system cannot find the specified file. I use ipconfig /renew6.

    Hi all

    I use version 2.1 of WINPE. It works with ipv4 network services.

    I have a "Windows2008R2" machine in my network. In this server I am running a DHCPv6 server in my network. This server is the allocation of IPv6 addresses to all computers that have the OS Vista and Win7, etc (for vista and above).

    But I'm not able to receive the ipv6 address for winpe2.1 pc which is my test pc.

    What are the basic things I should do to receive the IPv6 ip address.

    If you please suggest me that how I can solve this problem.

    I tried to have run the command as "ipconfig /renew6" but he throwed an error

    An error occurred during the renewal of the Loopback Pseudo-Interface 1: the system cannot find the specified file.

    It is very urgent for me. I ask if anyone knows the steps so that the WINPE2.1 system get IPV6 will be appreciated.

    Thank you very much.

    Andy

    http://www.Microsoft.com/windowsserver2008/en/us/community.aspx

    They will help you in the community of Windows Server above with your questions.

    See you soon.

    Mick Murphy - Microsoft partner

  • Cannot retrieve the data mappings of resources

    Hi all

    Try SRM 5.8 in my lab before production deployment, and I am running into a problem of configuration of resource maps. I was able to correctly associate sites, but after that I added a new pair of mapping resources, I get the message "Unable to retrieve data from mappings of resources" from the GUI.

    Check the SRM logs and don't see anything relevant... Hoping someone can give an overview on the place where to look to fix this problem. Thank you!

    I think that I figured it was apparently the DNS resolution. My VC Prod could not resolve the host name of the VC DR (although I used IP addresses for the SRM installation). Once I added the local hosts two VCs file name resolutions, I could see the resource mapping of lists.

    Leaving it here just in case some else will continue in this issue.

  • Cannot retrieve the data of Type XML

    Hi all

    I have equipped table column of type XMLType

    XML data is loaded into the table.

    But when iam trying to extract not able to recover data

    I use here is the select query

    SELECT CL. XMLDATA. Extract('/ServiceType/EntityName/text()').getStringVal () "entityname" OF CL_DATA_SERVICE_TEMPLATE CL.

    Any help / pointer will help me much... Thanks in advance

    Example of XML file:

    <? XML version = "1.0" encoding = "WINDOWS-1252"? >

    < ServiceType xmlns = "http://www.bmiasia.com/tBos/service_1_0" >

    < entityName > bmiasia.app.irb.servicetemplate12 < / entityName >

    < systemVersion > 4 < / systemVersion >

    < displayName >

    < bundle / >

    < key > AG - VCA < / key >

    < / displayName >

    < description > AG - VCA GROUP: AG - VCA < / description >

    < entityName category = ' bmiasia.app.service.category.ServiceRootCategory.AG_ - _EVC_Services ' >

    < operation > ADD < / operation >

    < / category >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_PRODUCT_ID" >

    < entityName type = "1" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_GL_PRODUCT_CODE" >

    < entityName type = "2" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_GL_PROFIT_CENTRE" >

    < entityName type = "3" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_SERVICE_CODE" >

    < entityName type = "4" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.RSP_EU_CUST_REF" >

    < entityName type = "5" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "irbPkClass" >

    < entityName = "type com.convergys.geneva.j2ee.product.ProductPK" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "irbId" >

    < entityName type "12" = > < / type >

    < / entityMetaInfo >

    < name extensionProperty = "hasAddress" value = "true" > < / extensionProperty >

    < parent >

    < itemkey > AllServiceTemplate < / itemkey >

    < name > AllServiceTemplate < / name >

    < targetEntity entityName = "bmiasia.app.service.template.AllServiceTemplate" > < / targetEntity >

    < number > 0 < / number >

    < / parent >

    NORMAL < group > < / group >

    < siu >

    < itemkey > L2_OPTION < / itemkey >

    < operation > ADD < / operation >

    < name > L2_OPTION < / name >

    < required > true < / required >

    < source > INTERNAL < / source >

    < displayName >

    L2 Option < key > < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > L3_OPTION < / itemkey >

    < operation > ADD < / operation >

    < name > L3_OPTION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    L3 Option < key > < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > QPEVPL_SERVICE_ID < / itemkey >

    < operation > ADD < / operation >

    < name > QPEVPL_SERVICE_ID < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > QP EVLP Service ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > QPEVPL_LAG_ID < / itemkey >

    < operation > ADD < / operation >

    < name > QPEVPL_LAG_ID < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > QP EVLP LAG ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > CO_NAME < / itemkey >

    < operation > ADD < / operation >

    < name > CO_NAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > aggregation Layer / layer of Co < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_SALUTAION < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_SALUTAION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation greeting < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_LASTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_LASTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > plant name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_FIRSTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_FIRSTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation first name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_TELEPHONE < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_TELEPHONE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation phone < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_MOBILE < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_MOBILE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation Mobile < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_EMAIL < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_EMAIL < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > plant Email < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_NOTIFICATION < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_NOTIFICATION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation Notification < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_SALUTAION < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_SALUTAION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical greeting < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_LASTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_LASTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    <>key operational and technical name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_FIRSTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_FIRSTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    key operational <>/ Technical name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_TELEPHONE < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_TELEPHONE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical phone < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_MOBILE < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_MOBILE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical Mobile < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_EMAIL < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_EMAIL < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical Email < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_NOTIFICATION < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_NOTIFICATION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / Technical Notification < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > SERVICE_ACTIVATION_PERIOD < / itemkey >

    < operation > ADD < / operation >

    < name > SERVICE_ACTIVATION_PERIOD < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > period of Activation of Service < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > REJECT_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > REJECT_CODE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > reason for rejection < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPLICATION_ACCEPTED < / itemkey >

    < operation > ADD < / operation >

    < name > APPLICATION_ACCEPTED < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > application accepted < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.BooleanCheckSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPLICATION_REJECTED < / itemkey >

    < operation > ADD < / operation >

    < name > APPLICATION_REJECTED < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > application rejected < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.BooleanCheckSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPROVAL_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > APPROVAL_CODE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Probate Code < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > PROCESSED_BY < / itemkey >

    < operation > ADD < / operation >

    < name > PROCESSED_BY < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > treated by < / keys >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > ACTUAL_RFS_DATE < / itemkey >

    < operation > ADD < / operation >

    < name > ACTUAL_RFS_DATE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > effective Date of RFS < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.DateSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > WARNING < / itemkey >

    < operation > ADD < / operation >

    < name > WARNING < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > WARNING < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_PRODUCT_ID < / itemkey >

    < operation > ADD < / operation >

    < name > NC_PRODUCT_ID < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > NC product ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_GL_PRODUCT_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_GL_PRODUCT_CODE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > NC GL product Code < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_GL_PROFIT_CENTRE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_GL_PROFIT_CENTRE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > Profit Center for the GL NC < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_SERVICE_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_SERVICE_CODE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > EUC ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate54 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate54 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS A < / keys >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate55 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate55 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS B < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate56 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate56 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS C < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate57 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate57 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS D < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < defaultWorkflowInfo >

    < entityName = "workflow bmiasia.app.irb.servicetemplate12_Workflow" > < / workflow >

    < entityName = "bmiasia.app.irb.servicetemplate12_CancelFlow" cancelFlow > < / cancelFlow >

    < / defaultWorkflowInfo >

    < source > EXTERNAL < / source >

    < entityName = "bmiasia.app.irb.servicetemplate54" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS A < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate55" additionalServices >

    < operation > ADD < / operation >

    < name > CIR Per 250Mbps CoS B < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate56" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS C < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate57" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS D < / name >

    < / additionalServices >

    < defaultWorkflowDefinition >

    < installSoEntityName > bmiasia.app.template.serviceorder.Installservicetemplate12SO < / installSoEntityName >

    < changeSoEntityName > bmiasia.app.template.serviceorder.Modifyservicetemplate12SO < / changeSoEntityName >

    < removeSoEntityName > bmiasia.app.template.serviceorder.Removeservicetemplate12SO < / removeSoEntityName >

    workflow <>

    < entityName > bmiasia.app.irb.servicetemplate12_Workflow < / entityName >

    < / workflow >

    < cancelFlow >

    < entityName > bmiasia.app.irb.servicetemplate12_CancelFlow < / entityName >

    < / cancelFlow >

    < / defaultWorkflowDefinition >

    < / ServiceType >
     SELECT extractvalue(VALUE(p),'//itemkey','xmlns="http://www.bmiasia.com/tBos/service_1_0"') Name,
      extractvalue(VALUE(p),'//required','xmlns="http://www.bmiasia.com/tBos/service_1_0"') Required
       FROM CL_DATA_SERVICE_TEMPLATE w,
      TABLE(XMLSEQUENCE(EXTRACT(xmldata,'/ServiceType/siu','xmlns="http://www.bmiasia.com/tBos/service_1_0"'))) p
    

    untested... check and confirm...

    Ravi Kumar

  • On the use of the data file

    Hi all

    Last week I was simulating a crash of my database (Oracle 11.2.0.3, last group of patches) due to data files missing. So, I just removed the data file where my web application stores the data to see what's going to happen. But nothing happened, demand is rising and running and I was able to create new items in the user interface and save them. Normally, all these data are stored in oracle.

    After that I created a few articles, I bounced the database. Then I restored and retrieved the data file with RMAN. All items I created after the deletion of the data file were there.

    I would like to know, in which oracle order would write the DML commited to for recovery logs and the data file, so that I can explain the behavior of the application. I was wondering how the commited changes after deletion of the data file have been preserved even after the restoration of the data since the last backup RMAN file.

    Thanks for any input.

    Best regards

    Coby.

    every time that you agree to any transaction that the LGWR writes that transforms redo log buffer to restore the log file. When saturates redolog files then it launches checkpoint and writing each thin to the log file archive.

    DBWR writes data to the buffer cache of datafile only if it doesnot have free tampons with him.

    In your case, what could have happened is when you deleted the data file and made changes in the database. He could not write these changes to the data file and made the entery in the redo log file.

    so, after you have to bounce the database and restore the database and retrieve using the archiving log. you'd get output like media recovery complete and all the changes made to the database once you have deleted the data file, all the changes has returned to recovery.

  • ORA-00313: cannot open the online newspaper

    Hi all!!!

    Help, please

    % sqldba startup

    SQL * DBA: Version 6.0.33.1.1 - Production sea Jul 11 15:40:37 2013

    Copyright (c) Oracle Corporation, 1979, 1989.  All rights reserved.

    RDBMS ORACLE v6.0.33.1.1, option - Production of transactional processing

    ORACLE instance started.

    Mounted database.

    ORA-00313: cannot open the online journal "/ u1/oradata/orac/log2orac.dbf" (log # 2, log)

    ORA-00320: cannot read the log file header

    ORA-07362: sfifi: error, cannot open the file open.

    UNIX System V 386/486: 13 error: permission denied

    Attempt to disassemble the database... The database is dismounted.

    Attempt to stop instance... ORACLE instance stops.

    SQL * DBA complete.

    %

    Idea?

    987301 wrote:

    Hi all!!!

    Help, please

    % sqldba startup

    SQL * DBA: Version 6.0.33.1.1 - Production sea Jul 11 15:40:37 2013

    Copyright (c) Oracle Corporation, 1979, 1989.  All rights reserved.

    RDBMS ORACLE v6.0.33.1.1, option - Production of transactional processing

    ORACLE instance started.

    Mounted database.

    ORA-00313: cannot open the online journal "/ u1/oradata/orac/log2orac.dbf" (log # 2, log)

    ORA-00320: cannot read the log file header

    ORA-07362: sfifi: error, cannot open the file open.

    UNIX System V 386/486: 13 error: permission denied

    Attempt to disassemble the database... The database is dismounted.

    Attempt to stop instance... ORACLE instance stops.

    SQL * DBA complete.

    %

    Idea?

    ANCIENT Oracle (V6)?

    the file u1/oradata/orac/log2orac.dbf' actually exist?

    When the last time Oracle began you it without error.

    What has happened since?

Maybe you are looking for