LK DB_NAME FILE에 대하여 (ORA-1102에 대한 원인 설명)

제품 : ORACLE SERVER
작성날짜 : 2000-05-05
LK<DB_NAME> FILE에 대하여 (ORA-1102에 대한 원인 설명)
===================================================
Unix 용 Oracle7.3.3 이전의 version에서는 parallel server mode(OPS)로
운용하지 않더라도 서로 다른 ORACLE_SID를 이용하는 두개의 instance가 하나의
database를 동시에 mount하는 것이 경우에 따라서는 가능할 수도 있었다
(<Bug:272030>). 이 경우, 서로 독립적인 두개의 instance가 동일한 database
file들을 동기화 (synchronisation)없이 access할 수 있기 때문에 database
corruption을 유발시킬 수 있었다.
Unix system에서의 이러한 문제를 회피하기 위하여 7.3.3부터 'mount lock'
file이 이용된다. 이 file은 그 size가 0 byte, 생성되는 위치는
$ORACLE_HOME/dbs 이며 그 이름은 lk<DB_NAME> 이다.
Oracle이 database를 mount할 때 lk<DB_NAME> file과 관련하여 다음과 같은
절차를 수행한다.
1. file name의 'DB_NAME' 부분은 db_name parameter를 이용한다.
예를 들어, db_name=V803 이라면 사용되는 lock file의 위치와 이름은
'$ORACLE_HOME/dbs/lkV803'이 된다.
2. 만약 해당 file이 존재하지 않는다면 생성한다.
존재한다면 file을 open한다.
3. 이 file에 exclusive Unix file lock을 설정한다.
위의 과정 상에서 문제가 발생된다면 해당 instance는 db를 mount할 수 없으며
ORA-1102('cannot mount database in exclusive mode')가 return된다.
Releasae 7.3.3 이전에서는 동일한 $ORACLE_HOME, 동일한 db_name을 이용하는
두 개의 database를 $ORACLE_SID만 다르다면 동시에 open하여 사용할 수 있었다.
그러나 lock file이 사용되는 7.3.3부터는, lock file의 이름에 db_name이
이용되기 때문에 어느 한쪽의 db_name을 변경해야만 동시에 open하여 사용할
수가 있다.(db_name의 변경은 controlfile을 재생성함으로써 가능하다.)
이렇게 database의 db_name이 변경되면 각각의 lk<DB_NAME> file을 생성하여
이용하게 된다.
참고 사항
1. database를 구동하고 있는 instance가 있을 때에는 lk<DB_NAME> file은
삭제하지 않도록 한다.
2. database가 shutdown되더라도 lk<DB_NAME> file은 삭제되지 않고 존재한다.
따라서 이 file의 유무를 가지고 database의 구동 유무를 판단할 수 없다.
3. lk<DB_NAME>의 DB_NAME은 SID와는 다를 수 있다. SID가 아닌 DB_NAME을
이용함에 주의.
4. lock file과 관련하여 다음의 error들이 발생될 수 있다.
ORA-9992 scumnt: failed to open <FILENAME>
ORA-9993 scumnt: failed to lock <FILENAME>
ORA-1102 cannot mount database in exclusive mode

