EXPDP got error ORA-39014,ORA-39029 in oracle 10.2.0.4

oracle database = 10.2.0.4
OS= Oracle enterprise linux 4.8
after run expdp file i got the following error:
ORA-39014: One or more workers have prematurely exited.
ORA-39029: worker 1 with process name "DW01" prematurely terminated
ORA-31671: Worker process DW01 had an unhandled exception.
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 1352
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 7073
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 2829
ORA-24795: Illegal ROLLBACK attempt made
ORA-24795: Illegal ROLLBACK attempt made
ORA-06512: at "SYS.KUPW$WORKER", line 10915
ORA-02354: error in exporting/importing data
ORA-39773: parse of metadata stream faile
how could i solve my problm????
help me

user12189421 wrote:
ulimit -n
131072
lsof | grep oracle | wc -l
2332
cat /proc/sys/fs/file-nr
2520 0 357686In that case you need to check with your system admin.
Error:  ORA 447 
Text:   fatal error in background process
Cause:  One of the background processes completed unexpectedly.
Action: Restart the system.
        Check and, if necessary, correct the problem indicated by the
        background trace file in BACKGROUND_DUMP_DEST.
*** Important: The notes below are for experienced users - See Note:22080.1
Diagnosis:
      - Check the alert log and trace files for all trace files around
     the time of the error. It is common for one trace to point at another
     process. Follow the list until you get a file with a real
     error in it. If unsure collect ALL trace files.
      - If all traces point to a process with no tracefile (Eg: LGWR)
     check whether any new tablespaces or datafiles have been added
     recently
     Check whether sum(number of datafiles +
                       number of redolog files +
                          number of controlfiles) 
                is less than  
                          (user's unix open file limit. eg. nfile on SUN,
                              maxfile on HP)Regards
Anurag

