ORA-01242 error

Here is the log on alert_orcl.log:
Sun May 09 03:17:14 2010
KCF: write/open error block=0x3ae47 online=1
file=33 D:\ORCL\ORADATA\AXIDX_10.ORA
error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
Sun May 09 03:17:14 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw0_2876.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01114: IO error writing block to file 33 (block # 241223)
ORA-01110: data file 33: 'D:\ORCL\ORADATA\AXIDX_10.ORA'
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
DBW0: terminating instance due to error 1242
Sun May 09 03:17:14 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_ckpt_628.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:15 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_pmon_4996.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:16 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_lgwr_4292.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:16 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_4504.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:28 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_psp0_492.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:29 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_j000_6400.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:32 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_q001_3964.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:33 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_reco_3084.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:33 2010
Errors in file g:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_5796.trc:
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Sun May 09 03:17:34 2010
Instance terminated by DBW0, pid = 2876

You can transfer all objects to other tablespace and drop this tablespace.
1.backup database
2.defile tablespace as
select TABLESPACE_NAME from dba_data_files where
FILE_NAME='/orahome/oracle/product/10.2.0/oradata/SBN/PD.ORA';
then export all objects(or users/schemas) using exp/expdp(you can define user as
select username from dba_users default_tablespace=<TS>)
3. create new tablespace and import all objects into this TS.
4. drop old tablespace
5.backup database
Edited by: admin on May 11, 2010 2:02 AM

Similar Messages

  • Need your help for ORA-01242 error

    Hi,
    Data base Relaease : 9.2.0.4.0
    OS release: Suse linux 2.4.21-198-smp
    Today morning i have faced one problem in my database. Today i tried to create statspack schema in my production environment from my login (my linux login is in DBA group)... so i just tried to create a tablespace. Once issued create tablespace command my production database gets down... after that i started my database (Database is started with out any problem....). In my alery log i have seen below entries
    Thu Mar 29 11:08:31 2007
    create tablespace stats
    datafile '/sw01/oracle/oradata/cargainz/stat.dbf' size 100M
    Thu Mar 29 11:08:49 2007
    KCF: write/open error block=0x3 online=1
    file=17 /sw01/oracle/oradata/cargainz/stat.dbf
    error=27072 txt: 'Linux Error: 9: Bad file descriptor
    Additional information: 2'
    Thu Mar 29 11:08:49 2007
    Errors in file /sw01/oracle/admin/cargainz/bdump/cargainz_dbw0_1292.trc:
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01114: IO error writing block to file 17 (block # 3)
    ORA-01110: data file 17: '/sw01/oracle/oradata/cargainz/stat.dbf'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 9: Bad file descriptor
    Additional information: 2
    DBW0: terminating instance due to error 1242
    Thu Mar 29 11:08:49 2007
    Errors in file /sw01/oracle/admin/cargainz/bdump/cargainz_ckpt_1296.trc:
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    Thu Mar 29 11:08:49 2007
    ORA-1242 signalled during: create tablespace stats
    datafile '/sw01/oracle/ora...
    Thu Mar 29 11:08:49 2007
    Instance terminated by DBW0, pid = 1292
    Thu Mar 29 11:08:54 2007
    USER: terminating instance due to error 1092
    Instance terminated by USER, pid = 24370
    Thu Mar 29 11:10:14 2007
    Starting ORACLE instance (normal)
    =================================================
    In cargainz_dbw0_1292.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /sw01/oracle/9.0.2
    System name: Linux
    Node name: ICM02006
    Release: 2.4.21-198-smp
    Version: #1 SMP Thu Mar 11 17:56:49 UTC 2004
    Machine: i686
    Instance name: cargainz
    Redo thread mounted by this instance: 1
    Oracle process number: 3
    Unix process pid: 1292, image: oracle@ICM02006 (DBW0)
    *** 2007-03-29 11:08:49.159
    *** SESSION ID:(2.1) 2007-03-29 11:08:49.146
    KCF: write/open error block=0x3 online=1
    file=17 /sw01/oracle/oradata/cargainz/stat.dbf
    error=27072 txt: 'Linux Error: 9: Bad file descriptor
    Additional information: 2'
    error 1242 detected in background process
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01114: IO error writing block to file 17 (block # 3)
    ORA-01110: data file 17: '/sw01/oracle/oradata/cargainz/stat.dbf'
    ORA-27072: skgfdisp: I/O error
    Linux Error: 9: Bad file descriptor
    Additional information: 2
    =====================================================
    in cargainz_ckpt_1296.trc
    /sw01/oracle/admin/cargainz/bdump/cargainz_ckpt_1296.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /sw01/oracle/9.0.2
    System name: Linux
    Node name: ICM02006
    Release: 2.4.21-198-smp
    Version: #1 SMP Thu Mar 11 17:56:49 UTC 2004
    Machine: i686
    Instance name: cargainz
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Unix process pid: 1296, image: oracle@ICM02006 (CKPT)
    *** 2007-03-29 11:08:49.182
    *** SESSION ID:(4.1) 2007-03-29 11:08:49.182
    error 1242 detected in background process
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    Can you please any one explain me the reason for this problem?.....
    Regards,
    Karthik

    Your database faced media failure.
    Oracle says...
    ORA-01242 data file suffered media failure: database in NOARCHIVELOG mode
    Cause: The database is in NOARCHIVELOG mode and a database file was detected as inaccessible due to media failure.
    Action: Restore accessibility to the file mentioned in the error stack and restart the instance.
    Oracle was unable to write to the file and instance got terminated.
    Is this your production database ? Your first step is to keep the database in archivelog mode.

  • ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

    Hi All,
    Need help from the gurus.
    Currently we are in state unable to do anything.
    Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
    Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
    Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.

    Hemant,
    thanks for the reply.
    I tried the way you suggested and it threw an error.
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I searched and found that an additional tag of drop needs to be added to the command which you suggested.
    ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
    i don't know what will the drop command have an effect ?
    i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
    if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
    Thanks,
    Sachin
    I

  • ORA-01110,ORA-01114,ORA-27063 error

    I am running oracle 10.2.0.1.0 on Solaris 10 OS on Sparc machine.
    My oracle server often goes shutdown when i am performing the update operation on different tables. I could not understand the reason for its shutdown. According to log file, error occurred due to media failure but disk was fine and on starting up the oracle instance, every thing became fine. Can anybody kindly, tell me the reason for its shutdown ?
    Following is the info of log file.
    Thread 1 advanced to log sequence 1414
    Current log# 3 seq# 1414 mem# 0: /datafiles/mqa/redo03.log
    Thu Apr 3 15:49:42 2008
    Errors in file /u01/app/oracle/product/10.2.0/admin/mqa/bdump/mqa_ckpt_27978.trc:
    ORA-01110: data file 160: '/OracleStorage/MQA_Data/mqa_SM_Anl3_HS_data.dbf'
    ORA-01114: IO error writing block to file 160 (block # 1)
    ORA-27063: number of bytes read/written is incorrect
    SVR4 Error: 5: I/O error
    Additional information: -1
    Additional information: 8192
    Thu Apr 3 15:50:21 2008
    Thread 1 advanced to log sequence 1415
    Current log# 1 seq# 1415 mem# 0: /datafiles/mqa/redo01.log
    Thu Apr 3 15:51:13 2008
    Thread 1 cannot allocate new log, sequence 1416
    Checkpoint not complete
    Current log# 1 seq# 1415 mem# 0: /datafiles/mqa/redo01.log
    Thread 1 advanced to log sequence 1416
    Current log# 2 seq# 1416 mem# 0: /datafiles/mqa/redo02.log
    Thu Apr 3 15:51:45 2008
    KCF: write/open error block=0xd21d1 online=1
    file=114 /OracleStorage/MQA_Data/mqa_MSCI2D_data.dbf
    error=27063 txt: 'SVR4 Error: 5: I/O error
    Additional information: -1
    Additional information: 8192'
    Thu Apr 3 15:51:45 2008
    Errors in file /u01/app/oracle/product/10.2.0/admin/mqa/bdump/mqa_dbw0_27974.trc:
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01114: IO error writing block to file 114 (block # 860625)
    ORA-01110: data file 114: '/OracleStorage/MQA_Data/mqa_MSCI2D_data.dbf'
    ORA-27063: number of bytes read/written is incorrect
    SVR4 Error: 5: I/O error
    Additional information: -1
    Additional information: 8192
    DBW0: terminating instance due to error 1242
    Termination issued to instance processes. Waiting for the processes to exit
    Instance terminated by DBW0, pid = 27974

    Hi Mozzam
    the memory manager on 10.2 sends these messages but they are said not to be fatal (i.e. shutting down your database) unless you get a 4031. Read the metalink doc 330239.1 about that. Have you tried to size your sga properly? Is your db still crashing after you switched async io off?
    Best regards
    Matti
    Message was edited by:
    matti

  • ORA-01242: data file suffered media failure - ORA-01208: data file is an

    Hi,
    I am running Oracle 9.2.0.5 and if fails almost on a daily basis.
    I get the following errors:
    *** 2008-04-09 09:31:46.334
    *** SESSION ID:(4.1) 2008-04-09 09:31:46.318
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01122: database file 11 failed verification check
    ORA-01110: data file 11: 'E:\ORACLE\ORADATA\MYDB\MYDB.ORA'
    ORA-01208: data file is an old version - not accessing current version
    error 1242 detected in background process
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01122: database file 11 failed verification check
    ORA-01110: data file 11: 'E:\ORACLE\ORADATA\MYDB\MYDB.ORA'
    ORA-01208: data file is an old version - not accessing current version
    I run the following SQL and DB is recovered but I can't keep doing this everytime it crashes:
    sqlplus>startup nomount;
    sqlplus>alter database mount;
    sqlplus>alter database recover;
    sqlplus> alter database open;
    Any ideas how can I resolve this problem.
    Regards
    Spiros

    Refer to this metalink note:
    ORA-1242, ORA-1122, ORA-1110 & ORA-1208 Errors Occurring Intermittently
    Doc ID: Note:471280.1
    Werner

  • ORA-01242: data file suffered media failure

    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
    ORA-01115: IO error reading block from file 17 (block # 1)
    ORA-27072: File I/O error
    OSD-04006: ReadFile() 失败, 无法读取文件
    O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。
    error 1242 detected in background process
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
    ORA-01115: IO error reading block from file 17 (block # 1)
    ORA-27072: File I/O error
    OSD-04006: ReadFile() 失败, 无法读取文件
    O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。

    my database well be auto shutdown at 12:02 veryday .but i donot kown why!
    the follow is the whole error message:
    Dump file d:\oracle\product\10.2.0\admin\hbhis\bdump\hbhis_ckpt_2872.trc
    Sat Mar 26 00:02:56 2011
    ORACLE V10.2.0.4.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 32 - type 586, 8 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:31264M/32763M, Ph+PgF:33119M/34449M, VA:1253M/2047M
    Instance name: hbhis
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Windows thread id: 2872, image: ORACLE.EXE (CKPT)
    *** 2011-03-26 00:02:56.031
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-03-26 00:02:56.031
    *** SESSION ID:(162.1) 2011-03-26 00:02:56.031
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
    ORA-01115: IO error reading block from file 17 (block # 1)
    ORA-27072: File I/O error
    OSD-04006: ReadFile() 失败, 无法读取文件
    O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。
    error 1242 detected in background process
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF'
    ORA-01115: IO error reading block from file 17 (block # 1)
    ORA-27072: File I/O error
    OSD-04006: ReadFile() 失败, 无法读取文件
    O/S-Error: (OS 33) 另一个程序已锁定文件的一部分,进程无法访问。

  • Ora-00604 error and ora 01000 error while report generation.

    hi all,
    I am trying to generate the multiple reports of same template through a program.
    While this job is running, i get the following error at the BIP console and the reports don't get generated.
    [101711_044115578][][EXCEPTION] java.sql.SQLException: ORA-00604: error occurred
    at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01000: maximum open cursors exceeded
    ORA-01000: maximum open cursors exceeded
    Kindly help.
    Thanks.

    Lots of resources with a simple search to see what this is about, for example:
    http://www.orafaq.com/wiki/ORA-01000
    ORA-01000:     maximum open cursors exceeded
    Cause:     A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user.
    Action:     Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS, and then restart Oracle.
    open_cursors parameter
    http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams160.htm#REFRN10137
    Oracle support note:
    OERR: ORA-1000 maximum open cursors exceeded (Doc ID 18591.1)

  • Ora-00604,ora-01422 error while dropping the table

    Hi gurus,
    I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
    ORA-00604 : error occurred at recursive sql level 1.
    ORA-01422: exact fetch returns more than requested number of rows.
    Need urgent help.
    Thanks in advance

    Is there an AFTER EVENT trigger defined on this database? Can you check that?
    Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly).

  • Ora 600 error  Arguments [25012] [11]

    hi,
    i've an ORA-00600: error Arguments [25012], [2], [11], [], [], [], [], [] by DELETE FROM table WHERE filed = :b1
    ther are only 8 file in database. (not 11)
    Can anybody help, or give me an information about Bug number: 742709
    OS NT 4 / SP6 ORACLE RDBMS Version: 8.0.5.2.1.
    Thank in advice
    JFA

    Trace File Contents:
    ============================================================================================
    [oracle@oem trace]$ more /d01/app/guest/diag/rdbms/db11g/db11g/incident/incdir_191809/db11g_smon_4198_i191809.trc
    Dump file /d01/app/guest/diag/rdbms/db11g/db11g/incident/incdir_191809/db11g_smon_4198_i191809.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /d01/app/guest/product/11.2.0/dbhome_1
    System name: Linux
    Node name: oem.tap.com
    Release: 2.6.18-164.el5xen
    Version: #1 SMP Thu Sep 3 02:41:56 EDT 2009
    Machine: i686
    Instance name: db11g
    Redo thread mounted by this instance: 1
    Oracle process number: 13
    Unix process pid: 4198, image: [email protected] (SMON)
    *** 2010-10-15 12:05:24.395
    *** SESSION ID:(16.1) 2010-10-15 12:05:24.395
    *** CLIENT ID:() 2010-10-15 12:05:24.395
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-10-15 12:05:24.395
    *** MODULE NAME:() 2010-10-15 12:05:24.395
    *** ACTION NAME:() 2010-10-15 12:05:24.395
    Dump continued from file: /d01/app/guest/diag/rdbms/db11g/db11g/trace/db11g_smon_4198.trc
    ORA-00600: internal error code, arguments: [13013], [5001], [267], [8444108], [2], [8444108], [17], [], [], [], [], []
    ========= Dump for incident 191809 (ORA 600 [13013]) ========
    *** 2010-10-15 12:05:24.399
    dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
    ----- Current SQL Statement for this session (sql_id=dma0vxbwh325p) -----
    update smon_scn_time set time_mp=:1, time_dp=:2, scn=:3, scn_wrp=:4, scn_bas=:5, num_mappings=:6, tim_scn_map=:7 where scn = (sele
    ct min(scn) from smon_scn_time)
    ==========================================================================================

  • Ora-01008 error with bind variable

    Hi,
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable. The program returns error in one of the databases but all others are successful. We've checked the column is same in all of them.
    Exception in thread "main" java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01008: not all variables bound
    Could you please advise how to troubleshoot this issue?
    Regards

    We aren't going to be able to help you if you won't post the database code that is giving the error.
    And now we need the Java code that is constructing the query that you are using.
    Your error is saying there is a second variable that you are not providing a value for.
    And you said
    >
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable.
    >
    But you are using a string that is 23 characters long
    "a3g34-b13fd-efaie-f83fk"How does 23 go into 20?

  • Getting error-ORA-24381: error(s) in array DML

    Hi i have written the following code to bulk insert into a database table.
    I am getting an error while returning the result of the bulk insert query into the collection
    I have tried to track it by using sql%bulk_exceptions.error_code.
    But the error code that it is showing is just 1.
    I trapped it using sqlerrm.
    and that is showing-error(s) in array DML
    What do i do?
    DECLARE
       CURSOR temp_rec_tap_cur
       IS
          SELECT *
            FROM temp_records_tap;
       TYPE temp_rec_tab IS TABLE OF temp_rec_tap_cur%ROWTYPE;
       v_test_tab   temp_rec_tab;
       v_rec_num    num_tab;
       v_filename   temp_records_tap.file_name%TYPE;
       v_error_code tap_reject.error_code%type;
       v_rej_value  tap_reject.field_rej%type;                      
       v_errors number;   
    BEGIN
       SELECT file_name
         INTO v_filename
         FROM table1
         WHERE ROWNUM<2;
       OPEN temp_rec_tap_cur;
       LOOP
          BEGIN
             FETCH temp_rec_tap_cur
             BULK COLLECT INTO v_test_tab LIMIT 1000;
             FORALL i IN v_test_tab.FIRST .. v_test_tab.LAST SAVE EXCEPTIONS
                INSERT INTO tapdetail_tapin
                     VALUES v_test_tab (i)
                  RETURNING record_num
                    BULK COLLECT INTO v_rec_num;
          EXCEPTION
             WHEN DUP_VAL_ON_INDEX
             THEN
                NULL;
             WHEN OTHERS
             THEN
             v_errors:=sql%bulk_exceptions.count;
             for i in 1..v_errors
             loop
             dbms_output.put_line(sql%bulk_exceptions(i).error_code);
             p3_errorlog ('TAPINDETAWARE', SQLERRM, v_filename);     
             end loop;
             END;
                --RAISE;
          EXIT WHEN temp_rec_tap_cur%NOTFOUND;
       END LOOP;
    INSERT INTO table2
    SELECT file_id, file_name, sender_pmn, recipient_pmn, call_date,
                 call_date_only, call_type, call_number, FIRST_RECORD,
                 service_type, service_code, home_bid, serve_bid,
                 chargeable_subs_type, imsi_min, msisdn_mdn, air_charges,
                 air_charges_sdr, air_time, national_call_charges,
                 national_call_charges_sdr, national_call_time,
                 international_call_charges, international_call_charges_sdr,
                 international_call_time, dir_assist_charges,
                 dir_assist_charges_sdr, dir_assist_time, other_charges,
                 other_charges_sdr, other_time, volume_charges,
                 volume_charges_sdr, volume_units, tot_charges, tot_charges_sdr,
                 tot_duration, state_tax, state_tax_sdr, local_tax,
                 local_tax_sdr, state_and_use_tax, state_and_use_tax_sdr, va_tax,
                 va_tax_sdr, other_tax, other_tax_sdr, charge_refund_indicator,
                 advised_charge_currency, advised_charge, advised_charge_sdr,
                 advised_charge_commission, advised_charge_commission_sdr,
                 exchange_rate, mcc, mnc, process_date, chargeable_units,
                 record_num, mscid,null,null,decode(call_type,0,'250',1,'251',5,'255'),null,'Duplicate Call'
                 from temp_records_tap
                 where record_num not in (select column_value from table(v_rec_num)) ;
    EXCEPTION
    WHEN OTHERS THEN
    p3_errorlog ('TAP', SQLERRM, v_filename);  
    END;Edited by: user8731258 on Sep 14, 2010 2:58 AM
    Edited by: user8731258 on Sep 14, 2010 3:01 AM

    What is the type declaration of num_tab and how is record_num defined?
    ORA-24381: error(s) in array DML
    Cause: One or more rows failed in the DML.indicates that you fail on the insert itself. Are the table definitions the same? Same primary/unique keys?
    Edited by: MBr on 14-Sep-2010 03:16

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • ORA-1555  ORA-3136 errors:: elapsed time vs Query Duration

    Dear all,
    - My Database version is 11.2.0.2, Solaris.
    - We have been having a problem in the production database where the front end nodes start going up and down for couple of hours sometimes. ; When node flapping is going on we get connection timed out alerts.
    WARNING: inbound connection timed out (ORA-3136) opiodr aborting
    process unknown ospid (4342) as a result of ORA-609 opiodr aborting
    process unknown ospid (4532) as a result of ORA-609 opiodr aborting
    process unknown ospid (4534) as a result of ORA-609 opiodr aborting....
    Since this week node flapping is happening every day. Since past 2 days after or during node flapping we are getting ORA-1555 error.
    Extract from alert log error:
    ORA-01555 caused by SQL statement below (SQL ID: g8804k5pkmtyt, Query Duration=19443 sec, SCN: 0x0001.07bd90ed):
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.parentDeviceId, d.created, d.lastModified AS devLastMod, d.customerId, d.userKey1, d.userKey2, d.userKey4, d
    .userKey5, d.firmwareFamily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.userKey6, d.provisioningId, d.status, d.classification, d.population, d.name, d.ipRe
    solver, d.ipExpirationTime, d.geoLocationId,contact.firstContactTime, ifaces.id, ifaces.type AS ifaceType, ifaces.lastModified AS ifaceLastMod, ifaces.timeoutname, ifac
    es.username1, ifaces.password1, ifaces.username2, ifaces.password2, ifaces.connReqUrl, ifaces.connReqScheme, ifaces.srvNonce, ifaces.deviceNonce, ifaces.phoneNumber,ifa
    ces.bootstrapSecMethod, ifaces.srvAuthentication, ifaces.deviceAuthentication, ifaces.userPIN, ifaces.networkID, ifaces.omaSessionID, ifaces.portNum, ifaces.mgtIp, ifac
    es.cmtsIp, ifaces.mgtReadCommunity, ifaces.mgtWriteCommunity, ifaces.cmtsReadCommunity, ifaces.cmtsWriteCommunity, devto.name AS devtoName, devto.rebootTimeout, devto.sessionInitiationI run Statspack report from the whole day duration, and looking into the elapsed time in seconds no more than 3739.61 sec (too lower than run duration in the alert log file of 19443 sec); So I would like to know if there is any co-relations between the ORA-3136 errors and the ORA-1555 errors?
       CPU                  CPU per             Elapsd                     Old
      Time (s)   Executions  Exec (s)  %Total   Time (s)    Buffer Gets  Hash Value
    tTime <= :3 ) AND (endTime IS NULL OR endTime >= :4 )
       2773.77    7,787,914       0.00    3.4    3739.61     112,671,645 1909376826
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
    SQL> show parameter UNDO_MANAGEMENT
    NAME                                 TYPE        VALUE
    undo_management                      string      AUTO
    SQL> show parameter UNDO_RETENTION
    NAME                                 TYPE        VALUE
    undo_retention                       integer     10800BR,
    Diego

    Thank you. Please let me know if it is enough or you need more information;
    SQL ordered by Gets  DB/Inst: DB01/db01  Snaps: 14835-14846
    -> End Buffer Gets Threshold:    100000 Total Buffer Gets:     677,689,568
    -> Captured SQL accounts for   73.6% of Total Buffer Gets
    -> SQL reported below exceeded  1.0% of Total Buffer Gets
                                                         CPU      Elapsd     Old
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
         21,286,248    2,632,793            8.1    3.4   666.73    666.76 3610154549
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
         17,029,561    1,176,849           14.5    2.7   417.32    416.73 1909376826
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
         17,006,795           37      459,643.1    2.7   367.61    368.95 4045552861
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.userAnother Statspack report for the whole day shows;
    SQL ordered by CPU  DB/Inst: DB01/db01  Snaps: 14822-14847
    -> Total DB CPU (s):          82,134
    -> Captured SQL accounts for   40.9% of Total DB CPU
    -> SQL reported below exceeded  1.0% of Total DB CPU
        CPU                  CPU per             Elapsd                     Old
      Time (s)   Executions  Exec (s)  %Total   Time (s)    Buffer Gets  Hash Value
    tTime <= :3 ) AND (endTime IS NULL OR endTime >= :4 )
       2773.77    7,787,914       0.00    3.4    3739.61     112,671,645 1909376826
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
    SQL ordered by Gets  DB/Inst: DB01/db01  Snaps: 14822-14847
    -> End Buffer Gets Threshold:    100000 Total Buffer Gets:   1,416,456,340
    -> Captured SQL accounts for   55.8% of Total Buffer Gets
    -> SQL reported below exceeded  1.0% of Total Buffer Gets
                                                         CPU      Elapsd     Old
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
         86,354,963    7,834,326           11.0    6.3  2557.34   2604.08  906944860
    Module: JDBC Thin Client
    SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
    ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
    d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
    ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
    .....BR,
    Diego
    Edited by: 899660 on 27-ene-2012 7:43
    Edited by: 899660 on 27-ene-2012 7:45

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone

    Hi
    I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
    please help thanks
    Software installed
    OS: Windows 7 64bit
    DB: Oracle XE 10g
    Oracle SOA 11.1.1.4.0
    Oracle RCU 11.1.1.4.0
    Oracle wls1034_generic
    Error Detials
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_ORASDPM
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OSB JMS Reporting Provider
    Driver=org.apache.derby.jdbc.ClientDriver
    URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=SELECT 1 FROM SYS.SYSTABLES
    Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes.  The connection has been terminated.
    CFGFWK-60850:  Test Failed!

    Hi,
    Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
    if this helps please mark.
    Thanks,
    Kishore

  • ORA-00604: error occurred at recursive SQL level 1

    Hi,
    i have a view as source (DB2)
    Target table in Oracle with the same structure
    when i view data from the view all the records are listed.
    after mapping the source and target source gets fail while debuging (test data)
    and also while deploying the mapping i get the following error.
    Anyone knows about the following errors
    ACBLODS_MAP
    Create
    Warning
    ORA-06550: line 0, column 0:
    ORA-04052: error occurred when looking up remote object [email protected]@DB2_KAPIL_LOCATION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    please someone help me to solve this
    thanks in advance
    regards
    raja

    I had a simular problem with progress. If the progress table had to many columns
    OWB was failing. The problem was the ODBC driver used to make a connection to PROGRESS.

Maybe you are looking for

  • How to fire Chunked POST Requests.

    Hi, Can anyone please tell me how to implement a servlet which can fire chunked POST request to the server. I have tried implementing such a servlet but it does not send the request in a chunked format. Please let me know what headers should this POS

  • A bug in the JTree(Missing some nodes)

    I have an application which implement a JTree & DnDTree. The left hand side is the original JTee, the right hand size is DnDTree which allows user to Drag and Drop some node from left JTree. The bug is: when I grag some node to right DnDTree, once I

  • How to create LOV not based on a View Object attribute?

    Hi, I am creating a handed-made search form and I want to create an af:inputListOfValues. I have : - a read-only-view-object to get the LOV values from BD. - af:inputListOfValues tag (droped from Component Palette). How can I create the listOfValuesM

  • Infopackage

    Hi I want to filter the data based on the calendar year in the infopackage with the data selection tab . What i want to get is i have data in the r/3 for various calendar year i want the data only for 2009 year. I want to write the ABAP code, i know

  • Text Cursor never shown

    Hi, as the titel says. I never see a Text Cursor or the Caret in any kind of Textbox, -input, -area and so on. Even in the simplest application there is no text cursor shown!? <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" hei