Similar Messages

  • ORA-01511:error in renaming data file & ORA-01516: nonexistent data file

    Hi all,
    DB version is 10.2.0.2 and Applications 12.0.6 on RHEL 4
    While creating data file mistakenly we created with '?' as follows:
    "/d01/CRP/db/apps_st/data/tx_?data53.dbf"
    After that we tried to rename those data file using below steps but we are geting error message as follows:
    1.SQL>ALTER TABLESPACE APPS_TS_TX_DATA OFFLINE NORMAL; at DB in OPEN stage
    2.$mv /d01/CRP/db/apps_st/data/tx_?data53.dbf /d01/CRP/db/apps_st/data/tx_data53.dbf
    3.ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf';
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01516: nonexistent log file, datafile, or tempfile
    "/d01/CRP/db/apps_st/data/tx_?data53.dbf"
    After that we tried to revert back by moving to original name usinf os commnds i.e tx_?data53.dbf and tried to open the database as follows but getting error message as follows:
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size 1264892 bytes
    Variable Size 440402692 bytes
    Database Buffers 620756992 bytes
    Redo Buffers 11317248 bytes
    Database mounted.
    SQL> recover database;
    Media recovery complete.
    SQL> alter database open ;
    alter database open
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Please help us t oresolve the Issue
    Edited by: 912734 on Feb 15, 2012 2:43 AM

    Errors in alert log file:
    ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
    Wed Feb 15 15:38:58 2012
    ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
    Wed Feb 15 15:40:10 2012
    ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
    Wed Feb 15 15:40:10 2012
    ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
    ALTER TABLESPACE APPS_TS_TX_DATA ONLINE
    Wed Feb 15 15:41:09 2012
    Errors in file /d01/CRP/db/tech_st/10.2.0/admin/CRP2_oraapps/bdump/crp2_dbw0_1605.trc:
    ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
    ORA-01110: data file 11: '/d01/CRP/db/apps_st/data/tx_
    data53.dbf'
    ORA-27037: unable to obtain file status

  • Error while running a menu file (ORA-01775 followed by FRM-41810)

    Hi all,
    I had a menu file which was working fine. After adding Security to it by specifying the roles which can access the menu items. After doing so, when I run the menu (with the corresponding form), I get ORA-01775 (looping chain of synonyms) followed by FRM-41810 (menu not created) error.
    Any ideas ?
    Thanks in advance,
    Hiten Vira

    Hi,
    which version of forms you are using ? Is there something to do with synonyms ? I mean are you using synonyms in your application. The basic cause of this error is:
    Cause: Through a series of CREATE synonym statements, a synonym was defined
    that referred to itself.
    For example, the following definitions are circular:
    CREATE SYNONYM s1 for s2
    CREATE SYNONYM s2 for s3
    CREATE SYNONYM s3 for s1
    Action: Change one synonym definition so that it applies to a base table or
    view and retry the operation.
    Update with more details.........

  • Loding clob from file-ORA-22994

    declare
    dest_clob CLOB;
    src_clob BFILE ;
    dst_offset number :=1;
    src_offset number :=1;
    lang_ctx number := DBMS_LOB.DEFAULT_LANG_CTX;
    warning number;
    type filesarray IS VARRAY(5) OF VARCHAR2(50);
    names filesarray;
    l_stmt CLOB;
    BEGIN
    names := filesarray('p1.xml','p2.xml','p3.xml','p4.xml','p5.xml');
    FOR I IN 1..names.count LOOP
    --DBMS_OUTPUT.ENABLE(100000);
    dest_clob :='';
    src_clob := BFILENAME('PCSORADIR',names(i));
    Insert into TEST (NAME,VALUE) values
    (SUBSTR(names(i),1,INSTR(names(i),'.xml',1,1)-1),EMPTY_CLOB())
    RETURNING VALUE INTO dest_clob;
    DBMS_LOB.OPEN(src_clob, DBMS_LOB.LOB_READONLY);
    DBMS_OUTPUT.PUT_LINE(names(i));
    DBMS_OUTPUT.PUT_LINE(DBMS_LOB.GETLENGTH(src_clob));
    DBMS_LOB.LoadCLOBFromFile(
    DEST_LOB => dest_clob
    , SRC_BFILE => src_clob
    , AMOUNT => DBMS_LOB.GETLENGTH(src_clob)
    , DEST_OFFSET => dst_offset
    , SRC_OFFSET => src_offset
    , BFILE_CSID => DBMS_LOB.DEFAULT_CSID
    , LANG_CONTEXT => lang_ctx
    , WARNING => warning
    );DBMS_OUTPUT.PUT_LINE('test');
    dbms_lob.filecloseall;
    COMMIT;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('Loaded XML File using DBMS_LOB.LoadCLOBFromFile: (ID=1001).');
    END;
    Its giving error-ORA-22994: source offset is beyond the end of the source LOB
    If i am loading these files individually(with out any loop) its loading with out any error.

    INRi wrote:
    declare
    dest_clob CLOB;
    src_clob BFILE ;
    dst_offset number :=1;
    src_offset number :=1;
    lang_ctx number := DBMS_LOB.DEFAULT_LANG_CTX;
    warning number;
    type filesarray IS VARRAY(5) OF VARCHAR2(50);
    names filesarray;
    l_stmt CLOB;
    BEGIN
    names := filesarray('p1.xml','p2.xml','p3.xml','p4.xml','p5.xml');
    FOR I IN 1..names.count LOOP
    --DBMS_OUTPUT.ENABLE(100000);
    dest_clob :='';
    src_clob := BFILENAME('PCSORADIR',names(i));
    Insert into TEST (NAME,VALUE) values
    (SUBSTR(names(i),1,INSTR(names(i),'.xml',1,1)-1),EMPTY_CLOB())
    RETURNING VALUE INTO dest_clob;
    DBMS_LOB.OPEN(src_clob, DBMS_LOB.LOB_READONLY);
    DBMS_OUTPUT.PUT_LINE(names(i));
    DBMS_OUTPUT.PUT_LINE(DBMS_LOB.GETLENGTH(src_clob));
    DBMS_LOB.LoadCLOBFromFile(
    DEST_LOB => dest_clob
    , SRC_BFILE => src_clob
    , AMOUNT => DBMS_LOB.GETLENGTH(src_clob)
    , DEST_OFFSET => dst_offset
    , SRC_OFFSET => src_offset
    , BFILE_CSID => DBMS_LOB.DEFAULT_CSID
    , LANG_CONTEXT => lang_ctx
    , WARNING => warning
    );DBMS_OUTPUT.PUT_LINE('test');
    dbms_lob.filecloseall;
    COMMIT;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('Loaded XML File using DBMS_LOB.LoadCLOBFromFile: (ID=1001).');
    END;
    Its giving error-ORA-22994: source offset is beyond the end of the source LOB
    If i am loading these files individually(with out any loop) its loading with out any error.Have you read the documentation on loadclobfromfile? http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lob.htm#i998978
    >
    dest_offset
    (IN) Offset in characters in the destination CLOB (origin: 1) for the start of the write. *(OUT) The new offset in characters right after the end of this load, which is also where the next load should start*. It always points to the beginning of the first complete character after the end of load. If the last character is not complete, offset goes back to the beginning of the partial character.
    src_offset
    (IN) Offset in bytes in the source BFILE (origin: 1) for the start of the read. *(OUT)Offset in bytes in the source BFILE right after the end of this read, which is also where the next read should begin*.

  • I am geting errors in my database alert log file ora-12012 and ora 44003

    Hi all,
    I am using oracle 10g ...10.2.0.1.0 and OS is solaris 10.......
    i am geting these errors in my database alert log file last two days..i am not geting why it is coming?
    ORA-12012: error on auto execute of job 8887
    ORA-44003: invalid SQL name
    and trace file is i got i am posting here please help any one is aware about this....
    System name: SunOS
    Node name: obrmzone1
    Release: 5.10
    Version: Generic_137111-06
    Machine: sun4v
    Instance name: ------
    Redo thread mounted by this instance: 1
    Oracle process number: 144
    Unix process pid: 26874, image:--------- (J000)
    *** ACTION NAME:(AUTO_SPACE_ADVISOR_JOB) 2011-06-10 22:00:49.372
    *** MODULE NAME:(DBMS_SCHEDULER) 2011-06-10 22:00:49.372
    *** SERVICE NAME:(SYS$USERS) 2011-06-10 22:00:49.372
    *** SESSION ID:(110.7114) 2011-06-10 22:00:49.372
    *** 2011-06-10 22:00:49.372
    ORA-12012: error on auto execute of job 8887
    ORA-44003: invalid SQL name
    thank you in advance,
    Dav

    I just google with "ORA-44003: invalid SQL name" and found below link:
    http://www.oracle-base.com/articles/10g/dbms_assert_10gR2.php
    SIMPLE_SQL_NAME
    The SIMPLE_SQL_NAME function checks the input string conforms to the basic characteristics of a simple SQL name:
    The first character of the name is alphabetic.
    The name only contains alphanumeric characters or the "_", "$", "#"
    Quoted names must be enclosed by double quotes and may contain any characters, including quotes provided they are represented by two quotes in a row ("").
    The function ignores leading and trailing white spaces are ignored
    The length of the input string is not validated.

  • Please share me the latest Oracle Help files (ora.hlp, sql.hlp, plsql.hlp)

    Dear my good friends,
    Would you kindly share the latest Oracle Help files of Oracle 10g version or show me the url address (http://...) to download those Help files.
    Some help files of Oracle such as: ora.hlp, sql.hlp, plsql.hlp, etc.
    Thank you very much for your help.
    Best Regards,
    Anna Mary.

    The HTML doc seems to be enough.<br>
    We have installed it on one of our webserver for internal usage, and it works fine.<br>
    <br>
    Nicolas.

  • While loading a file ORA-00906 : left parente

    i'm trying to load a simple file with ODI, and using this loading to set a value for a Variable #vReadFile with reading line by line the file , and #vLineNumber specifie the number of the line to processes.
    here is the code for loading the file :
    select     C1     C1_C1
    from      TABLE
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=files_namesSNP$CRLOAD_FILE=C:\stage\ODI_sources\files_names/files_names.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=#vLineNumber SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=C1SNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
    the error is : ORA-00906 missing left parenthesis
    best reagrds

    Hi Otmane ,
    Once again get the code freshely from the operator and paste it in the variable and assign your odi variable to $CRFILE_FIRST_ROW and then test it once again.
    Thanks

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

    Hi,
    i have a primary database and standby database (11.2.0.1.0) running in ASM with different diskgroup names. I applied an incremental backup on standby database to resolve archive log gap and generated a controlfile for standby in primary database and restored the controlfile in standby database.But when i started the MRP process its not starting and thows error in alert log ORA-01157: cannot identify/lock data file. When i queried the standby database file it shows the location on primary database datafiles names not the standby database.
    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
    STANDBY 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 standby database files in ASM in 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 datafiles in standby database but it throws error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Regards,
    007

    Hi saurabh,
    I tried to rename the datafiles in standby database after restoring it throws the below error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Also in my pfile i have mentioned the below parameters
    *.db_create_file_dest='+STDBY'
    *.db_domain=''
    *.db_file_name_convert='+DATA','+STDBY'
    *.db_name='ORADB'
    *.db_unique_name='11GDB'
    Regards,
    007

  • ORA-00205: error in identifying control file, check alert log for more

    I am trying to upgrade database software from 11.2.0.1 to 11.2.0.2 and followed the steps given in the Doc ID 1276368.1 in linux 86 OS environment . I am in step 9 where i need to start up the database in startup upgrade mode. I get the the following error. Please help. This out of box upgrade is quite tricky and my database is stigged version. Not able to trouble shoot further, Please help me to go forward.
    sqlplus " / as sysdba "
    SQL> spool /tmp/upgrade.log
    SQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 1607008256 bytes
    Fixed Size 1344476 bytes
    Variable Size 973081636 bytes
    Database Buffers 620756992 bytes
    Redo Buffers 11825152 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Do i shutdown and restart again? I need to run @catupgrd.sql; and other.sql to upgrade it and then apply CPU patch.
    Please help...regards

    Fatal NI connect error 12637, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 21-NOV-2011 04:49:04
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12637
    TNS-12637: Packet receive failed
    ns secondary err code: 12532
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (3912) as a result of ORA-609
    Mon Nov 21 04:59:02 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 04:59:04 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 26
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 04:59:09 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 04:59:09 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC3: Archival stopped
    ARC1: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC2: Archival stopped
    Thread 1 closed at log sequence 1458
    Successful close of redo thread 1
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    MMON started with pid=15, OS id=4342
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon C:\Users\MVEMURI 07:48:48 2011
    MMNL started with pid=16, OS id=4347
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 07:48:49 2011
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 2616737889
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Mon Nov 21 07:48:54 2011
    ALTER DATABASE OPEN
    LGWR: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:54 2011
    ARC0 started with pid=20, OS id=4398
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:55 2011
    ARC1 started with pid=21, OS id=4403
    Mon Nov 21 07:48:55 2011
    ARC2 started with pid=22, OS id=4408
    ARC1: Archival started
    ARC2: Archival started
    ARC2: Becoming the 'no FAL' ARCH
    ARC2: Becoming the 'no SRL' ARCH
    Mon Nov 21 07:48:55 2011
    ARC3 started with pid=23, OS id=4413
    ARC1: Becoming the heartbeat ARCH
    Thread 1 opened at log sequence 1458
    Current log# 3 seq# 1458 mem# 0: /u01/app/oracle/oradata/rtborcl/redo03.log
    Current log# 3 seq# 1458 mem# 1: /u02/app/oracle/oradata/redo03b.log
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    ARC3: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Successfully onlined Undo Tablespace 2.
    Undo initialization finished serial:0 start:977954 end:979234 diff:1280
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    Mon Nov 21 07:48:58 2011
    SMON: enabling tx recovery
    Database Characterset is WE8MSWIN1252
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Nov 21 07:49:03 2011
    QMNC started with pid=24, OS id=4418
    Mon Nov 21 07:49:10 2011
    db_recovery_file_dest_size of 4977 MB is 13.68% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Nov 21 07:49:12 2011
    Completed: ALTER DATABASE OPEN
    Mon Nov 21 07:49:12 2011
    Starting background process CJQ0
    Mon Nov 21 07:49:12 2011
    CJQ0 started with pid=25, OS id=4470
    Mon Nov 21 07:54:05 2011
    Starting background process SMCO
    Mon Nov 21 07:54:05 2011
    SMCO started with pid=26, OS id=4515
    Mon Nov 21 10:08:01 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:08:01 2011
    Thread 1 advanced to log sequence 1459 (LGWR switch)
    Current log# 1 seq# 1459 mem# 0: /u01/app/oracle/oradata/rtborcl/redo01.log
    Current log# 1 seq# 1459 mem# 1: /u02/app/oracle/oradata/redo01b.log
    Mon Nov 21 10:08:04 2011
    Archived Log entry 1421 added for thread 1 sequence 1458 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:12:53 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:12:53 2011
    Thread 1 advanced to log sequence 1460 (LGWR switch)
    Current log# 2 seq# 1460 mem# 0: /u01/app/oracle/oradata/rtborcl/redo02.log
    Current log# 2 seq# 1460 mem# 1: /u02/app/oracle/oradata/redo02b.log
    Mon Nov 21 10:12:53 2011
    Archived Log entry 1422 added for thread 1 sequence 1459 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:14:44 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 10:14:45 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 4
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 10:14:49 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 10:14:54 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC3: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC2: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC1: Archival stopped
    Thread 1 closed at log sequence 1460
    Successful close of redo thread 1
    Mon Nov 21 10:15:01 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 10:15:02 2011
    Stopping background process VKTM:
    Mon Nov 21 10:15:08 2011
    Instance shutdown complete
    Mon Nov 21 11:52:11 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side pfile /u01/app/oracle/product/11.2.0/db_2/dbs/initrtborcl.ora
    System parameters with non-default values:
    processes = 150
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.0.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Create Relation DFW_CONFIG_CAPTURE
    Create Relation DFW_CONFIG_ITEM
    Mon Nov 21 11:52:17 2011
    PMON started with pid=2, OS id=7339
    Mon Nov 21 11:52:17 2011
    PSP0 started with pid=3, OS id=7344
    Mon Nov 21 11:52:18 2011
    VKTM started with pid=4, OS id=7349
    VKTM running at (100ms) precision
    Mon Nov 21 11:52:18 2011
    GEN0 started with pid=5, OS id=7356
    Mon Nov 21 11:52:19 2011
    DIAG started with pid=6, OS id=7361
    Mon Nov 21 11:52:19 2011
    DBRM started with pid=7, OS id=7366
    Mon Nov 21 11:52:19 2011
    DIA0 started with pid=8, OS id=7371
    Mon Nov 21 11:52:19 2011
    MMAN started with pid=9, OS id=7376
    Mon Nov 21 11:52:19 2011
    DBW0 started with pid=10, OS id=7381
    Mon Nov 21 11:52:19 2011
    LGWR started with pid=11, OS id=7386
    Mon Nov 21 11:52:19 2011
    CKPT started with pid=12, OS id=7391
    Mon Nov 21 11:52:19 2011
    SMON started with pid=13, OS id=7396
    Mon Nov 21 11:52:19 2011
    RECO started with pid=14, OS id=7401
    Mon Nov 21 11:52:19 2011
    MMON started with pid=15, OS id=7406
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Nov 21 11:52:19 2011
    MMNL started with pid=16, OS id=7411
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 11:52:20 2011
    ALTER DATABASE MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Mon Nov 21 11:52:21 2011
    Checker run found 1 new persistent data failures

  • ORA-01103: database name 'TESTING2' in control file is not'TESTING1..

    Hello all, please help me on this..im using 10.2.0.4.0 , DB created by ex-colleque
    while connecting db getting ora 1103 error, and tried to create controlfile using trace but i couldn't
    here is the details:
    TESTING1 >startup mount;
    ORACLE instance started.
    Total System Global Area 734003200 bytes
    Fixed Size 2141536 bytes
    Variable Size 328159904 bytes
    Database Buffers 369098752 bytes
    Redo Buffers 34603008 bytes
    ORA-01103: database name 'TESTING2' in control file is not 'TESTING1'
    want to backup ctl file and change the dbname, getting below error..
    TESTING1 >alter database backup controlfile to trace;
    alter database backup controlfile to trace
    ERROR at line 1:
    ORA-01507: database not mounted
    TESTING1:/app/oracle/TESTING1/product/10.2.0.4/dbs >grep db_name initTESTING1.ora
    *.db_name='TESTING1'
    I have found TESTING2 entries in alert log file..
    TESTING1:/app/oracle/TESTING1/admin/bdump >grep TESTING2 alert_TESTING1.log
    DBNAME will be changed from TESTING1 to new DBNAME of TESTING2
    Database name changed to TESTING2.
    Database ID for database TESTING2 changed to 1933958893.
    i have tried to create new controlfile and tried to startup..got below error hence i hv mentioned same datafiles path..
    ORA-01161: database name TESTING2 in file header does not match given name of TESTING1

    Here is the first law of holes.
    When you find yourself in a hole, the first thing you should do is STOP digging.
    Have you taken a full, cold backup since this event started?
    DBNAME will be changed from TESTING1 to new DBNAME of TESTING2When & why did this occur?
    Do you have a valid & recent backup?
    i have tried to create new controlfile Why did you do this?
    Edited by: sb92075 on May 7, 2010 8:36 PM

  • Error ORA-03113: end-of-file on communication channel (while starting db)

    Hello everybody! :-)
    Looks like a need help with Oracle 11gr2 (RHEL 6 x64). Faced with a problem while starting database:
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 7 01:43:45 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2538741760 bytes
    Fixed Size 2216024 bytes
    Variable Size 1828720552 bytes
    Database Buffers 687865856 bytes
    Redo Buffers 19939328 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 6601
    Session ID: 575 Serial number: 5
    This is logfile (/u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/alert/log.xml):
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 28496896 bytes disk space from 5218762752 limit
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>ARCH: Error 19809 Creating archive log file to &apos;/u01/app/oracle/flash_recovery_area/ORCLDOCS1/archivelog/2012_12_07/o1_mf_1_249_%u_.arc&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-16038: log 3 sequence# 249 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 1: &apos;/u01/app/oracle/oradata/orcldocs1/redo03.log&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>USER (ospid: 6881): terminating the instance due to error 16038
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:23.540+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Instance terminated by USER, pid = 6881
    </txt>
    </msg>
    How can I resolve it, please advice. Thank you.
    Edited by: user9001403 on 06.12.2012 5:58

    Hi,
    Looks like your archivelog space is exhausted. Increase the db_recovery_file_dest_size size and check.
    SQL>  show parameter db_recovery
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      /oracle/flash_recovery_area
    db_recovery_file_dest_size           big integer 3882MRegards,
    Anand.

  • ORA-00205: error in identifying control file, check alert log for more info

    Hi
    I'm creating a database manually,
    I am hitting with the following error :
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 150667264 bytes
    Fixed Size 1335080 bytes
    Variable Size 92274904 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 6725632 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Following is the entry in init.ora
    control_files='/u01/oracle/db/oradata/testdb/control01.ctl','/u01/oracle/db/oradata/testdb/control02.ctl'
    and this the owner priviliges of /u01/oracle/db/oradata/testdb directory
    drwxrwx--- 2 oracle dba 4096 Oct 10 12:16 testdb

    Found in $ORACLE_BASE/diag/rdbms/$ORACLE_SID/$ORACLE_SID/trace/alert/log.xml
    ORA-00210: cannot open the specified control fileORA-00202: control file: &apos;/u01/oracle/db/oradata/testdb/control02.ctl&apos;
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;/u01/oracle/db/oradata/testdb/control01.ctl&apos;
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

  • Startup upgrade ORA-00205: error in identifying control file

    Hi,
    I am doing a manual upgrade from 10.2.04 to 11.2.03.
    I have installed 11.2.0.3.
    Ran utlu112i.sql
    Copied TNSNAMES and LISTENER.ora,init.ora from 10g home to 11g home respective directories.
    Commented all dump_dest paramteres in 11g init.ora and added diagnostic_dest parameter
    exported all the varaiables as follows.
    export ORACLE_HOME=/oracle/ora11203
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=OMIGTEST
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export ORACLE_BASE=/oracle/ora11203/app/ora11203
    Now when i try to start DB from the unix session where all of above variables are set,i am getting following issue.
    SQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 1636892672 bytes
    Fixed Size                  2183056 bytes
    Variable Size            1090519152 bytes
    Database Buffers          536870912 bytes
    Redo Buffers                7319552 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Alert log says as below.
    ORACLE_BASE from environment = /oracle/ora11203/app/ora11203
    Thu Aug 23 15:03:36 2012
    ALTER DATABASE   MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/ora11203/dbs/cntrlOMIGTEST.dbf'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    ORA-205 signalled during: ALTER DATABASE   MOUNT...In init.ora of 11g (which is copied from 10g) ,i have commented our control file path entry.
    Kindly assist me as i am doing upgrade for the first time.
    Thanks
    Edited by: user10698496 on Aug 24, 2012 2:47 AM

    Hi,
    Issue of sqlplus is solved after setting proper LD_LIBRARY_PATH.
    But eve after that startup upgrade showing same error.
    sqlplus '/as sysdba'
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Aug 23 16:22:16 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 1636892672 bytes
    Fixed Size 2183056 bytes
    Variable Size 1090519152 bytes
    Database Buffers 536870912 bytes
    Redo Buffers 7319552 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Do i copy control file from 10g home and place in in 11g path and mention it in init.ora before upgrade?
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ORA-00316 in the alert log file

    Thu Aug 21 17:23:05 2008
    Errors in file /ora_dump/CONCILIA/bdump/concilia_arc1_205172.trc:
    ORA-00316: log 3 of thread 1, type 0 in header is not log file
    ORA-00312: online log 3 thread 1: '/ora_data04/CONCILIA/redo01.log'
    Thu Aug 21 17:23:05 2008
    Errors in file /ora_dump/CONCILIA/bdump/concilia_arc1_205172.trc:
    ORA-00316: log 3 of thread 1, type 0 in header is not log file
    ORA-00312: online log 3 thread 1: '/ora_data04/CONCILIA/redo01.log'
    $

    It looks like your redo log might be corrupted.
    Check the content of trc file and work with Oracle support.
    00316, 00000, "log %s of thread %s, type %s in header is not log file"
    // *Cause:  The online log is corrupted or is an old version.
    // *Action: Find and install correct version of log or reset logs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DB

    I am deploying my application components on Oracle RAC database, when i install my app component i will run a script which creates a user and tablespace on bot rac-nodes(node1 and node2)
    as database is clustered, the user are created on 2 nodes and tablespace is stored in a shared location for two rac nodes
    i am able to successfully run my script on rac-node1 and and installed my component and when i started installing the app component on node2 getting error
    java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: '/db/db/db/ora10g/10.2.0/admin/dbadmin_01.dbf'
    ORA-06512: at "ADMIN.XL_SP_DBCHECK", line 48
    ORA-06512: at line 1
    "dbadmin_01.dbf is the custom tablespace which created by me"
    i a mgetting error while installing the app component on rac-node2

    You should not create database files outside of the ASM.
    I'm not sure you can move the datafile, I would export the data from the tablespace (if there is data you need there), delete the tablespace and recreate it in the ASM, then import the data back.
    If you want to move the datafile, you can try using RMAN (from node1).
    First connect to the database with sqlplus and execute:
    alter tablespace <tbs_name> offline;Then start RMAN: rman target /
    BACKUP AS COPY DATAFILE '<file>' FORMAT '+<ASM_DG>';Then in sqlplus, execute:
    alter tablespace <tbs_name> online;I'm not sure it will work, and I hope I got the commands right because I can't check it right now.
    Good luck
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

Maybe you are looking for