Similar Messages

  • DB Import Error - ORA-39014, ORA-39029, ORA-31672

    Hi,
    I get the following error while importing the entire database:-
    Processing object type DATABASE_EXPORT/DE_SYSTEM_PROCOBJACT/DE_PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/DE_SYSTEM_PROCOBJACT/DE_POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Worker process DW01 died unexpectedly
    Job "SYS"."SYS_IMPORT_FULL_01" stopped due to fatal error at 16:26
    Can some please help.
    Regards,
    Willet Rodrigues

    Hi,
    Here is the extract of trace file .. Now we are in the possition where we can do full import only because we have run dropdb command. Please help.
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_PARMS_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_REFGROUPS_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMPLATE_SITES_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_TEMP_OUTPUT_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_USER_AUTHORIZATIONS_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT$_USER_PARM_VALUES_S" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."REPCAT_LOG_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"SYSTEM"."TEMPLATE$_TARGETS_S" already exists
    ORA-31684: Object type SEQUENCE:"UTL"."NTRC_SEVERITY_SEQ" already exists
    ORA-31684: Object type SEQUENCE:"UTL"."NTRC_STATE_REF_SEQ" already exists
    ORA-31684: Object type SEQUENCE:"UTL"."NTRC_TRACE_SEQ" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."AQ$_WM$EVENT_QUEUE_TABLE_N" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$ADT_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$INSTEADOF_TRIGS_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$LOCK_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$ROW_SYNC_ID_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$UDTRIG_DISPATCHER_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$UP_DEL_TRIG_NAME_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$VERSION_SEQUENCE" already exists
    ORA-31684: Object type SEQUENCE:"WMSYS"."WM$VTID" already exists
    ORA-39111: Dependent object type OBJECT_GRANT:"GUI" skipped, base object type SEQUENCE:"CAP"."CA_BLACKOUT_ID_SEQ" already
    exists
    ORA-39111: Dependent object type OBJECT_GRANT:"SCH" skipped, base object type SEQUENCE:"CAP"."CA_BLACKOUT_ID_SEQ" already
    exists
    ORA-39111: Dependent object type OBJECT_GRANT:"GUI" skipped, base object type SEQUENCE:"CAP"."CA_FECM_SEQ" already exists
    ORA-39111: Dependent object type OBJECT_GRANT:"SCH" skipped, base object type SEQUENCE:"CAP"."CA_FECM_SEQ" already exists
    CD00D1BA:000D2855 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[195] comment=[MMON Local action
    Listener]CD00D1BC:000D2856 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[196] comment=[MMON Completion
    Callback Dispatcher]
    CD00D1BD:000D2857 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[206] comment=[Check for sync messages
    from other instances]
    CD00D1BE:000D2858 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[208] comment=[Check for autostart
    messages from other instances]
    CD2D85C5:000D2F49 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[2] comment=[KSB action for X-instance
    calls]
    CD2D85DC:000D2F4A 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[65] comment=[Scumnt mount lock]
    CD2D85DE:000D2F4B 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[66] comment=[Poll system events
    broadcast channel]
    CD2D85E0:000D2F4C 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[194] comment=[MMON Remote action
    Listener]
    CD2D85E4:000D2F4D 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[195] comment=[MMON Local action
    Listener]CD2D85E4:000D2F4E 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[196] comment=[MMON Completion
    Callback Dispatcher]
    CD2D85E6:000D2F4F 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[206] comment=[Check for sync messages
    from other instances]
    CD2D85E8:000D2F50 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[208] comment=[Check for autostart
    messages from other instances]
    CD2D85EF:000D2F51 14 655 10254 73 KSBCTI: (MMON) : (timeout action) : acnum=[0] comment=[Monitor Cleanup]
    CD2D85F1:000D2F52 14 655 10254 73 KSBCTI: (MMON) : (timeout action) : acnum=[23] comment=[reconfiguration MMON
    action]CD2D85F3:000D2F53 14 655 10254 73 KSBCTI: (MMON) : (timeout action) : acnum=[33] comment=[SGA memory tuning]
    CD2D85FE:000D2F54 14 655 10254 73 KSBCTI: (MMON) : (timeout action) : acnum=[34] comment=[SGA memory tuning parameter
    update]
    CD2D8609:000D2F55 14 655 10254 73 KSBCTI: (MMON) : (timeout action) : acnum=[97] comment=[Flashback Marker]
    CD2D860C:000D2F56 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[2] comment=[KSB action for X-instance
    calls]
    CD2D860D:000D2F57 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[65] comment=[Scumnt mount lock]
    CD2D860E:000D2F58 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[66] comment=[Poll system events
    broadcast channel]
    CD2D860E:000D2F59 14 655 10254 71 KSBCTI: (MMON) : (interrupt action) : acnum=[194] comment=[MMON Remote action
    Listener]
    CCD67F2A:000D13F7 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[65] comment=[Scumnt mount lock]
    CCD67F2B:000D13F8 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[66] comment=[Poll system events
    broadcast channel]
    CCD67F31:000D13F9 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[0] comment=[Monitor Cleanup]
    CCD67F33:000D13FA 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[190] comment=[ASH Sampler (KEWA)]
    CCD68006:000D13FB 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[201] comment=[MMON SWRF Raw Metrics
    Capture]
    CCD68019:000D13FC 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[2] comment=[KSB action for X-instance
    calls]
    CCD6801B:000D13FD 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[65] comment=[Scumnt mount lock]
    CCD6801C:000D13FE 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[66] comment=[Poll system events
    broadcast channel]
    CCE56601:000D16F4 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[2] comment=[KSB action for X-instance
    calls]
    CCE56604:000D16F5 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[65] comment=[Scumnt mount lock]
    CCE56606:000D16F6 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[66] comment=[Poll system events
    broadcast channel]
    CCE5660B:000D16F7 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[0] comment=[Monitor Cleanup]
    CCE5660C:000D16F8 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[190] comment=[ASH Sampler (KEWA)]
    CCE566E0:000D16F9 15 652 10254 73 KSBCTI: (MMNL) : (timeout action) : acnum=[201] comment=[MMON SWRF Raw Metrics
    Capture]
    CCE566F3:000D16FA 15 652 10254 71 KSBCTI: (MMNL) : (interrupt action) : acnum=[2] comment=[KSB action for X-instance
    calls]\
    0 10280 1 0x00000012
    AB0C8374:000C8F9E 18 0 10280 1 0x00000012
    AB128A5D:000C8FBE 18 644 10960 10
    AB134FFD:000C8FCD 18 644 10960 10
    AB13AE3C:000C8FD8 18 644 10960 10
    AB13C910:000C8FDA 18 644 10960 10
    AB14106B:000C8FDD 18 644 10960 10
    AB158487:000C8FE4 18 644 10960 10
    AB160515:000C8FEB 18 644 10960 10
    AB175E38:000C9010 18 644 10254 52 KSBSRV: enter for server = 1909881556
    AB175E38:000C9011 18 644 10254 54 KSBSRV: obtained PR enqueue
    AB175E3E:000C9012 18 644 10254 55 KSBSRV: called start callback function
    AB175E6A:000C9013 18 644 10254 58 KSBSRV: oracle executable name validated proc=[DW01]
    AB17B28D:000C9021 18 644 10254 59 KSBSRV: spawn succeeded process=DW01 ospnum=13765
    AB17B29A:000C9022 18 644 10254 60 KSBSRV: starting to wait for 120000 seconds
    AB17B321:000C9023 18 644 10254 63 KSBSRV: spawned process found active
    AB1817D1:000C9025 18 644 10254 64 KSBSRV: process found to be running
    AB1817D2:000C9026 18 644 10254 66 KSBSRV: end callback function called
    AB1817DF:000C9027 18 644 10254 70 KSBSRV: done with active = 1
    AB1C03C6:000C9039 18 644 10960 10
    AB1CD19B:000C9045 18 644 10960 10
    AD3B3601:000C966A 18 644 10960 10
    AD3DD022:000C9676 18 644 10254 19 KSBCIC: (USER) starting cic on opcode KSBCIRCO [1] with args (5 4273984698 20982601)
    AD42859F:000C96AC 18 644 10254 19 KSBCIC: (USER) starting cic on opcode KSBCIRCO [1] with args (5 4273984642 20982657)
    AD437AB1:000C96D2 18 644 10444 12 ABORT TRANSACTION - xid: 0x0001.02e.00000206
    AD43A837:000C96DC 18 644 10444 12 ABORT TRANSACTION - xid: 0x0001.007.00000207
    AD47AB58:000C96DD 18 644 10021 1 0x006D1501 0x006D1501 0x0000006D
    782:000D24B8 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF6CA9F:000D24C7 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF73A98:000D24E4 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF73DD1:000D24F3 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF7AD12:000D2510 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF7B03B:000D251F 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF808F9:000D253C 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF80C38:000D254B 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF864DF:000D2568 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF86805:000D2577 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF8C0D7:000D2594 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF8C3F7:000D25A3 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF91CB1:000D25C1 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF91FD0:000D25D0 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF978A4:000D25ED 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF97BBE:000D25FC 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF9D4A6:000D2619 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCF9D7EF:000D2628 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFA3082:000D2646 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFA33C0:000D2655 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFAA340:000D2672 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFAA663:000D2681 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFAFF31:000D269E 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFB0289:000D26AD 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFB5B0F:000D26CA 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFB5E25:000D26D9 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFBB701:000D26F6 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFBBA18:000D2705 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFC1306:000D2722 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFC163A:000D2731 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFC6ED5:000D275D 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFC71E5:000D276C 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFCE19F:000D2789 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFCE4C0:000D2798 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFD5469:000D27B5 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFD5783:000D27C4 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCI_KZS_CNT [54] with args (0 0 0)
    CCFD6C7F:000D27D4 19 641 10960 10
    CCFF8FBD:000D2813 19 641 10960 10
    CD001D45:000D2828 19 641 10960 10
    CD00CE73:000D2843 19 641 10960 10
    CD067B31:000D28E5 19 641 10960 10
    CD069CD2:000D28EC 19 641 10960 10
    CD082F7D:000D290A 19 641 10960 10
    CD084B94:000D2911 19 641 10960 10
    CD0A00CB:000D292F 19 641 10960 10
    CD0A16E9:000D2935 19 641 10960 10
    CD0C1D47:000D2962 19 641 10960 10
    CD0C3C7B:000D2965 19 641 10960 10
    CD2F1E81:000D2F89 19 641 10960 10
    CD2F696D:000D2F91 19 641 10960 10
    CD44024D:000D3254 19 641 10960 10
    CD443E35:000D3264 19 641 10960 10
    CD463BF9:000D328C 19 641 10960 10
    CD46547D:000D3294 19 641 10960 10
    CD47BF04:000D32AB 19 641 10444 12 ABORT TRANSACTION - xid: 0x0004.028.0000006f
    CD7D93BB:000D335A 19 641 10442 6 Extension usn 3, ext 68, nex 88
    CD7D93C9:000D335B 19 641 10445 1 s1::tsnn 0 dbaa 0xx04006122wheee: duww03::kduuru des2: tsn: 0 rdba: 0x00400211
    w
    here: ktswh39: ktsrsp
    CD8536B9:000D33F6 19 641 10960 10
    CD874329:000D342E 19 641 10254 19 KSBCIC: (USER) starting cic on opcode KSBCIRTP [21] with args (3 0 0)
    KSTDUMP: End of in-memory trace dump
    Dump event group for level SESSION
    TC Addr Evt#(b10) Action TR Addr Arm Life
    B7296938 28657 1 b72969a0 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    B73659F4 22935 1 b7365a5c 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    B7365900 10407 1 b7365968 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    B736580C 25475 1 b7365874 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    B7365718 10904 1 b7365780 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    B7445768 10150 1 b74457a8 0 0
    TR Name TR level TR address TR arm TR life TR type
    CONTEXT 1 0 -1 2 -1219690384
    Dump event group for level SYSTEM
    TC Addr Evt#(b10) Action TR Addr Arm Life
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL

  • Datapump export fails with ora-39014 ora-39029 ora-31671 ora-24795 ora-6512

    Hi All,
    I am having this problem with data pump export job in my database.
    OS - Windows Server 2003 R2
    Oracle Version - 10.2.0.4.0
    Export Command - SYSTEM/********@testcp FULL=Y DUMPFILE=testcp_dp.dmp LOGFILE=expdp_testcp.log
    Error Messages:-
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31671: Worker process DW01 had an unhandled exception.
    ORA-24795: Illegal ROLLBACK attempt made
    ORA-06512: at "SYS.KUPW$WORKER", line 1352
    ORA-24795: Illegal ROLLBACK attempt made
    ORA-06512: at "SYS.KUPW$WORKER", line 7073
    ORA-24795: Illegal ROLLBACK attempt made
    ORA-06512: at "SYS.KUPW$WORKER", line 2829
    ORA-24795: Illegal ROLLBACK attempt made
    ORA-24795: Illegal ROLLBACK attempt made
    ORA-06512: at "SYS.KUPW$WORKER", line 10915
    ORA-02354: error in exporting/importing data
    ORA-01891: Datetime/Interval internal error
    Job "SYSTEM"."SYS_EXPORT_FULL_12" stopped due to fatal error at 16:02:04
    ORA-39014: One or more workers have prematurely exited.
    I have been trying to resolve this issue from months, but have not got any solution yet.
    Please help me out.
    Thanks All in advance.

    Have you opened an SR with Support ? Issue seems to be
    >
    ORA-01891: Datetime/Interval internal error
    >
    which is an internal error that only Support can troubleshoot.
    Possibly a bug in 10.2.0.4
    Bug 6211421 - ORA-1891 from addition / subtraction of TIMESTAMP data [ID 6211421.8]
    HTH
    Srini

  • Expdp got error

    Database=10.2.0.4
    when expdp (full or schemas) i got error:
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_DATA:"WSE"."WSE_REPORTS"]
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_SCHED_EXPORT_CALLOUTS".SCHEMA_CALLOUT(:1,1,1,'10.02.00.04.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 907
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6313

    user13344656 wrote:
    Database=10.2.0.4
    when expdp (full or schemas) i got error:
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_DATA:"WSE"."WSE_REPORTS"]
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_SCHED_EXPORT_CALLOUTS".SCHEMA_CALLOUT(:1,1,1,'10.02.00.04.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 907
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6313Adding to Srini could you please post export/import command that you use

  • Got error when use case statement in oracle stored procedure

    Hi,
    I have a query like:
    select merchant_id,
    case
    when product_type='K' then 'Production'
    when product_carrier='UC' THEN 'Shipping'
    end the_type
    from product_tbl
    where merchant_id=10114
    It works fine. But as soon as I put it into a stored procedure, I got error like:
    Encountered the symbol "CASE" when expecting one of the following:
    ( - + mod null <an identifier>
    Please help!

    Oracle 8i doesn't support CASE into PL/SQL, so as Kamal said, create a view with the CASE, and use this view into your PL/SQL.
    Nicolas.
    And an example here :
    Re: Execute Immediate doesnot work in 8i (8.1.7) and Ref Cursor not exec qu
    Sorry Kamal.
    Message was edited by:
    N. Gasparotto

  • When creating new database, start nomount, got error to say: ORA-00371:

    when i do
    sql> startup nomount
    ORA-00371: not enough shared pool memory, should be atleast 52132659 bytes
    i am trying to create a second database on the backup server.

    you can follow my script, which is working well.
    connect "SYS"/"&&sysPassword" as SYSDBA
    set echo on
    spool /u01/app/oracle/product/10.2.0/db_1/admin/db10g/scripts/CreateDB.log
    startup nomount pfile="/u01/app/oracle/product/10.2.0/db_1/admin/db10g/scripts/init.ora";
    CREATE DATABASE "db10g"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    DATAFILE '/u02/oradata/db10g/system01.dbf' SIZE 300M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL
    SYSAUX DATAFILE '/u02/oradata/db10g/sysaux01.dbf' SIZE 32M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE 200M
    SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/u02/oradata/db10g/temp01.dbf' SIZE 10M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE 100M
    SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE '/u02/oradata/db10g/undotbs01.dbf' SIZE 100M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET AL16UTF16
    LOGFILE GROUP 1 ('/u02/oradata/db10g/redo01.log') SIZE 16M,
    GROUP 2 ('/u02/oradata/db10g/redo02.log') SIZE 16M,
    GROUP 3 ('/u02/oradata/db10g/redo03.log') SIZE 16M
    USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    spool off

  • While import the table i got error "ORA-39166"

    I got error "ORA-39166: Object XXXXXXX_030210 was not found." while importing.
    Edited by: AshishS on 03-Feb-2012 04:37

    Pl post details of OS and database versions, along with the complete impdp command used and the sections from the log file where this error occurs.
    HTH
    Srini

  • Got error ORA-06502 when creating a report page

    Hi,
    I got ORA-06502 error message when trying to create a report page using one particular query (see below). It happened in the 'SQL Query' step. After put query in the text box and click on 'Next' button, the error message read
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Exactly same query running in sqlplus session against same database and same schema can run thru fine.
    I wonder if anybody can give me a pointer what could be wrong with the query, and how to debug.
    The query is
    WITH o AS
    SELECT a.manager, m.owner
    FROM man_hierarchy_v m,
         SELECT owner manager
         FROM man_hierarchy_v
         WHERE manager_ladder LIKE '%-CROZWAT-%'
         AND olevel =
              (SELECT olevel + 1 FROM man_hierarchy_v WHERE owner = 'CROZWAT')
         ORDER BY owner
    ) a
    WHERE manager_ladder LIKE '%-' || a.manager || '-%'
    SELECT manager,
         code, TO_CHAR(code/total*100, '999.9') code_perc,
         code_symptoms, TO_CHAR(code_symptoms/num_symptoms*100, '999.9') code_sym_perc,
         env, TO_CHAR(env/total*100, '999.9') env_perc,
         env_symptoms, TO_CHAR(env_symptoms/num_symptoms*100, '999.9') env_sym_perc,
         test, TO_CHAR(test/total*100, '999.9') test_perc,
         test_symptoms, TO_CHAR(test_symptoms/num_symptoms*100, '999.9') test_sym_perc,
         tbd, TO_CHAR(tbd/total*100, '999.9') tbd_perc,
         tbd_symptoms, TO_CHAR(tbd_symptoms/num_symptoms*100, '999.9') tbd_sym_perc,
         cnd, TO_CHAR(cnd/total*100, '999.9') cnd_perc,
         cnd_symptoms, TO_CHAR(cnd_symptoms/num_symptoms*100, '999.9') cnd_sym_perc,
         latent, TO_CHAR(latent/total*100, '999.9') latent_perc,
         latent_symptoms, TO_CHAR(latent_symptoms/num_symptoms*100, '999.9') latent_sym_perc,
         behavior, TO_CHAR(behavior/total*100, '999.9') behavior_perc,
         behavior_symptoms, TO_CHAR(behavior_symptoms/num_symptoms*100, '999.9') behavior_sym_perc,
         dep_labels, TO_CHAR(dep_labels/total*100, '999.9') dep_labels_perc,
         dep_labels_symptoms, TO_CHAR(dep_labels_symptoms/num_symptoms*100, '999.9') dep_labels_sym_perc,
         total, num_symptoms
    FROM
    SELECT manager, SUM(code) code, SUM(code_symptoms) code_symptoms,
         SUM(cnd) cnd, SUM(cnd_symptoms) cnd_symptoms,
         SUM(env) env, SUM(env_symptoms) env_symptoms,
         SUM(behavior) behavior, SUM(behavior_symptoms) behavior_symptoms,
         SUM(latent) latent, SUM(latent_symptoms) latent_symptoms,
         SUM(dep_labels) dep_labels, SUM(dep_labels_symptoms) dep_labels_symptoms,
         SUM(test) test, SUM(test_symptoms) test_symptoms,
         SUM(tbd) tbd, SUM(tbd_symptoms) tbd_symptoms,
         COUNT(probid) total,
         SUM(num_symptoms) num_symptoms
    FROM
    SELECT o.manager, p.probid, NVL(num_symptoms, 0) num_symptoms,
         DECODE(type, 'C', 1, 0) code,
         CASE WHEN type = 'C' THEN num_symptoms ELSE 0 END code_symptoms,
         DECODE(type, 'CND', 1, 0) cnd,
         CASE WHEN type = 'CND' THEN num_symptoms ELSE 0 END cnd_symptoms,
         DECODE(type, 'E', 1, 0) env,
         CASE WHEN type = 'E' THEN num_symptoms ELSE 0 END env_symptoms,
         DECODE(type, 'L', 1, 0) behavior,
         CASE WHEN type = 'L' THEN num_symptoms ELSE 0 END behavior_symptoms,
         DECODE(type, 'LATENT', 1, 0) latent,
         CASE WHEN type = 'LATENT' THEN num_symptoms ELSE 0 END latent_symptoms,
         DECODE(type, 'O', 1, 0) dep_labels,
         CASE WHEN type = 'O' THEN num_symptoms ELSE 0 END dep_labels_symptoms,
         DECODE(type, 'T', 1, 0) test,
         CASE WHEN type = 'T' THEN num_symptoms ELSE 0 END test_symptoms,
         DECODE(type, 'TBD', 1, 0) tbd,
         CASE WHEN type = 'TBD' THEN num_symptoms ELSE 0 END tbd_symptoms
    FROM lrg_problem_v3 p, o
    WHERE p.assigned = o.owner
    AND p.cdate BETWEEN '16-DEC-08' AND '15-JAN-09'
    AND last_label LIKE 'RDBMS_MAIN_LINUX' || '_%'
    AND lrg LIKE 'lrg' || '%'
    GROUP BY manager
    ORDER BY manager
    I tried to remove all the TO_CHAR functions but same error message was returned.
    Thanks,
    Mingying

    This version of Apex comes with database release 11.1.0.6.0
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Following information might also be helpful.
    Product Build: 3.1.0.00.32
    Schema Compatibility: 2007.09.06
    NLS_CHARACTERSET: AL32UTF8
    DAD CHARACTERSET: UTF-8
    JOB_QUEUE_PROCESSES: 1000
    Thanks,
    Mingying

  • Create Relational View got error: ORA-19276: XPST0005 - XPath step specifie

    Hi expert,
    I am using Oracle 11.2.0.1.0 XML DB.
    I am successfully registered schema and generated a table DOCUMENT.
    I have succfully inserted 12 .xml files to this table.
    SQL> SELECT OBJECT_VALUE FROM document;
    OBJECT_VALUE
    <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type="text/xsl"?>
    <document xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd">
    <id root="03d6a2cd-fdda-4fe1-865d-da0db9212f34"/>
    <code code="51725-0" codeSystem="2.16.840.1.113883.6.1" displayName="ESTABLISHMENT REGISTRATION"/>
    </component>
    </document>
    then I tried to create a create Relational View base on one inserted .xml file I got error:
    ERROR at line 3:
    ORA-19276: XPST0005 - XPath step specifies an invalid element/attribute name: (document)
    is there anyone know what was wrong?
    Thanks a lot!
    Cow
    Edited by: Cow on Feb 15, 2011 8:58 PM
    Edited by: Cow on Feb 21, 2011 6:59 AM

    These kinds of issues, you will have to solve by joining multiple resultsets or passing fragments to the next XMLTABLE statement and building redundancy via the ORDINALITY clause (which results a NUMBER datatype)
    For example
    A "transaction" can have multiple "status"ses which can have multiple "reason"s
    WITH XTABLE
    AS
      (SELECT xmltype('<TRANSACTION>
                        <PFL_ID>123456789</PFL_ID>
                        <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
                        <ID>1</ID>
                        <INSTR_ID>MARCO_003</INSTR_ID>
                        <E_TO_E_ID>MARCO_004</E_TO_E_ID>
                        <INSTD_AMT>10</INSTD_AMT>
                        <INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
                        <STATUS>
                            <PFL_ID>123456789</PFL_ID>
                            <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
                            <TXI_ID>1</TXI_ID>
                            <ID>1</ID>
                            <PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
                               <REASON>
                                  <ID>1000</ID>
                                  <STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
                               </REASON>
                               <REASON>
                                  <ID>2000</ID>
                                  <STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
                               </REASON>
                         </STATUS>
                      </TRANSACTION>') as XMLCOLUMN
      FROM DUAL
    SELECT STS_ID             as STATUS_ID,
           STS_PFL_ID,
           STS_PMI_ID,
           STS_TXI_ID,
           RSN_ID             as REASON_ID,
           RSN_STS_RSN_PRTRY,
           RSN_XML_POS        as POSITION
    FROM  XTABLE
    ,     XMLTABLE ('/TRANSACTION/STATUS'
                    PASSING XMLCOLUMN
                    COLUMNS
                        STS_PFL_ID         NUMBER(10)    path 'PFL_ID'
                      , STS_PMI_ID         NUMBER(10)    path 'PMI_ID'
                      , STS_TXI_ID         NUMBER(10)    path 'TXI_ID'
                      , STS_ID             VARCHAR2(10)  path 'ID'
                      , XML_REASONS        XMLTYPE       path 'REASON'
                      ) sts
    ,     XMLTABLE ('/REASON'
                    PASSING sts.XML_REASONS
                    COLUMNS
                        RSN_XML_POS        FOR ORDINALITY
                      , RSN_ID             VARCHAR2(10)  path 'ID'
                      , RSN_STS_RSN_PRTRY  VARCHAR2(10)  path 'STS_RSN_PRTRY'
                      ) rsnWill give you the following output (in your case DON"T forget to buildin the namespace references)
    SQL> WITH XTABLE
      2  AS
      3   (SELECT xmltype('<TRANSACTION>
      4             <PFL_ID>123456789</PFL_ID>
      5             <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
      6             <ID>1</ID>
      7             <INSTR_ID>MARCO_003</INSTR_ID>
      8             <E_TO_E_ID>MARCO_004</E_TO_E_ID>
      9             <INSTD_AMT>10</INSTD_AMT>
    10             <INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
    11            <STATUS>
    12              <PFL_ID>123456789</PFL_ID>
    13              <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
    14              <TXI_ID>1</TXI_ID>
    15              <ID>1</ID>
    16              <PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
    17                <REASON>
    18                  <ID>1000</ID>
    19                  <STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
    20                </REASON>
    21                <REASON>
    22                   <ID>2000</ID>
    23                   <STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
    24                </REASON>
    25              </STATUS>
    26           </TRANSACTION>') as XMLCOLUMN
    27   FROM DUAL
    28   )
    29  SELECT STS_ID             as STATUS_ID,
    30         STS_PFL_ID,
    31         STS_PMI_ID,
    32         STS_TXI_ID,
    33         RSN_ID             as REASON_ID,
    34         RSN_STS_RSN_PRTRY,
    35         RSN_XML_POS        as POSITION
    36  FROM  XTABLE
    37  ,     XMLTABLE ('/TRANSACTION/STATUS'
    38                  PASSING XMLCOLUMN
    39              COLUMNS
    40                  STS_PFL_ID         NUMBER(10)    path 'PFL_ID'
    41                , STS_PMI_ID         NUMBER(10)    path 'PMI_ID'
    42                , STS_TXI_ID         NUMBER(10)    path 'TXI_ID'
    43                , STS_ID             VARCHAR2(10)  path 'ID'
    44                , XML_REASONS        XMLTYPE       path 'REASON'
    45            ) sts
    46  ,     XMLTABLE ('/REASON'
    47                  PASSING sts.XML_REASONS
    48              COLUMNS
    49                  RSN_XML_POS        FOR ORDINALITY
    50                , RSN_ID             VARCHAR2(10)  path 'ID'
    51                , RSN_STS_RSN_PRTRY  VARCHAR2(10)  path 'STS_RSN_PRTRY'
    52            ) rsn
    53 ;
    STATUS_ID  STS_PFL_ID STS_PMI_ID STS_TXI_ID REASON_ID  RSN_STS_RS   POSITION
    1           123456789          1          1 1000       MG001               1
    1           123456789          1          1 2000       IS000               2
    2 rows selected.If I wouldn't have done that then I would have got your result which fails with your error:
    - ORA-19279 - XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
    SQL> WITH XTABLE
      2  AS
      3   (SELECT xmltype('<TRANSACTION>
      4             <PFL_ID>123456789</PFL_ID>
      5             <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
      6             <ID>1</ID>
      7             <INSTR_ID>MARCO_003</INSTR_ID>
      8             <E_TO_E_ID>MARCO_004</E_TO_E_ID>
      9             <INSTD_AMT>10</INSTD_AMT>
    10             <INSTD_AMT_CCY>EUR</INSTD_AMT_CCY>
    11            <STATUS>
    12              <PFL_ID>123456789</PFL_ID>
    13              <PMI_ID>1</PMI_ID><PII_ID>1</PII_ID>
    14              <TXI_ID>1</TXI_ID>
    15              <ID>1</ID>
    16              <PMT_TX_STS_UTC_DT>2011-02-15</PMT_TX_STS_UTC_DT>
    17                <REASON>
    18                  <ID>1000</ID>
    19                  <STS_RSN_PRTRY>MG001</STS_RSN_PRTRY>
    20                </REASON>
    21                <REASON>
    22                   <ID>2000</ID>
    23                   <STS_RSN_PRTRY>IS000</STS_RSN_PRTRY>
    24                </REASON>
    25              </STATUS>
    26           </TRANSACTION>') as XMLCOLUMN
    27   FROM DUAL
    28   )
    29  SELECT STS_ID             as STATUS_ID,
    30         STS_PFL_ID,
    31         STS_PMI_ID,
    32         STS_TXI_ID,
    33         RSN_ID             as REASON_ID,
    34         RSN_STS_RSN_PRTRY
    35  FROM  XTABLE
    36  ,     XMLTABLE ('/TRANSACTION/STATUS'
    37                  PASSING XMLCOLUMN
    38              COLUMNS
    39                  STS_PFL_ID         NUMBER(10)    path 'PFL_ID'
    40                , STS_PMI_ID         NUMBER(10)    path 'PMI_ID'
    41                , STS_TXI_ID         NUMBER(10)    path 'TXI_ID'
    42                , STS_ID             VARCHAR2(10)  path 'ID'
    43                , RSN_ID             VARCHAR2(10)  path 'REASON/ID'
    44                , RSN_STS_RSN_PRTRY  VARCHAR2(10)  path 'REASON/STS_RSN_PRTRY'
    45           ) rsn;
                  </REASON>
    ERROR at line 24:
    ORA-19279: XQuery dynamic type mismatch: expected singleton sequence - got
    multi-item sequenceHTH
    Edited by: Marco Gralike on Feb 16, 2011 12:12 PM

  • Why I got error ORA-02429 when I tried to drop a tablespace?

    I use the following command to drop the tablespace:
    drop tablespace users including contents and datafiles;The error message is below:
    Error report:
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-02429: cannot drop index used for enforcement of unique/primary key
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.However, I have removed all the tables and indexes in this tablespace.
    Nothing found when I issued the following enquiries.
    select index_name from user_indexes where TABLESPACE_NAME = 'USERS';
    select table_name from user_tables where TABLESPACE_NAME = 'USERS';Is there anything I missed?
    Thanks in advance.

    999274 wrote:
    Could you please let me know how to purge recyclebin ?It's bad form to hijack someone else's thread for your own questions.
    As for your question
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • Application batch job running got error ORA-03113

    Problem: when application batch job running, application system always receive this error: ORA-03113 and job stop.
    Application system: dynamic system AX
    ORACLE system: ORACLE 10.2.0.4.0
    The listener configuration setting is :
    INBOUND_CONNECT_TIMEOUT_LISTENER = 0
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER = OFF
    Whether this is the problem of listener setting? "INBOUND_CONNECT_TIMEOUT_LISTENER = 0" indicate 0 seconds or no limit?

    I only find the error message in the Client server (application server).
    below is some example of it.
    The database reported (session 56 (mtihz)): ORA-03114: not connected to ORACLE
    . The SQL statement was: "SELECT A.PURCHID,A.PURCHNAME,A.ORDERACCOUNT,A.INVOICEACCOUNT,A.FREIGHTZONE,A.EMAIL,A.DELIVERYDATE,A.DELIVERYTYPE,A.ADDRESSREFRECID,A.ADDRESSREFTABLEID,A.INTERCOMPANYORIGINALSALESID,A.INTERCOMPANYORIGINALCUSTACCO12,A.CURRENCYCODE,A.PAYMENT,A.CASHDISC,A.PURCHPLACER,A.INTERCOMPANYDIRECTDELIVERY,A.VENDGROUP,A.LINEDISC,A.DISCPERCENT,A.DIMENSION,A.DIMENSION2
    Object Server 01: The database reported (session 58 (zhlhz)): ORA-03113: end-of-file on communication channel
    . The SQL statement was: "SELECT A.SPECTABLEID,A.LINENUM,A.CODE,A.BALANCE01,A.REFTABLEID,A.REFRECID,A.SPECRECID,A.PAYMENT,A.PAYMENTSTATUS,A.ERRORCODEPAYMENT,A.FULLSETTLEMENT,A.CREATEDDATE,A.CREATEDTIME,A.RECVERSION,A.RECID FROM SPECTRANS A WHERE ((SUBSTR(NLS_LOWER(DATAAREAID),1,7)=NLS_LOWER(:in1)) AND ((REFTABLEID=:in2) AND (REFRECID=:in3)))"
    but when I use PL/SQL Developer to run the scripts. there is no problem.
    And we always met errors when application team run long time batch, about 20 - 30 minutes or even longer.
    When they run 5 or 10 minutes job, there is no error occur.

  • ORA-39097:,ORA-39065: ORA-31641: ORA-27086:  occurred in expxdp while taking datapump expdp backup.

    Hi,
    getting below error while running expdp.
    ORA-39097: Data Pump job encountered unexpected error -31641
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-31641: unable to create dump file "/netbackup_216/EXPDP_HEALTHDB_Full/11EXPDPBACKUP_PHCLMDBbkup_2013_07_03.dmp"
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 205012
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 4 with process name "DW07" prematurely terminated
    ORA-31673: worker process interrupt for normal exit by master process
    ORA-06512: at "SYS.KUPW$WORKER", line 1714
    ORA-06512: at line 2

    yes,i am using parallel =4 option .
    export ORACLE_SID=PHCLMDB
    export date=bkup_$(date +%Y_%m_%d)
    OSID=$ORACLE_SID
    export filenm=EXPDPBACKUP_$OSID$hypn$date
    echo $filenm
    rm -rf /netbackup_216/EXPDP_HEALTHDB_Full/*.dmp
    expdp system directory=PHCLMDB_EXP dumpfile=$filenm.dmp,1$filenm.dmp,2$filenm.dmp,3$filenm.dmp,4$filenm.dmp,5$filenm.dmp,6$filenm.dmp,7$filenm.dmp,8$filenm.dmp,9$filenm.dmp,10$filenm.dmp,11$filenm.dmp,12$filenm.dmp,13$filenm.dmp,14$filenm.dmp,15$filenm.dmp,16$filenm.dmp,17$filenm.dmp,18$filenm.dmp,19$filenm.dmp,20$filenm.dmp,21$filenm.dmp,22$filenm.dmp,23$filenm.dmp,24$filenm.dmp,25$filenm.dmp,26$filenm.dmp,27$filenm.dmp,28$filenm.dmp,29$filenm.dmp,30$filenm.dmp,31$filenm.dmp,32$filenm.dmp,33$filenm.dmp,34$filenm.dmp,35$filenm.dmp,36$filenm.dmp,37$filenm.dmp,38$filenm.dmp,39$filenm.dmp,40$filenm.dmp,41$filenm.dmp,42$filenm.dmp,43$filenm.dmp,44$filenm.dmp,45$filenm.dmp,46$filenm.dmp,47$filenm.dmp,48$filenm.dmp,49$filenm.dmp,50$filenm.dmp,51$filenm.dmp,52$filenm.dmp,53$filenm.dmp,54$filenm.dmp,55$filenm.dmp,56$filenm.dmp,57$filenm.dmp,58$filenm.dmp,59$filenm.dmp,60$filenm.dmp,61$filenm.dmp,62$filenm.dmp,63$filenm.dmp,64$filenm.dmp,65$filenm.dmp,66$filenm.dmp,67$filenm.dmp,68$filenm.dmp,69$filenm.dmp,70$filenm.dmp,71$filenm.dmp,72$filenm.dmp,73$filenm.dmp,74$filenm.dmp,75$filenm.dmp,76$filenm.dmp,77$filenm.dmp logfile=$filenm.log full=y parallel=4 filesize=3000M

  • REP-1401: 'cf_10formula': Fatal PL/SQL error occurred. ORA-06502: PL/SQL: numeric or value error

    Hi Team,
    I am running one conc programme.
    After running I am getting below  error. I checked the issue on metalink  and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.
    But still getting issue.
    My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor  I am including it on RTF template.
    I want the CF_10 formula column to be populated with comma seperated values.
    MSG-00187: From Date 01-Sep-2014
    REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    And Here is my code for CF_10
    function CF_10Formula return Number is
    begin
       SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5
    --  xxhw_Coll_cat(category)     "Intercat  Catg"
    FROM hhxw_Region_col_v
    WHERE Category IN ('Intercompany - CATV')
    AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');
    RETURN ROUND(:CP_5);
    end;
    Anyone please suggest me.
    Regards,
    Sachin

    Hi,
    1)Why are you selecting the value into a report item? Select into a local variable and return that
    RETURN :CP_5 --> This one!!
    2)And you should avoid applying functions to DB columns in where clauses wherever possible, so oracle can use indexes on them if applicable:
    AND gl_date >= To_date(:P_FROM_DATE, 'DD/MM/RRRR')
    AND gl_date < To_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
    I think you are taking 2 column in the Layout CF_10 and CP_5 right? if so, then use below Query.
    FUNCTION cf_10formula
      RETURN NUMBER
    IS
      v_amount NUMBER:null;
    IS
    BEGIN
      BEGIN
        SELECT nvl(round(SUM(amount)), 0)
        INTO   v_amount --> Retruns the value for CF_10 column
        FROM   hhxw_region_col_v
        WHERE  category IN ( 'Intercompany - CATV' )
        AND    gl_date >= to_date(:P_FROM_DATE, 'DD/MM/RRRR')
        AND    gl_date < to_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
        :CP_5 := nvl(trunc(v_amount),0); --> Retruns the value for CP_5 column
      EXCEPTION
      WHEN OTHERS THEN
        v_amount := 0;
        srw.message(1003,'Error in Getting  :' ||p_from_date);
      END;
    END;
    And
    If you've got a number function returning into a number field then all you should need to do to make the comma appear is to change the number format mask in field.
    From 40000 to 40,000

  • Error in Report ORA-24801

    Hi All,
    I am trying to run a report containing the images stored in blob column in database 10g, while running the report I got following error ..
    ORA-24801: illegal parameter value in OCI lob function
    Cause: One of the parameter values in the OCI lob function is illegal.
    Action: Check every parameter in the OCI Lob function call to make sure they are correct. Offsets should be greater than or equal to one.
    I didn't understand with this the cause and the solution of error....Any body could please tell what exactly it means and what we should do.
    Any help will be highly appriciated.
    Best Regards

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Oracle errors : ORA-01172 & ORA-01151

    HI
    I am running oracle 10G on win XP .
    3 days ago when i logged in i got following 2 errors .
    ORA-01172: recovery of thread 1 stuck at block 1381 of file 2
    ORA-01151: use media recovery to recover block, restore backup if needed
    as i was new to this error , i was searching on the net what has caused this error ?
    But again now on yesterday when i tried to login i got the new messge
    ORA-12560: TNS:protocol adapter error
    I had checked for all oracle services & litsner files . All are working fine even i re-started all services . I am unable to move further . Help is appriciated .
    thnx in advance

    ORA-01152: file string was not restored from a sufficiently old backup
    Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied.The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.
    Action: Either apply more logs until the database is consistent or restore the database file from an older backup and repeat recovery.

Maybe you are looking for