ORA-27300: OS system dependent operation 问题如何解决

有一套测试老系统,时不时报 ORA-27300,必须重启数据库,麻烦刘大帮忙看一下
操作系统:
win 2003 x64 sp2
内存大小 :8.0 Gb
数据库:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 64-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
sga:
SQL> show parameter sga
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 2432M
sga_target big integer 2432M
pga:
SQL> show parameter pga
NAME TYPE VALUE
pga_aggregate_target big integer 808M
最近一次告警aler信息:
Sun Aug 26 18:00:59 2012
Process startup failed, error stack:
Sun Aug 26 18:00:59 2012
Errors in file e:\oracle\product\10.2.0\admin\bfsty\bdump\bfsty_psp0_3364.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: 重叠 I/O 操作在进行中。
ORA-27302: failure occurred at: skgpspawn
Sun Aug 26 18:01:00 2012
Process m000 died, see its trace file
Sun Aug 26 18:01:00 2012
ksvcreate: Process(m000) creation failed
Sun Aug 26 18:02:01 2012
Errors in file e:\oracle\product\10.2.0\db_1\rdbms\trace\bfsty_ora_3484.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [clsdcxini+62] [PC:0x646381E] [ADDR:0x18] [UNABLE_TO_READ] []
Sun Aug 26 18:02:02 2012
Process J000 died, see its trace file
Sun Aug 26 18:02:02 2012
kkjcre1p: unable to spawn jobq slave process
Sun Aug 26 18:02:02 2012
Errors in file e:\oracle\product\10.2.0\admin\bfsty\bdump\bfsty_cjq0_4288.trc:
Sun Aug 26 18:02:06 2012
Process startup failed, error stack:
Sun Aug 26 18:02:06 2012
Errors in file e:\oracle\product\10.2.0\admin\bfsty\bdump\bfsty_psp0_3364.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: 重叠 I/O 操作在进行中。
ORA-27302: failure occurred at: skgpspawn
Sun Aug 26 18:02:07 2012
Process m001 died, see its trace file
Sun Aug 26 18:02:07 2012
ksvcreate: Process(m001) creation failed
Dump file e:\oracle\product\10.2.0/admin/bfsty/bdump\alert_bfsty.log
Edited by: 954071 on 2012-9-3 上午2:44
================================================
Dump file e:\oracle\product\10.2.0\db_1\rdbms\trace\bfsty_ora_3484.trc
Sun Aug 26 18:02:01 2012
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 8 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:353M/8189M, Ph+PgF:5M/11841M
Instance name: bfsty
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Windows thread id: 3484, image: ORACLE.EXE
*** 2012-08-26 18:02:01.188
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [clsdcxini+62] [PC:0x646381E] [ADDR:0x18] [UNABLE_TO_READ] []
Current SQL information unavailable - no SGA.
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
clsdcxini+62 0000000000000000 000000000 000000000 000000000
000000000
clsdinit+82 CALL??? clsdcxini+62 04EEBE788 000000011 000000000
000000001
ksdnfy+256 CALL??? clsdinit+82 000000000 000000000 000000000
000000000
kscnfy+691 CALL??? ksdnfy+256 000000000 000000000 000000000
000000000
opirip+116 CALL??? kscnfy+691 30315C7400000007 000000000
726F7774656E5C31
71735C676F6C5C6B
opidrv+860 CALL??? opirip+116 000000032 000000004 04EEBFDA0
000000000
sou2o+52 CALL??? opidrv+860 000000032 000000004 04EEBFDA0
0067510D2
opimai_real+272 CALL??? sou2o+52 000000000 037220000 000000ECC
000000000
opimai+96 CALL??? opimai_real+272 000000000 000000000 000000000
000000000
BackgroundThreadSta CALL??? opimai+96 04EEBFEF0 000000001 000000000
rt+530 000000000
0000000078D3B71A CALL??? BackgroundThreadSta 02EC2C8B0 000000000 000000000
rt+530 04EEBFFA8
--------------------- Binary Stack Dump ---------------------
========== FRAME [1] (clsdcxini+62 -> 0000000000000000) ==========
Inaccessible memory range: 0000000000000000 -> 0000000000000400
========== FRAME [2] (clsdinit+82 -> clsdcxini+62) ==========
Dump of memory from 0x000000004EEBE710 to 0x000000004EEBEB10
04EEBE710 4EEBEC20 00000000 064629CE 00000000 [ ..N.....)F.....]
04EEBE720 4EEBE788 00000000 00000011 00000000 [...N............]
04EEBE730 00000000 00000000 00000001 00000000 [................]
04EEBE740 2EB3FED0 00000000 2EB3FED0 00000000 [................]
04EEBE750 57065590 00000000 00000001 00000000 [.U.W............]
04EEBE760 00000000 00000000 00000001 00000000 [................]
04EEBE770 00000000 00000000 00000000 00000000 [................]
04EEBE780 00000028 00000000 37257738 00000000 [(.......8w%7....]
04EEBE790 00000000 00000004 570793F0 00000000 [...........W....]
04EEBE7A0 57065250 00000000 0001E5E0 00000000 [PR.W............]
04EEBE7B0 57065890 00000000 03A9CE58 00000000 [.X.W....X.......]
04EEBE7C0 0001D570 00000000 00000340 00000000 [p.......@.......]
04EEBE7D0 0001D568 00000000 04FD0E75 00000000 [h.......u.......]
04EEBE7E0 57065250 00000000 000000B8 00000000 [PR.W............]
04EEBE7F0 00000090 00000000 03A9CE58 00000000 [........X.......]
04EEBE800 00000000 00000000 053F26C0 00000000 [.........&?.....]
04EEBE810 00000090 00000000 004899D1 00000000 [..........H.....]
04EEBE820 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBE840 000000B8 00000000 00007FFF 00000000 [................]
04EEBE850 00000090 00000000 00000012 00000000 [................]
04EEBE860 03A9B8C0 00000000 03A9B860 00000000 [........`.......]
04EEBE870 00000000 00000000 03A9CE58 00000000 [........X.......]
04EEBE880 05A1F59E 00000000 04B3A410 00000000 [................]
04EEBE890 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
04EEBE8C0 00000000 00000000 79EC0031 0000C868 [........1..yh...]
04EEBE8D0 372201D8 00000000 37255108 00000000 [.."7.....Q%7....]
04EEBE8E0 2EB3FED0 00000000 37257678 00000000 [........xv%7....]
04EEBE8F0 37257678 00000000 04CE6CF2 00000000 [xv%7.....l......]
04EEBE900 4EEBF350 00000000 04CD9B04 00000000 [P..N............]
04EEBE910 4EEBEBF8 00000000 058D4BD7 00000000 [...N.....K......]
04EEBE920 059C7578 00000000 37257678 00000000 [xu......xv%7....]
04EEBE930 37257440 00000000 04C7E8B2 00000000 [@t%7............]
04EEBE940 00000003 00000000 00000000 00000000 [................]
04EEBE950 00000000 00000000 059CAB58 00000000 [........X.......]
04EEBE960 00000007 00000000 059CA56C 00000000 [........l.......]
04EEBE970 00000005 00000000 00000000 00000000 [................]
04EEBE980 00000000 00000000 059C8B34 00000000 [........4.......]
04EEBE990 00000006 00000000 059C8B3C 00000000 [........<.......]
04EEBE9A0 00000003 00000000 059CA574 00000000 [........t.......]
04EEBE9B0 00000009 00000000 00000000 00000000 [................]
04EEBE9C0 00000002 00000000 00000000 00000000 [................]
04EEBE9D0 372554E8 00000000 7FC40B0F 000007FF [.T%7............]
04EEBE9E0 7A128168 00000000 79E42120 0000C868 [h..z.... !.yh...]
04EEBE9F0 4EEBF350 00000000 04BB756E 00000000 [P..N....nu......]
04EEBEA00 7A128168 0000C868 7FC0B42D 000007FF [h..zh...-.......]
04EEBEA10 2EB3FED0 00000000 2EB404F8 00000000 [................]
04EEBEA20 00000059 00000000 0000000E 00000000 [Y...............]
04EEBEA30 4EEBF2D6 00000000 04B16EB7 00000000 [...N.....n......]
04EEBEA40 00000B48 00000000 00001001 00000000 [H...............]
04EEBEA50 79E42120 0000C868 00000000 00000000 [ !.yh...........]
04EEBEA60 00000000 00000000 79E42120 0000C868 [........ !.yh...]
04EEBEA70 04B167DC 00000000 00000000 00000000 [.g..............]
04EEBEA80 00000000 00000000 4EEBF77C 00000000 [........|..N....]
04EEBEA90 00000000 00000000 04B164BD 00000000 [.........d......]
04EEBEAA0 00000B48 00000000 0000001D 00000000 [H...............]
04EEBEAB0 4EEBF608 00000000 4EEBF80A 00000000 [...N.......N....]
04EEBEAC0 37235A68 00000000 4EEBFAD0 00000000 [hZ#7.......N....]
04EEBEAD0 00000000 00000000 4EEBF7C0 00000000 [...........N....]
04EEBEAE0 4EEBF810 00000000 0000001D 00000000 [...N............]
04EEBEAF0 4EEBFAD0 00000000 04B1654E 00000000 [...N....Ne......]
04EEBEB00 00000000 00000000 4EEBF7FC 00000000 [...........N....]
========== FRAME [3] (ksdnfy+256 -> clsdinit+82) ==========
Dump of memory from 0x000000004EEBEBB0 to 0x000000004EEBECB0
04EEBEBB0 0001D570 00000000 0045D494 00000000 [p.........E.....]
04EEBEBC0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBEBE0 00000000 00000000 4EEBEC7C 00000000 [........|..N....]
04EEBEBF0 00000000 00000000 00000000 00000000 [................]
Repeat 3 times
04EEBEC30 0043182E 00000000 004315D4 00000000 [..C.......C.....]
04EEBEC40 00000000 00000000 00000000 00000000 [................]
04EEBEC50 00000000 00000000 00000006 00000000 [................]
04EEBEC60 00000000 000069DD 00000000 00000000 [.....i..........]
04EEBEC70 7444D25D 0000C868 00000000 00000000 [].Dth...........]
04EEBEC80 4EEBECF0 00000000 0001E358 00000000 [...N....X.......]
04EEBEC90 570793F0 00000000 0001E358 00000000 [...W....X.......]
04EEBECA0 0001E5DC 00000000 57065250 00000000 [........PR.W....]
========== FRAME [4] (kscnfy+691 -> ksdnfy+256) ==========
Dump of memory from 0x000000004EEBECB0 to 0x000000004EEBF030
04EEBECB0 57065250 00000000 0062851B 00000000 [PR.W......b.....]
04EEBECC0 00000000 00000000 00000000 00000000 [................]
Repeat 29 times
04EEBEEA0 4EEBFB50 00000000 00000000 00000000 [P..N............]
04EEBEEB0 4EEBECC0 00000000 570793F0 00000000 [...N.......W....]
04EEBEEC0 4EEBECC0 00000000 4EEBECF0 00000000 [...N.......N....]
04EEBEED0 0001E358 00000000 0001E5DC 00000000 [X...............]
04EEBEEE0 57065250 00000000 57065250 00000000 [PR.W....PR.W....]
04EEBEEF0 57065250 00000000 0001D570 00000000 [PR.W....p.......]
04EEBEF00 006282F3 00000000 00001F80 0000027F [..b.............]
04EEBEF10 00000000 00000000 00000000 00000000 [................]
Repeat 14 times
04EEBF000 57065A10 00000000 03E6DB30 00000000 [.Z.W....0.......]
04EEBF010 57065250 00000000 0001E350 00000000 [PR.W....P.......]
04EEBF020 00000000 00000000 0001E238 00000000 [........8.......]
========== FRAME [5] (opirip+116 -> kscnfy+691) ==========
Dump of memory from 0x000000004EEBF030 to 0x000000004EEBF430
04EEBF030 4EEBF080 00000000 0095A5E8 00000000 [...N............]
04EEBF040 00000007 30315C74 00000000 00000000 [....t\10........]
04EEBF050 656E5C31 726F7774 6F6C5C6B 71735C67 [1\network\log\sq]
04EEBF060 74656E6C 676F6C2E 00000000 00000000 [lnet.log........]
04EEBF070 00000000 00000000 00000000 00000000 [................]
Repeat 30 times
04EEBF260 372531B8 00000000 372538D0 00000000 [.1%7.....8%7....]
04EEBF270 37235AB8 00000000 7A128168 0000C868 [.Z#7....h..zh...]
04EEBF280 00000000 00000000 0001E368 00000000 [........h.......]
04EEBF290 57065250 00000000 00000001 00000000 [PR.W............]
04EEBF2A0 4EEBFCE0 00000000 570835B8 00000000 [...N.....5.W....]
04EEBF2B0 4EEBFBE0 00000000 00000100 00000000 [...N............]
04EEBF2C0 00000000 00000000 4341524F 415F454C [........ORACLE_A]
04EEBF2D0 4E494646 00595449 54494E49 00000059 [FFINITY.INITY...]
04EEBF2E0 00000000 00000000 00000000 00000000 [................]
04EEBF2F0 4EEBFCE0 00000000 00000002 00000000 [...N............]
04EEBF300 00000000 00000000 00000000 00000000 [................]
04EEBF310 4EEBFCE0 00000000 058D2B3E 00000000 [...N....>+......]
04EEBF320 00000000 00000000 00000000 00000000 [................]
04EEBF330 00000000 00000000 78EE355C 00000000 [........\5.x....]
04EEBF340 4EEBFCE0 00000000 78EE5039 00000000 [...N....9P.x....]
04EEBF350 00000EE9 00000002 00000002 00000000 [................]
04EEBF360 00000000 00000000 00000000 00000000 [................]
04EEBF370 00000036 00000000 00000000 00000000 [6...............]
04EEBF380 00000000 00000000 00000038 00000000 [........8.......]
04EEBF390 00000034 00000000 00000000 00000000 [4...............]
04EEBF3A0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBF3C0 059C8C00 00000000 059C8C14 00000000 [................]
04EEBF3D0 00000000 00000000 059C8C2C 00000000 [........,.......]
04EEBF3E0 00000000 00000000 7FC4D21D 000007FF [................]
04EEBF3F0 059C8C40 00000000 059C8C54 00000000 [@.......T.......]
04EEBF400 059C8C6C 00000000 78EE3707 00000000 [l........7.x....]
04EEBF410 059C8CCC 00000000 059C8CDC 00000000 [................]
04EEBF420 00000000 00000000 00000000 FFFFFFFF [................]
========== FRAME [6] (opidrv+860 -> opirip+116) ==========
Dump of memory from 0x000000004EEBFAB0 to 0x000000004EEBFD30
04EEBFAB0 4EEBFAF0 00000000 00430880 00000000 [...N......C.....]
04EEBFAC0 00000032 00000000 00000004 00000000 [2...............]
04EEBFAD0 4EEBFDA0 00000000 00000000 00000000 [...N............]
04EEBFAE0 00000000 00000000 00000000 00000000 [................]
04EEBFAF0 00000000 00000000 059C68E0 00000000 [.........h......]
04EEBFB00 00000000 00000000 0001E368 00000000 [........h.......]
04EEBFB10 57065250 00000000 00000001 00000000 [PR.W............]
04EEBFB20 0001BBA0 00000000 570835C8 00000000 [.........5.W....]
04EEBFB30 00000000 00000000 57080DF0 00000000 [...........W....]
04EEBFB40 00000000 00000000 0067F572 00000000 [........r.g.....]
04EEBFB50 00000000 00000000 00000000 00000000 [................]
04EEBFB60 4EEBFAC0 00000000 570793F0 00000000 [...N.......W....]
04EEBFB70 4EEBFAC0 00000000 4EEBFAF0 00000000 [...N.......N....]
04EEBFB80 0001E358 00000000 0001E5DC 00000000 [X...............]
04EEBFB90 57065250 00000000 0001E238 00000000 [PR.W....8.......]
04EEBFBA0 0001E328 00000000 0001E350 00000000 [(.......P.......]
04EEBFBB0 004307AE 00000000 00001F80 0000027F [..C.............]
04EEBFBC0 00000000 00000000 00000000 00000000 [................]
Repeat 11 times
04EEBFC80 00000000 00000000 570793F0 00000000 [...........W....]
04EEBFC90 00000000 00000000 57065A10 00000000 [.........Z.W....]
04EEBFCA0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBFCC0 00000001 00000000 57065250 00000000 [........PR.W....]
04EEBFCD0 067510D2 00000000 372200DA 00000000 [..u......."7....]
04EEBFCE0 4EEBFDC0 00000000 7444D25D 0000C868 [...N....].Dth...]
04EEBFCF0 0001BBA0 00000000 0001D570 00000000 [........p.......]
04EEBFD00 00000001 00000000 0001FB9C 00000000 [................]
04EEBFD10 0001FB8C 00000000 0001FB88 00000000 [................]
04EEBFD20 0001FBA8 00000000 004010E5 00000000 [..........@.....]
========== FRAME [7] (sou2o+52 -> opidrv+860) ==========
Dump of memory from 0x000000004EEBFD30 to 0x000000004EEBFD70
04EEBFD30 4EEBFEA0 00000000 0043157C 00000000 [...N....|.C.....]
04EEBFD40 00000032 00000000 00000004 00000000 [2...............]
04EEBFD50 4EEBFDA0 00000000 067510D2 00000000 [...N......u.....]
04EEBFD60 4EEBFE10 00000000 2EC2C8B0 00000000 [...N............]
========== FRAME [8] (opimai_real+272 -> sou2o+52) ==========
Dump of memory from 0x000000004EEBFD70 to 0x000000004EEBFDE0
04EEBFD70 4EEBFE10 00000000 00401200 00000000 [...N......@.....]
04EEBFD80 00000000 00000000 37220000 00000000 [.........."7....]
04EEBFD90 00000ECC 00000000 00000000 00000000 [................]
04EEBFDA0 372200D8 00000000 FFFFFFFF 00000000 [.."7............]
04EEBFDB0 00000000 00000000 00000001 00000000 [................]
04EEBFDC0 00000000 00000000 00000000 00000000 [................]
04EEBFDD0 00000000 00000000 00000003 00000000 [................]
========== FRAME [9] (opimai+96 -> opimai_real+272) ==========
Dump of memory from 0x000000004EEBFDE0 to 0x000000004EEBFE70
04EEBFDE0 00000000 00000000 00401060 00000000 [........`.@.....]
04EEBFDF0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBFE10 37220060 00000000 37220088 00000000 [`."7......"7....]
04EEBFE20 372200D8 00000000 00000000 00000000 [.."7............]
04EEBFE30 00000000 00000001 00000D9C 0000007B [............{...]
04EEBFE40 4EEBFEA0 00000000 00433C40 00000000 [...N....@<C.....]
04EEBFE50 00000D9C 00000000 08000000 00000000 [................]
04EEBFE60 0472B008 00000000 00000000 00000000 [..r.............]
========== FRAME [10] (BackgroundThreadStart+530 -> opimai+96) ==========
Dump of memory from 0x000000004EEBFE70 to 0x000000004EEBFF70
04EEBFE70 00000000 00000000 00401616 00000000 [..........@.....]
04EEBFE80 4EEBFEF0 00000000 00000001 00000000 [...N............]
04EEBFE90 00000000 00000000 00000000 00000000 [................]
04EEBFEA0 37220060 00000000 37220088 00000000 [`."7......"7....]
04EEBFEB0 372200D8 00000000 00000000 00000000 [.."7............]
04EEBFEC0 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
04EEBFEF0 00000000 3030304A 00000000 00000000 [....J000........]
04EEBFF00 00000001 00000000 0476BEE0 00000000 [..........v.....]
04EEBFF10 00000000 00000000 00000ECC 00000000 [................]
04EEBFF20 4EEBFE80 00000000 C0000005 00000000 [...N............]
04EEBFF30 2EC2C8B0 00000000 00000000 00000000 [................]
04EEBFF40 00000005 00000000 00000003 00000000 [................]
04EEBFF50 7444D25D 0000C868 00000000 00000000 [].Dth...........]
04EEBFF60 00000000 00000000 00401404 00000000 [..........@.....]
========== FRAME [11] (0000000078D3B71A -> BackgroundThreadStart+530) ==========
Inaccessible memory range: 000000004EEBFF70 -> 000000004EEC0070
----- Argument/Register Address Dump -----
Argument/Register addr=0x000000004EEBE788.
Dump of memory from 0x000000004EEBE748 to 0x000000004EEBE888
04EEBE740 2EB3FED0 00000000 [........]
04EEBE750 57065590 00000000 00000001 00000000 [.U.W............]
04EEBE760 00000000 00000000 00000001 00000000 [................]
04EEBE770 00000000 00000000 00000000 00000000 [................]
04EEBE780 00000028 00000000 37257738 00000000 [(.......8w%7....]
04EEBE790 00000000 00000004 570793F0 00000000 [...........W....]
04EEBE7A0 57065250 00000000 0001E5E0 00000000 [PR.W............]
04EEBE7B0 57065890 00000000 03A9CE58 00000000 [.X.W....X.......]
04EEBE7C0 0001D570 00000000 00000340 00000000 [p.......@.......]
04EEBE7D0 0001D568 00000000 04FD0E75 00000000 [h.......u.......]
04EEBE7E0 57065250 00000000 000000B8 00000000 [PR.W............]
04EEBE7F0 00000090 00000000 03A9CE58 00000000 [........X.......]
04EEBE800 00000000 00000000 053F26C0 00000000 [.........&?.....]
04EEBE810 00000090 00000000 004899D1 00000000 [..........H.....]
04EEBE820 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBE840 000000B8 00000000 00007FFF 00000000 [................]
04EEBE850 00000090 00000000 00000012 00000000 [................]
04EEBE860 03A9B8C0 00000000 03A9B860 00000000 [........`.......]
04EEBE870 00000000 00000000 03A9CE58 00000000 [........X.......]
04EEBE880 05A1F59E 00000000 [........]
Argument/Register addr=0x000000004EEBFDA0.
Dump of memory from 0x000000004EEBFD60 to 0x000000004EEBFEA0
04EEBFD60 4EEBFE10 00000000 2EC2C8B0 00000000 [...N............]
04EEBFD70 4EEBFE10 00000000 00401200 00000000 [...N......@.....]
04EEBFD80 00000000 00000000 37220000 00000000 [.........."7....]
04EEBFD90 00000ECC 00000000 00000000 00000000 [................]
04EEBFDA0 372200D8 00000000 FFFFFFFF 00000000 [.."7............]
04EEBFDB0 00000000 00000000 00000001 00000000 [................]
04EEBFDC0 00000000 00000000 00000000 00000000 [................]
04EEBFDD0 00000000 00000000 00000003 00000000 [................]
04EEBFDE0 00000000 00000000 00401060 00000000 [........`.@.....]
04EEBFDF0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
04EEBFE10 37220060 00000000 37220088 00000000 [`."7......"7....]
04EEBFE20 372200D8 00000000 00000000 00000000 [.."7............]
04EEBFE30 00000000 00000001 00000D9C 0000007B [............{...]
04EEBFE40 4EEBFEA0 00000000 00433C40 00000000 [...N....@<C.....]
04EEBFE50 00000D9C 00000000 08000000 00000000 [................]
04EEBFE60 0472B008 00000000 00000000 00000000 [..r.............]
04EEBFE70 00000000 00000000 00401616 00000000 [..........@.....]
04EEBFE80 4EEBFEF0 00000000 00000001 00000000 [...N............]
04EEBFE90 00000000 00000000 00000000 00000000 [................]
Argument/Register addr=0x00000000067510D2.
Dump of memory from 0x0000000006751092 to 0x00000000067511D2
006751090 00000000 00000000 066A0000 00000000 [..........j.....]
0067510A0 00000009 00000000 00000000 00000000 [................]
0067510B0 00000000 00000000 9C0EE0E1 FF0B0033 [............3...]
0067510C0 30300004 00000000 9C0EE0E6 FF0E0033 [..00........3...]
0067510D0 00000031 00000000 9C0EE0E7 FF100033 [1...........3...]
0067510E0 00000005 00000000 9C0EE0E4 FF100033 [............3...]
0067510F0 00000006 00000000 9C0EE0E5 FF100033 [............3...]
006751100 00000007 00000000 9C0EE0FA FF100033 [............3...]
006751110 00000008 00000000 9C0EE0FB FF100033 [............3...]
006751120 00000009 00000000 9C0EE0F8 FF100033 [............3...]
006751130 0000000A 00000000 9C0EE0F9 FF100033 [............3...]
006751140 0000000B 00000000 9C0EE0FE FF100033 [............3...]
006751150 0000000C 00000000 9C0EE0FF FF100033 [............3...]
006751160 0000000D 00000000 9C0EE0FC FF100033 [............3...]
006751170 0000000E 00000000 9C0EE0FD FF100033 [............3...]
006751180 0000000F 00000000 9C0EE0F2 FF100033 [............3...]
006751190 00000010 00000000 9C0EE0F3 FF100033 [............3...]
0067511A0 00000011 00000000 9C0EE0F0 FF100033 [............3...]
0067511B0 00000012 00000000 9C0EE0F1 FF100033 [............3...]
0067511C0 00000013 00000000 9C0EE0F6 FF100033 [............3...]
0067511D0 00000014 [....]
Argument/Register addr=0x0000000037220000.
Dump of memory from 0x000000003721FFC0 to 0x0000000037220100
03721FFC0 00000000 00000000 00000000 00000000 [................]
Repeat 3 times
037220000 00BC614E 00000000 372200E0 00000000 [Na........"7....]
037220010 00000001 00000000 00000000 00000000 [................]
037220020 00000000 00000000 00040000 00000000 [................]
037220030 0ABCDEF0 00000000 0000CC50 00000000 [........P.......]
037220040 00BC614E 00000000 FFFFFFFF FFFFFFFF [Na..............]
037220050 00000D9C 00000000 00000008 00000000 [................]
037220060 3030304A 00000000 00BC614E 00000000 [J000....Na......]
037220070 FFFFFFFF FFFFFFFF 00000D9C 00000000 [................]
037220080 00000030 00000000 2F47423C 30782F53 [0.......<BG/S/x0]
037220090 4237782F 3036782F 782F4638 36453833 [x7B/x608F/x38E6]
0372200A0 44334545 3633332F 32342F34 782F3838 [EE3D/3364/4288/x]
0372200B0 43463831 00003E30 00BC614E 00000000 [18FC0>..Na......]
0372200C0 FFFFFFFF FFFFFFFF 00000D9C 00000000 [................]
0372200D0 00000008 00000000 00000031 00000000 [........1.......]
0372200E0 05397FB1 00000000 37228DD8 00000000 [..9......."7....]
0372200F0 FFFFFFFE 00000000 000000B8 00000000 [................]
Argument/Register addr=0x000000004EEBFEF0.
Dump of memory from 0x000000004EEBFEB0 to 0x000000004EEBFFF0
04EEBFEB0 372200D8 00000000 00000000 00000000 [.."7............]
04EEBFEC0 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
04EEBFEF0 00000000 3030304A 00000000 00000000 [....J000........]
04EEBFF00 00000001 00000000 0476BEE0 00000000 [..........v.....]
04EEBFF10 00000000 00000000 00000ECC 00000000 [................]
04EEBFF20 4EEBFE80 00000000 C0000005 00000000 [...N............]
04EEBFF30 2EC2C8B0 00000000 00000000 00000000 [................]
04EEBFF40 00000005 00000000 00000003 00000000 [................]
04EEBFF50 7444D25D 0000C868 00000000 00000000 [].Dth...........]
04EEBFF60 00000000 00000000 00401404 00000000 [..........@.....]
04EEBFF70 00000000 00000000 78D3B71A 00000000 [...........x....]
04EEBFF80 2EC2C8B0 00000000 00000000 00000000 [................]
04EEBFF90 00000000 00000000 4EEBFFA8 00000000 [...........N....]
04EEBFFA0 00000000 00000000 00000000 00000000 [................]
Repeat 4 times
Argument/Register addr=0x000000002EC2C8B0.
Dump of memory from 0x000000002EC2C870 to 0x000000002EC2C9B0
02EC2C870 00000000 00000000 01000100 02100136 [............6...]
02EC2C880 2EB8C080 00000000 066A0000 00000000 [..........j.....]
02EC2C890 0000000C 00000000 00000000 00000000 [................]
02EC2C8A0 46206E6F 3A656C69 AE12F2EA FF080033 [on File:....3...]
02EC2C8B0 00000003 00000000 03A7A414 00000000 [................]
02EC2C8C0 067510C0 00000000 066AB0D0 00000000 [..u.......j.....]
02EC2C8D0 067510D0 00000000 AE12F2ED FF100033 [..u.........3...]
02EC2C8E0 00000008 00000000 00000000 00000000 [................]
02EC2C8F0 00000000 00000000 00000000 00000000 [................]
02EC2C900 00000000 00000000 AE12F2F0 FF100033 [............3...]
02EC2C910 0000000B 00000000 00000000 00000000 [................]
02EC2C920 00000000 00000000 00000000 00000000 [................]
02EC2C930 00000000 00000000 AE12F2F3 FF100033 [............3...]
02EC2C940 0000000E 00000000 00000000 00000000 [................]
02EC2C950 00000000 00000000 00000000 00000000 [................]
02EC2C960 00000000 00000000 AE12F2F6 FF100033 [............3...]
02EC2C970 00000011 00000000 00000000 00000000 [................]
02EC2C980 00000000 00000000 00000000 00000000 [................]
02EC2C990 00000000 00000000 AE12F2F9 FF100033 [............3...]
02EC2C9A0 00000014 00000000 00000000 00000000 [................]
----- End of Call Stack Trace -----
===================================================
PROCESS STATE
Process global information:
process: 0000000000000000, call: 0000000000000000, xact: 0000000000000000, curses: 0000000000000000, usrses: 0000000000000000
No process is allocated.
END OF PROCESS STATE
PINNED BUFFER HISTORY (oldest pin first)
SGA is not mapped - only buffer DBAs will be dumped
END OF PINNED BUFFER HISTORY
No block in buffer pin history is suitable for redo dump.
No cursors.
----- Archival Runtime State -----
SGA unmapped
----- End of Archival Runtime State -----
--------- Recovery context -------
No recovery context found
-----------End of Recovery context-----------
ksedmp: no current context area
----- Dump of the Fixed PGA -----
word ksmpgf_ [057083828, 05708382C) = 00000000
word ksmmpd_ [05708382C, 057083830) = 00000000
skgm_cx ksmskgmctx_ [0570652F0, 057065578) = 00000000 00000000 03A98200 ...
Dump of memory from 0x0570652F8 to 0x057065578
0570652F0 00000000 [....]
057065300 57065890 00000000 000000FF 00000001 [.X.W............]
057065310 F8B23000 000007FC 00001000 00000000 [.0..............]
057065320 00010000 00000000 00010000 00000000 [................]
057065330 FFFEFFFF 000007FF 4EBC1000 00000000 [...........N....]
057065340 00000000 00000000 00000000 00000000 [................]
Repeat 34 times
057065570 ACC01ADE 00000000 [........]
skgmrhandle * ksmrealm_ [0570827A8, 0570827B0) = 00000000 00000000
skgmrhandle * ksmprealm_ [0570827B0, 0570827B8) = 00000000 00000000
ksmextds * ksmplgext_ [0570827B8, 0570827C0) = 00000000 00000000
kgsmp * ksmgpp_ [0570827C0, 0570827C8) = 57065890 00000000
Dump of memory from 0x057065890 to 0x0570658D0
057065890 00000000 00000000 00000000 00000000 [................]
0570658A0 57065590 00000000 00000000 00000000 [.U.W............]
0570658B0 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
ksmpy ksmpgh_ [057065590, 0570657B0) = 00000000 00000000 000020C0 00000000 ...
Dump of memory from 0x0570655A0 to 0x0570657B0
0570655A0 00000000 00000000 37257728 00000000 [........(w%7....]
0570655B0 37257738 00000000 00000000 00000000 [8w%7............]
0570655C0 00000000 00000000 02120200 00000000 [................]
0570655D0 00000000 00000000 000020A8 20616770 [......... ..pga ]
0570655E0 70616568 00000000 00000000 7FFF00B8 [heap............]
0570655F0 7FFF0090 00000000 00000000 00000000

ORA-27300 ORA-27301 ORA-27302 in alert log. Cannot connect to database. [ID 371074.1]
Applies to:
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 10.2.0.3 - Release: 8.1.7 to 10.2
Oracle Server - Personal Edition - Version: 8.1.7.4 to 10.2.0.3 [Release: 8.1.7 to 10.2]
Oracle Server - Standard Edition - Version: 8.1.7.4 to 10.2.0.3 [Release: 8.1.7 to 10.2]
z*OBSOLETE: Microsoft Windows Server 2003
z*OBSOLETE: Microsoft Windows 2000
Microsoft Windows (32-bit)
z*OBSOLETE: Microsoft Windows XP
z*OBSOLETE: Microsoft Windows Server 2003 R2 (32-bit)
z*OBSOLETE: Microsoft Windows Vista (32-bit)
Symptoms
No new connections are allowed to the database.
Database appears to be in a hang state with following errors in the alert log:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlapped I/O operation is in progress.
ORA-27302: failure occurred at: skgpspawn
Changes
The '/3GB' switch was added to the 'boot.ini' file at the OS level, but the errors are eventually encountered when the database is under heavy load.
Cause
OS resource issue.
The maximum amount of addressable memory by a process ('oracle.exe' for example) running in a
32-Bit Windows environment has been reached.
In a 32-Bit Windows environment, the total addressable memory by a single process is a 4GB. On
Windows, the OS reserves half of this memory by default for kernel memory, leaving 2GB of
addressable memory for a user process. By placing the '/3GB' switch in the 'boot.ini' file, this
changes the ratio of kernel memory and user memory. When the '/3GB' switch is in place, processes (such as 'oracle.exe’) can address 3GB of virtual memory out of the total 4GB of addressable memory. However, once the 3GB of virtual memory is depleted, the process will fail.
Solution
To implement the solution, please execute the following steps:
Tune the application running on the 32-bit environment so that it will not consume greater than
2.7GB of virtual memory when the '/3GB' switch is set in the 'boot.ini' file.
In the case of Oracle encountering the OS resource issue, the options are the following:
1) Reduce the amount of SGA needed to be allocated for the database.
2) Limit the number of dedicated connections to the database and the amount of memory each user
process will consume.
3) Change from dedicated connections to multi-threaded server (MTS) connections, as MTS only
uses a fraction of the amount of memory allocated to each user process when initial connection to
the database is established.
See following note for an in depth discussion regarding memory usage in a 32-bit Windows environment:
看看这篇文章,是不是32位的操作系统通过配置/3g 导致该问题

Similar Messages

  • OS system dependent operation : fork failed

    Hi,
    My application server is running with Java and Oracle 10g (10.2.0.4). From last 2-3 days I noticed that in application server log file there are frequent error like ORA-12518: TNS:listener could not hand off client connection but when I checked my oracle server log file then following errors found :
    ORA-27300: OS system dependent operation:fork failed with status: 11
    ORA-27301: OS failure message: Resource temporarily unavailable
    ORA-27302: failure occurred at: skgpspawn5
    ORA-27303: additional information: skgpspawn5
    My application server and database server both running with linux plateform.
    Kindly suggest me how to resolve it.
    Regards

    Create a script with the following code and run as root:
    --- begin ---
    #!/bin/bash
    echo -n "Connections TCP: "
    netstat -an | grep -i tcp | wc -l
    echo -n "Connections UDP: "
    netstat -an | grep -i udp | wc -l
    echo -n "Processes: "
    ps -fu oracle | wc -l
    --- end ---
    The last line above assumes that your OS user is "oracle".
    Also check your "oracle" user limits:
    $ ulimit -a
    You may also try to restart the listener.
    If the problem still happens, insert the following line on your $ORACLE_HOME/netword/admin/listener.ora:
    TRACE_LEVEL_LISTENER = SUPPORT
    A trace file should be created on $ORACLE_HOME/netword/trace/ upon listener restart.

  • ORA-27300 during night hours, restart database needed

    Hi,
    Last year we upgraded a small database system on several systems from Oracle 8.0.6 to Oracle XE.
    We installed XE, dropped the XE database and created a new one with standard scripts. (We didn't need APEX)
    Next we imported the data of the old database and tested the C++ applications on it. Everything worked fine.
    We implemented it on several sites. The target system is usually:
    OS: Windows 2000 SP4
    Mem: 512 or 768 MB
    Swap: 2 Gb
    Now we have different errors on the sites, which all seem to be memory allocation problems.
    The error usually occur outside working hours (no client activity, so the applications can't be blamed).
    Eventually, the application usually gets a ORA-04030 error, unable to allocate xxx bytes of memory...,
    or ORA-07445: exception encountered...
    Is seems like some Oracle processes are stumbling over their own feet, because nothing is done from the client side.
    Here 's what is recorded in the alert.log
    Sun Dec 16 03:00:30 2007
    Process startup failed, error stack:
    Sun Dec 16 03:00:30 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
    ORA-27302: failure occurred at: skgpspawn
    Sun Dec 16 03:00:31 2007
    Process m000 died, see its trace file
    Sun Dec 16 03:00:31 2007
    ksvcreate: Process(m000) creation failed
    Sun Dec 16 03:01:31 2007
    Process startup failed, error stack:
    Sun Dec 16 03:01:31 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
    ORA-27302: failure occurred at: skgpspawn
    -- and this repeats itself during the rest of the weekend, until
    Mon Dec 17 09:11:57 2007
    Process m000 died, see its trace file
    Mon Dec 17 09:11:57 2007
    ksvcreate: Process(m000) creation failed
    Mon Dec 17 09:12:55 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_j000_1516.trc:
    ORA-12012: error on auto execute of job 5430
    ORA-04030: out of process memory when trying to allocate ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba)
    ORA-06512: at "SYS.DBMS_ISCHED", line 492
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2390
    bytes (,)
    The instance parameters are:
    System parameters with non-default values:
    processes = 200
    sga_max_size = 314572800
    __shared_pool_size = 92274688
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 264241152
    control_files = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ1.ORA, D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ2.ORA
    db_block_size = 8192
    __db_cache_size = 159383552
    compatible = 10.0.0.0.0
    log_buffer = 2859008
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 0
    db_files = 200
    db_file_multiblock_read_count= 16
    undo_management = AUTO
    undo_tablespace = UNDOTBS
    undo_retention = 10800
    remote_login_passwordfile= SHARED
    db_domain = DB_KMHZ.WORLD
    global_names = FALSE
    distributed_lock_timeout = 300
    job_queue_processes = 2
    background_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\SYSTEM_TRACE
    user_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\USER_TRACE
    max_dump_file_size = 10240
    open_links = 10
    db_name = DB_KMHZ
    pga_aggregate_target = 104857600
    After I tried several memory setting without success, I returned to the old-fashioned 8.0.6 settings,
    hoping Oracle would allocate less memory from OS.
    - I turned off automatic memory management (delete SGA_target parameter and used db_block_buffers, etc)
    - I set WORKAREA_SIZE_POLICY to MANUAL (speed wasn't an issue, so I deleted PGA_aggregate_target from spinit, and used sort_area_size)
    The system parameters became:
    processes = 200
    shared_pool_size = 75497472
    control_files = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ1.ORA, D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ2.ORA
    db_block_buffers = 550
    db_block_size = 8192
    compatible = 10.0.0.0.0
    log_buffer = 2863104
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 0
    db_files = 200
    db_file_multiblock_read_count= 16
    undo_management = AUTO
    undo_tablespace = UNDOTBS
    undo_retention = 10800
    remote_login_passwordfile= SHARED
    db_domain = DB_KMHZ.WORLD
    global_names = FALSE
    distributed_lock_timeout = 300
    job_queue_processes = 2
    background_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\SYSTEM_TRACE
    user_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\USER_TRACE
    max_dump_file_size = 10240
    open_links = 10
    sort_area_size = 65536
    db_name = DB_KMHZ
    workarea_size_policy = MANUAL
    After this, it appeared that the error still occured from time to time, but this time
    Oracle was able to restart the process. This is what was shown in the alert.log
    Completed: ALTER DATABASE OPEN
    Fri Dec 21 13:00:12 2007
    Thread 1 advanced to log sequence 33
    Current log# 1 seq# 33 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG1.ORA
    Sun Dec 23 10:00:59 2007
    Thread 1 advanced to log sequence 34
    Current log# 2 seq# 34 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG2.ORA
    Tue Dec 25 21:02:39 2007
    Thread 1 advanced to log sequence 35
    Current log# 1 seq# 35 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG1.ORA
    Wed Dec 26 11:00:30 2007
    Process startup failed, error stack:
    Wed Dec 26 11:00:30 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    Wed Dec 26 11:00:31 2007
    Process m000 died, see its trace file
    Wed Dec 26 11:00:31 2007
    ksvcreate: Process(m000) creation failed
    Wed Dec 26 11:01:31 2007
    Process startup failed, error stack:
    Wed Dec 26 11:01:31 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    Wed Dec 26 11:01:32 2007
    Process m000 died, see its trace file
    Wed Dec 26 11:01:32 2007
    ksvcreate: Process(m000) creation failed
    Wed Dec 26 11:02:32 2007
    Process startup failed, error stack:
    Wed Dec 26 11:02:32 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    -- fails about 10 times
    Wed Dec 26 11:08:15 2007
    Process m000 died, see its trace file
    Wed Dec 26 11:08:15 2007
    ksvcreate: Process(m000) creation failed
    -- and here it seems to have succeeded, because the next entry is a "change logfile"
    Thu Dec 27 21:02:41 2007
    Thread 1 advanced to log sequence 36
    Current log# 2 seq# 36 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG2.ORA
    Fri Dec 28 08:00:48 2007
    Process startup failed, error stack:
    Fri Dec 28 08:00:48 2007
    Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    This pattern repeats itself. The database makes one or a few logfile changes, and then the m000 process fails, but is eventually started again.
    Well, the good thing is, that for the end user seems to be solved (so far).
    My questions to y'all:
    - Is this problem related to bug 5607984 "- ORACLE DOES NOT CLOSE TCP CONNECTIONS. REMAINS IN CLOSE_WAIT STATE. [On Windows 32-bit]"?
    If Yes, can I do anything to solve it except waiting for the next version of XE?
    If No, then what else can be the cause?
    - Am I just fighting symptoms here, using the old Oracle 8 parameters?
    - Are there other/better ways to workaround this problem?
    - Are some Oracle jobs, like SYS.AUTO_SPACE_ADVISOR_PROG or SYS.GATHER_STATS_JOB bugging me?
    If yes, is it possible / advisable to stop these jobs?
    - Any other recommendations?
    Any comments are greatly appreciated.
    kndrgrds,
    Jan R

    Ah, yes, I forgot. (It didn't help me much, though)
    -- first occasion: pkhz_psp0_1368.trc:
    Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc
    Sun Dec 16 03:00:30 2007
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Windows 2000 Version V5.0 Service Pack 4
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:238M/759M, Ph+PgF:264M/2218M, VA:81M/2047M
    Instance name: pkhz
    Redo thread mounted by this instance: 1
    Oracle process number: 3
    Windows thread id: 1368, image: ORACLE.EXE (PSP0)
    *** SERVICE NAME:(SYS$BACKGROUND) 2007-12-16 03:00:30.828
    *** SESSION ID:(224.1) 2007-12-16 03:00:30.828
    *** 2007-12-16 03:00:30.828
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
    ORA-27302: failure occurred at: skgpspawn
    *** 2007-12-16 03:01:31.906
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
    ORA-27302: failure occurred at: skgpspawn
    *** 2007-12-16 03:02:33.218
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
    ORA-27302: failure occurred at: skgpspawn
    -- etc. This goes on synchonously with the alert.log
    -- later, at 9:12:
    -- pkhz_j000_1516:
    Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_j000_1516.trc
    Mon Dec 17 09:12:55 2007
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Windows 2000 Version V5.0 Service Pack 4
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:184M/759M, Ph+PgF:241M/2218M, VA:56M/2047M
    Instance name: pkhz
    Redo thread mounted by this instance: 1
    Oracle process number: 18
    Windows thread id: 1516, image: ORACLE.EXE (J000)
    *** ACTION NAME:(PURGE_LOG) 2007-12-17 09:12:55.046
    *** MODULE NAME:(DBMS_SCHEDULER) 2007-12-17 09:12:55.046
    *** SERVICE NAME:(SYS$USERS) 2007-12-17 09:12:55.046
    *** SESSION ID:(200.22) 2007-12-17 09:12:55.046
    *** 2007-12-17 09:12:55.046
    ORA-12012: error on auto execute of job 5430
    ORA-04030: out of process memory when trying to allocate ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba)
    ORA-06512: at "SYS.DBMS_ISCHED", line 492
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2390
    bytes (,)
    -- second occasion, pkhz_psp0_1528.trc
    Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc
    Wed Dec 26 11:00:30 2007
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Windows 2000 Version V5.0 Service Pack 4
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:151M/759M, Ph+PgF:590M/2671M, VA:5M/2047M
    Instance name: pkhz
    Redo thread mounted by this instance: 1
    Oracle process number: 3
    Windows thread id: 1528, image: ORACLE.EXE (PSP0)
    *** SERVICE NAME:(SYS$BACKGROUND) 2007-12-26 11:00:30.250
    *** SESSION ID:(224.1) 2007-12-26 11:00:30.250
    *** 2007-12-26 11:00:30.250
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    *** 2007-12-26 11:01:31.156
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    *** 2007-12-26 11:02:32.156
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    *** 2007-12-26 11:03:35.156
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27302: failure occurred at: skgpspawn
    this repeats a few times until the end of the file.
    JanR

  • Ora Errors in Alert Log:ORA-27508, ORA-27507, ORA-27300, ORA-27301

    Hi All,
    I have a Solaris 5.9 machine with Oracle 9.2.0 installed on it. But the connectivity to the database is lost intermittently.
    I am getting the below mentioned message in the Alert Log:
    ORA-27508: IPC error sending a message
    ORA-27507: IPC error disconnecting from a port
    ORA-27300: OS system dependent operation:DIS: NCON: connect failed: cnh 0 failed with status: 134
    ORA-27301: OS failure message: Transport endpoint is not connected
    ORA-27302: failure occurred at: skgxpdis
    ORA-27303: additional information: DIS: NCON: connect failed: cnh 0x1039208e8, rqh 0x10391bfb8
    After searching a lot on various forums, I could not get any resolution to the above errors.
    Could someone please help me out with this issue.
    Thanks a lot in advance.

    This was already clear from the initial error.
    Your interconnect is functioning badly.
    You need to address the errors 27300 and 27301.
    Sybrand Bakker
    Senior Oracle DBA

  • Multiple ORA-27300, ORA-27301 and ORA-27302 in alert log

    Hello all,
    Looking for some guidance with a 10.2.0.1 database on Windows 2003 Enterprise Edition server. I have an SR open with Oracle, but getting the usual run-around and no conclusive explanations.
    A couple of weeks ago, the database started throwing the following in the alert log:
    Errors in file d:\oracle\admin\hdprd\bdump\hdprd_cjq0_404.trc:
    ORA-27300: OS system dependent operation:WaitForSingleObject failed with status: 0
    ORA-27301: OS failure message: The operation completed successfully.
    ORA-27302: failure occurred at: sssxcpttcs5
    Checking the trace file shows:
    *** 2011-03-22 17:37:21.391
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-03-22 17:36:53.890
    *** SESSION ID:(327.1) 2011-03-22 17:36:53.890
    Waited for process J000 to initialize for 60 seconds
    *** 2011-03-22 17:37:21.391
    Dumping diagnostic information for J000:
    OS tid = 3620
    Memory (Avail/Total): Ph:6548M/8190M, Ph+PgF:10684M/12074M, VA:994M/2047M
    CPU Load: 5%
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E41A89 77E64849 00000000 00000000 00000000 00000000
    _slxefo+154                                                      00000000                                                         00000000 00000000 00000000 00000000
    slxcfot+805                                                     slxefo+0 00000000 00000000 00000000 00000000
    lxlfopn+128                                                     slxcfot+0 412dd744 412dd98c 60b2c20c 60b2c208
    lxldlod+56                                                      lxlfopn+0 60b382dc 412dd98c 00000000 00000000
    _lxdlobj+79                                                      00000000                                                         60b382dc 412dd98c 0a4957f0 00000001
    lxdgetobj+187                                                   lxdlobj+0 00000001 00000000 0a49df34 00000000
    lxplset+49                                                      lxdgetobj+0 00000000 00000000 00000000 00000000
    lxhLaToId+146                                                   lxplset+0 00000001 0a49dd14 0a49df34 00000000
    lxhenvquery+197                                                 lxhLaToId+0 00000000 00000000 00000000 00000000
    lxhLangEnv+352                                                  lxhenvquery+0 00000000 00000000 00000000 00000000
    62747F74 62765084 0a49dd14 00000000 0a49df34 0a49df34
    60987803 60A35104 00000000 00000000 00000000 00000000
    60986EEE 60986EFC 3b512c78 412df6b4 412dfd84 00000100
    6098798C 60986ED8 3b512c78 412df6b4 412dfd84 00000100
    npinli+78                                                       nlstdgo+0 00000000 00000000 00000000 00000000
    opiinit+142                                                     npinli+0 00000001 00000000 00000000 00000000
    opimaireal+194 _opiinit+0                                                       00000000 00000000 00000000 00000000
    opimai+92                                                       opimai_real+0 00000003 412dfeec 00000000 00000000
    BackgroundThreadStart@4+422                                     opimai+0 00000000 00000000 00000000 00000000
    77E6482C 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 157 ms
    total time: 157 ms
    The database remains functional while this is happening, but we are no longer able to establish new sessions to the database. The only remedy so far, as is the case with most Windows issues, is to reboot the server. The support analyst has recommended that we add the "/3gb" switch to the boot.ini as he feels we are hitting the 2GB limitation for a single process. My concern is that in looking at the trace file, it would appear that there's only around 1.6GB of memory consumed in total on the server (8190M - 6548M = 1642M), so there should be no single process that's coming even close to the 2GB limitation. I've been watching the oracle.exe process for the last week, and it always hovers around 700M. The total SGA size is about 600M.
    Interestingly enough, we're in the process of downgrading the database from Enterprise Edition to Standard edition and on the development server, we've currently got the old 10.2.0.1 EE database and the new 10.2.0.5 SE database running concurrently. The EE version has encountered the same issue described above, while the SE version has not.
    My other problem is that I work in the pharmaceutical industry and this is a heavily regulated database and I cannot make arbitrary changes to databases/servers without evidence to support the change.
    Any Oracle/Windows experts out there that can shed some light on this problem?
    Thanks

    Thanks to both of you for the speedy response. I have already seen that article, as well as 790397.1 - PROCESS J000 And M000 Die [ID 790397.1]. I'm just a little confused as to why Oracle is saying it's an out of memory condition when there's nothing in the log or trace files (other than the condition matches a couple of articles they have) that support the conclusion. Don't get me wrong, I'm certainly not an Oracle on Windows expert, most of my stuff revolves around Linux/UNIX and I avoid anything windows like the plague, other than starting a putty session.
    My understanding is that each process in a windows 32bit environment gets a 4GB Virtual Address Space, which is split into a lower 2GB application space and an upper 2GB kernel space. If the trace file is showing that only 1.6GB of physical memory has been consumed, wouldn't this indicate that there isn't a single process on the server that is even close to reaching it's 2GB limitation?

  • ORA-27300-1-2 Database on Windows 2003 was hung

    Hi all,
    Our 11g database running on windows 2003 was hung. We bounced the database and reduced SGA_MAX_SIZE/SGA_TARGET =900M from 1200M. Problem was resolve.
    SGA_MAX_SIZE/SGA_TARGET =1200M
    PGA_AGGREGATE_TARGET=540M
    Can anyone explain meaning of below line in trace file..
    Memory (Avail/Total): Ph:1659M/4095M, Ph+PgF:13745M/16166M, VA:43M/2047M
    1. Was there only 1659M available on Server for Oracle.exe?
    2. Or Oracle.exe was looking for 1659M and could not get that?
    3. What is the possiblity adding a /3g switch would have helped (if there was just 1659M free on server for Oracle , how /3g will help)
    Errors In Alert log
    ORA-27300: OS system dependent operation:CreateThread failed with status: 8
    ORA-27301: OS failure message: Not enough storage is available to process this command.
    ORA-27302: failure occurred at: sssxcpttcs4
    In Trace file
    ORA-27300: OS system dependent operation:CreateThread failed with status: 8
    ORA-27301: OS failure message: Not enough storage is available to process this command.
    ORA-27302: failure occurred at: sssxcpttcs4
    OS tid = 10208
    Memory (Avail/Total): Ph:1659M/4095M, Ph+PgF:13745M/16166M, VA:43M/2047M
    CPU Load: 0%
    Thanks,
    Anuj
    Edited by: ***Anuj*** on Jul 12, 2011 2:22 PM

    ***Anuj*** wrote:
    Hi all,
    Our 11g database running on windows 2003 was hung. We bounced the database and reduced SGA_MAX_SIZE/SGA_TARGET =900M from 1200M. Problem was resolve.
    SGA_MAX_SIZE/SGA_TARGET =1200M
    PGA_AGGREGATE_TARGET=540M
    Can anyone explain meaning of below line in trace file..
    Memory (Avail/Total): Ph:1659M/4095M, Ph+PgF:13745M/16166M, VA:43M/2047M
    1. Was there only 1659M available on Server for Oracle.exe?
    2. Or Oracle.exe was looking for 1659M and could not get that?
    3. What is the possiblity adding a /3g switch would have helped (if there was just 1659M free on server for Oracle , how /3g will help)
    Errors In Alert log
    ORA-27300: OS system dependent operation:CreateThread failed with status: 8
    ORA-27301: OS failure message: Not enough storage is available to process this command.
    ORA-27302: failure occurred at: sssxcpttcs4
    In Trace file
    ORA-27300: OS system dependent operation:CreateThread failed with status: 8
    ORA-27301: OS failure message: Not enough storage is available to process this command.
    ORA-27302: failure occurred at: sssxcpttcs4
    OS tid = 10208
    Memory (Avail/Total): Ph:1659M/4095M, Ph+PgF:13745M/16166M, VA:43M/2047M
    CPU Load: 0%
    Thanks,
    Anuj
    Edited by: ***Anuj*** on Jul 12, 2011 2:22 PMin the past the default maximum SGA size for 32-bit Oracle was 1.7G

  • ORA-27300 27301 ORA-27302

    Hi ,
    Running Oracle DB(10.2.0) Server on Solaris 10. the server refused connections for 5 minutes yesterday and I checked logs through EM webpage :
    Found following : Alert.log
    Feb 5, 2009 9:39:15 PM     
    ORA-27300: OS system dependent operation:fork failed with status: 12
    ORA-27301: OS failure message: Not enough space
    ORA-27302: failure occurred at: skgpspawn3
    Trace File:          /u01/app/oracle/admin/devee/bdump/devee_psp0_28194.trc
    Feb 5, 2009 8:14:41 PM     
    ORA-27300: OS system dependent operation:fork failed with status: 12
    ORA-27301: OS failure message: Not enough space
    ORA-27302: failure occurred at: skgpspawn3
    Trace File:          /u01/app/oracle/admin/devee/bdump/devee_psp0_28194.trc
    , I connected solaris 10 using ssh and checked processes, one of the user process was taking around 8G memory.
    also one of oracle process is defunct :
    ps -auxwww | grep 7714 --
    oracle 7714 0.0 0.0 0 0 Z 0:00 <defunct>
    ptree--
    28192 ora_pmon_devee
    28194 ora_psp0_devee
    7714 <defunct>
    28196 ora_mman_devee
    I killed the user process and then it freed up the memory but oracle process is defunct , I don't know if it is related to this issue at all.
    cat /u01/app/oracle/admin/devee/bdump/devee_psp0_28194.trc
    /u01/app/oracle/admin/devee/bdump/devee_psp0_28194.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/Db_1
    System name: SunOS
    Node name: abc.abc.com
    Release: 5.10
    Version: Generic_118833-24
    Machine: sun4u
    Instance name: devee
    Redo thread mounted by this instance: 1
    Oracle process number: 3
    Unix process pid: 28194, image: [email protected] (PSP0)
    *** SERVICE NAME:(SYS$BACKGROUND) 2009-02-05 20:14:41.719
    *** SESSION ID:(169.1) 2009-02-05 20:14:41.719
    *** 2009-02-05 20:14:41.719
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:fork failed with status: 12
    ORA-27301: OS failure message: Not enough space
    ORA-27302: failure occurred at: skgpspawn3
    *** 2009-02-05 20:15:07.770
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:fork failed with status: 11
    ORA-27301: OS failure message: Resource temporarily unavailable
    ORA-27302: failure occurred at: skgpspawn5
    *** 2009-02-05 21:39:15.391
    Process startup failed, error stack:
    ORA-27300: OS system dependent operation:fork failed with status: 12
    ORA-27301: OS failure message: Not enough space
    ORA-27302: failure occurred at: skgpspawn3
    but I would like to avoid future occurances, I don't think we here have oracle support, so writing in forums,
    Can anyone please help regarding this issue and defunct oracle process?
    Thanks

    Well, You should get one.
    But this error is related to too low opsystem parameters. Check system logs (/var/adm), dmesg and others to see is there any at time of crash with some more detailed information.
    Check You swap space, if some process ocuppied 8GB, then it can happen that You run out of swap.
    and I would suggest to bounce database, kill all defunct processes and start database again.

  • ORA-27300: on oracle version 10.2.0.3

    Hi All,
    I am getting this error ORA-27300: OS system dependent operation:CreateThread failed with status: 8
    ORA-27301: OS failure message: Not enough storage is available to process this command.
    ORA-27302: failure occurred at: ssthrddcr in my alert file and my application server sessions are getting disconnected intermittantly.
    We are currently on Oracle 10.2.0.3 version with 6 GB ram and 100 GB Hard disk windows 2003 Enterprise edition 32 bit . Following are my initora parameters
    pilotdb.__db_cache_size=1124073472
    pilotdb.__java_pool_size=25165824
    pilotdb.__large_pool_size=8388608
    pilotdb.__shared_pool_size=553648128
    pilotdb.__streams_pool_size=0
    *._b_tree_bitmap_plans=FALSE
    *.audit_file_dest='E:\oracle\product\10.2.0\admin\pilotdb\adump'
    *.background_dump_dest='E:\oracle\product\10.2.0\admin\pilotdb\bdump'
    *.compatible='10.2.0.3.0'
    *.control_files='C:\PILOTDB\PILOTDB\CONTROLFILE\O1_MF_4SQCY3QF_.CTL','E:\ORADATA\PILOTDB\CONTROLFILE\O1_MF_4SQCY3SD_.CTL'
    *.core_dump_dest='E:\oracle\product\10.2.0\admin\pilotdb\cdump'
    *.db_block_size=8192
    *.db_cache_size=528482304
    *.db_create_file_dest='E:\oradata'
    *.db_create_online_log_dest_1='C:\pilotdb'
    *.db_create_online_log_dest_2='E:\oradata'
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='pilotdb'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=pilotdbXDB)'
    *.job_queue_processes=10
    *.log_archive_dest_1='LOCATION=E:\arch_pilotdb'
    *.log_archive_format='ARC%S_%R.%T'
    *.log_buffer=104857600
    *.nls_length_semantics='CHAR'
    *.open_cursors=2000
    *.optimizer_index_caching=75
    *.optimizer_index_cost_adj=35
    *.pga_aggregate_target=943718400
    *.processes=2500
    *.remote_login_passwordfile='EXCLUSIVE'
    *.session_cached_cursors=50
    *.sessions=1500
    *.sga_max_size=1740M
    *.sga_target=1740M
    *.shared_pool_reserved_size=36700160
    *.shared_pool_size=369098752
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='E:\oracle\product\10.2.0\admin\pilotdb\udump'

    Madhav,
    If you have access to metalink see following Doc ID: 579365.1 for explanation and possible resolution.
    Regards

  • Operating system dependent functionality or features

    This may seem like a brain-dead question, and maybe it is, but I ask it in all seriousness. I did spend a little time searching for the following, but I figured folks in the forums here could possibly point me in the right direction.
    For the sake of discussion, let's consider Oracle 11g R2. Is there any functionality or feature in Oracle DBMS that is operating system dependent or possibly version dependent for a specific operating system. For example, are there certain stored procedures, SQL commands, etc... that are available when running Oracle on certain operating systems but not on others or when running Oracle on different versions of the same operating system (W2k3 versus W2k8)?
    I already have an opinion, which I believe is an informed opinion, but I am seeking authoritative documentation that speaks to this question. Although I could infer an answer in the absence of documentation, I am aiming for something definitive. I greatly appreciate any information people can offer that will point me in the right direction.

    The only thing I have seen that is OS dependent at this time is the DBFS_CLIENT used for external access to Oracle Database Files System which is only available on Linux and Solaris for the time being.
    Doc link below.
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10645/adlob_client.htm

  • ERROR installing: WARNING:Payload cannot be installed due to dependent operation failure

    I have Illustrator CS5, yesterday it was acting funny. I unistalled and an reloaded it. It will not install now? it is giving me the following message:WARNING: Payload cannot be installed due to dependent operation failure.
    Please advise

    nobody can tell you anything without proper system info and other technical details.
    Mylenium

  • INSERTING VIDEO : ORA-22288: file or LOB operation FILEOPEN failed

    Hi
    I'm trying to insert BFILE videos wih a procedure:
    CREATE OR REPLACE PROCEDURE "SYSTEM"."NEWVIDEO" (vid in number,
    descr in varchar2, name in varchar2)
    as
    videoOBJ ordsys.ordvideo;
    ctx RAW(4000) := null;
    begin
    select V.video into videoOBJ
    from video V
    where V.identifier = vid
    for update;
    videoOBJ.setDescription(descr);
    videoOBJ.setSource('file', 'VIDEO_DIR', name);
    videoOBJ.setProperties(ctx, true);
    update video V
    set V.video = videoOBJ
    where V.identifier = vid;
    commit;
    end;
    when execting in SQLplus
    SQL>create or replace directory VIDEO_DIR as '/bpmod61/VIDEOS';
    SQL>begin newvideo(26,'system video','BPR.AVI');end;
    I got this message:
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "ORDSYS.ORDVIDEO", line 1260
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYSTEM.NEWVIDEO", line 12
    ORA-06512: at line 1
    I checked permission privilege for directory and file access: everything grant to everyone.

    Thank you for the reply Larry
    I tested my database using tutorial script viddemo.sql
    and i get the same message
    directory created and read granted on it to public
    OWNER DIRECTORY_NAME
    DIRECTORY_PATH
    SYS VIDDIR
    c:\video
    When i try
    SQL> DECLARE
    2 obj ORDSYS.ORDVideo;
    3 ctx RAW(4000) := NULL;
    4 BEGIN
    5 SELECT video into obj from T_VIDEO where id = 1 FOR UPDATE;
    6 -- set description
    7 obj.setDescription('Video from a BFILE');
    8 -- set mimetype
    9 obj.setMimeType('video/x-quicktime');
    10 -- set source
    11 obj.setSource('FILE', 'VIDDIR','Sample.mov');
    12 -- import data
    13 obj.import(ctx);
    14 -- set video attributes
    15 obj.setKnownAttributes('MOOV', 400, 300, 1024, 10, 3600,
    16 36000, 'NONE', 256, 28000);
    17 UPDATE T_VIDEO SET VIDEO=obj WHERE id=1;
    18 END;
    19 /
    DECLARE
    ERROR AT LINE 1 :
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "ORDSYS.ORDSOURCE", line 181
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "ORDSYS.ORDVIDEO", line 517
    ORA-06512: at line 13
    Thank you for the help

  • ORA-22288: file or LOB operation GETLENGTH failed

    I am using the following procedure for email the with attachment. it give the error, while I have check the directory rights is OK, also check the following thread
    Error Message is ORA-22288: file or LOB operation GETLENGTH failed
    but no result,
    I do this on clone working fine, but production not working fine while I found one thing that the file generate in temp folder of clone while in Production did not generate.
    CREATE OR REPLACE PROCEDURE APPS.mail_files (p_from_name VARCHAR2,
    p_to_name VARCHAR2,
    p_subject VARCHAR2,
    p_message VARCHAR2,
    p_oracle_directory VARCHAR2,
    p_binary_file VARCHAR2)
    IS
    -- Example procedure to send a mail with an in line attachment
    -- encoded in Base64
    -- this procedure uses the following nested functions:
    -- binary_attachment - calls:
    -- begin_attachment - calls:
    -- write_boundary
    -- write_mime_header
    -- end attachment - calls;
    -- write_boundary
    -- change the following line to refer to your mail server
    v_smtp_server VARCHAR2(1000) := 'mail.company.com';
    v_smtp_server_port NUMBER := 25;
    v_directory_name VARCHAR2(1000) ;
    v_file_name VARCHAR2(1000);
    v_mesg VARCHAR2(32767);
    v_conn UTL_SMTP.CONNECTION;
    PROCEDURE write_mime_header(p_conn in out nocopy utl_smtp.connection,
    p_name in varchar2,
    p_value in varchar2)
    IS
    BEGIN
    UTL_SMTP.WRITE_RAW_DATA(
    p_conn,
    UTL_RAW.CAST_TO_RAW( p_name || ': ' || p_value || UTL_TCP.CRLF)
    END write_mime_header;
    PROCEDURE write_boundary(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_last IN BOOLEAN DEFAULT false)
    IS
    BEGIN
    IF (p_last) THEN
    UTL_SMTP.WRITE_DATA(p_conn, '--DMW.Boundary.605592468--'||UTL_TCP.CRLF);
    ELSE
    UTL_SMTP.WRITE_DATA(p_conn, '--DMW.Boundary.605592468'||UTL_TCP.CRLF);
    END IF;
    END write_boundary;
    PROCEDURE end_attachment(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_last IN BOOLEAN DEFAULT TRUE)
    IS
    BEGIN
    UTL_SMTP.WRITE_DATA(p_conn, UTL_TCP.CRLF);
    IF (p_last) THEN
    write_boundary(p_conn, p_last);
    END IF;
    END end_attachment;
    PROCEDURE begin_attachment(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_mime_type IN VARCHAR2 DEFAULT 'text/plain',
    p_inline IN BOOLEAN DEFAULT false,
    p_filename IN VARCHAR2 DEFAULT null,
    p_transfer_enc in VARCHAR2 DEFAULT null)
    IS
    BEGIN
    write_boundary(p_conn);
    IF (p_transfer_enc IS NOT NULL) THEN
    write_mime_header(p_conn, 'Content-Transfer-Encoding',p_transfer_enc);
    END IF;
    write_mime_header(p_conn, 'Content-Type', p_mime_type);
    IF (p_filename IS NOT NULL) THEN
    IF (p_inline) THEN
    write_mime_header(
    p_conn,
    'Content-Disposition', 'inline; filename="' || p_filename || '"'
    ELSE
    write_mime_header(
    p_conn,
    'Content-Disposition', 'attachment; filename="' || p_filename || '"'
    END IF;
    END IF;
    UTL_SMTP.WRITE_DATA(p_conn, UTL_TCP.CRLF);
    END begin_attachment;
    PROCEDURE binary_attachment(p_conn IN OUT UTL_SMTP.CONNECTION,
    p_file_name IN VARCHAR2,
    p_mime_type in VARCHAR2)
    IS
    c_max_line_width CONSTANT PLS_INTEGER DEFAULT 54;
    v_amt BINARY_INTEGER := 672 * 3; /* ensures proper format; 2016 */
    v_bfile BFILE;
    v_file_length PLS_INTEGER;
    v_buf RAW(2100);
    v_modulo PLS_INTEGER;
    v_pieces PLS_INTEGER;
    v_file_pos pls_integer := 1;
    BEGIN
    begin_attachment(
    p_conn => p_conn,
    p_mime_type => p_mime_type,
    p_inline => TRUE,
    p_filename => p_file_name,
    p_transfer_enc => 'base64');
    BEGIN
    v_bfile := BFILENAME(p_oracle_directory, p_file_name);
    -- Get the size of the file to be attached
    v_file_length := DBMS_LOB.GETLENGTH(v_bfile);
    -- Calculate the number of pieces the file will be split up into
    v_pieces := TRUNC(v_file_length / v_amt);
    -- Calculate the remainder after dividing the file into v_amt chunks
    v_modulo := MOD(v_file_length, v_amt);
    IF (v_modulo <> 0) THEN
    -- Since the file does not devide equally
    -- we need to go round the loop an extra time to write the last
    -- few bytes - so add one to the loop counter.
    v_pieces := v_pieces + 1;
    END IF;
    DBMS_LOB.FILEOPEN(v_bfile, DBMS_LOB.FILE_READONLY);
    FOR i IN 1 .. v_pieces LOOP
    -- we can read at the beginning of the loop as we have already calculated
    -- how many iterations we will take and so do not need to check
    -- end of file inside the loop.
    v_buf := NULL;
    DBMS_LOB.READ(v_bfile, v_amt, v_file_pos, v_buf);
    v_file_pos := I * v_amt + 1;
    UTL_SMTP.WRITE_RAW_DATA(p_conn, UTL_ENCODE.BASE64_ENCODE(v_buf));
    END LOOP;
    END;
    DBMS_LOB.FILECLOSE(v_bfile);
    end_attachment(p_conn => p_conn);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    end_attachment(p_conn => p_conn);
    DBMS_LOB.FILECLOSE(v_bfile);
    END binary_attachment;
    -- Main Routine
    BEGIN
    -- Connect and set up header information:
    v_conn:= UTL_SMTP.OPEN_CONNECTION( v_smtp_server, v_smtp_server_port );
    UTL_SMTP.HELO( v_conn, v_smtp_server );
    UTL_SMTP.MAIL( v_conn, p_from_name );
    UTL_SMTP.RCPT( v_conn, p_to_name );
    UTL_SMTP.OPEN_DATA ( v_conn );
    UTL_SMTP.WRITE_DATA(v_conn, 'Subject: '||p_subject||UTL_TCP.CRLF);
    v_mesg:= 'Content-Transfer-Encoding: 7bit' || UTL_TCP.CRLF ||
    'Content-Type: multipart/mixed;boundary="DMW.Boundary.605592468"' || UTL_TCP.CRLF ||
    'Mime-Version: 1.0' || UTL_TCP.CRLF ||
    '--DMW.Boundary.605592468' || UTL_TCP.CRLF ||
    'Content-Transfer-Encoding: binary'||UTL_TCP.CRLF||
    'Content-Type: text/plain' ||UTL_TCP.CRLF ||
    UTL_TCP.CRLF || p_message || UTL_TCP.CRLF ;
    UTL_SMTP.write_data(v_conn, 'To: ' || p_to_name || UTL_TCP.crlf);
    UTL_SMTP.WRITE_RAW_DATA ( v_conn, UTL_RAW.CAST_TO_RAW(v_mesg) );
    -- Add the Attachment
    binary_attachment(
    p_conn => v_conn,
    p_file_name => p_binary_file,
    -- Modify the mime type at the beginning of this line depending
    -- on the type of file being loaded.
    p_mime_type => 'text/plain; name="'||p_binary_file||'"'
    -- Send the email
    UTL_SMTP.CLOSE_DATA( v_conn );
    UTL_SMTP.QUIT( v_conn );
    END;
    Error
    ORA-22288: file or LOB operation GETLENGTH failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 678
    ORA-06512: at "APPS.MAIL_FILES", line 122
    ORA-06512: at "APPS.MAIL_FILES", line 179
    ORA-06512: at line 2

    CREATE OR REPLACE PROCEDURE APPS.mail_files (p_from_name VARCHAR2,
    p_to_name VARCHAR2,
    p_subject VARCHAR2,
    p_message VARCHAR2,
    p_oracle_directory VARCHAR2,
    p_binary_file VARCHAR2)
    IS
    -- Example procedure to send a mail with an in line attachment
    -- encoded in Base64
    -- this procedure uses the following nested functions:
    -- binary_attachment - calls:
    -- begin_attachment - calls:
    -- write_boundary
    -- write_mime_header
    -- end attachment - calls;
    -- write_boundary
    -- change the following line to refer to your mail server
    v_smtp_server VARCHAR2(1000) := 'mail.company.com';
    v_smtp_server_port NUMBER := 25;
    v_directory_name VARCHAR2(1000);
    v_file_name VARCHAR2(1000);
    v_mesg VARCHAR2(32767);
    v_conn UTL_SMTP.CONNECTION;
    PROCEDURE write_mime_header(p_conn in out nocopy utl_smtp.connection,
    p_name in varchar2,
    p_value in varchar2)
    IS
    BEGIN
    UTL_SMTP.WRITE_RAW_DATA(
    p_conn,
    UTL_RAW.CAST_TO_RAW( p_name || ': ' || p_value || UTL_TCP.CRLF)
    END write_mime_header;
    PROCEDURE write_boundary(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_last IN BOOLEAN DEFAULT false)
    IS
    BEGIN
    IF (p_last) THEN
    UTL_SMTP.WRITE_DATA(p_conn, '--DMW.Boundary.605592468--'||UTL_TCP.CRLF);
    ELSE
    UTL_SMTP.WRITE_DATA(p_conn, '--DMW.Boundary.605592468'||UTL_TCP.CRLF);
    END IF;
    END write_boundary;
    PROCEDURE end_attachment(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_last IN BOOLEAN DEFAULT TRUE)
    IS
    BEGIN
    UTL_SMTP.WRITE_DATA(p_conn, UTL_TCP.CRLF);
    IF (p_last) THEN
    write_boundary(p_conn, p_last);
    END IF;
    END end_attachment;
    PROCEDURE begin_attachment(p_conn IN OUT NOCOPY UTL_SMTP.CONNECTION,
    p_mime_type IN VARCHAR2 DEFAULT 'text/plain',
    p_inline IN BOOLEAN DEFAULT false,
    p_filename IN VARCHAR2 DEFAULT null,
    p_transfer_enc in VARCHAR2 DEFAULT null)
    IS
    BEGIN
    write_boundary(p_conn);
    IF (p_transfer_enc IS NOT NULL) THEN
    write_mime_header(p_conn, 'Content-Transfer-Encoding',p_transfer_enc);
    END IF;
    write_mime_header(p_conn, 'Content-Type', p_mime_type);
    IF (p_filename IS NOT NULL) THEN
    IF (p_inline) THEN
    write_mime_header(
    p_conn,
    'Content-Disposition', 'inline; filename="' || p_filename || '"'
    ELSE
    write_mime_header(
    p_conn,
    'Content-Disposition', 'attachment; filename="' || p_filename || '"'
    END IF;
    END IF;
    UTL_SMTP.WRITE_DATA(p_conn, UTL_TCP.CRLF);
    END begin_attachment;
    PROCEDURE binary_attachment(p_conn IN OUT UTL_SMTP.CONNECTION,
    p_file_name IN VARCHAR2,
    p_mime_type in VARCHAR2)
    IS
    c_max_line_width CONSTANT PLS_INTEGER DEFAULT 54;
    v_amt BINARY_INTEGER := 672 * 3; /* ensures proper format; 2016 */
    v_bfile BFILE;
    v_file_length PLS_INTEGER;
    v_buf RAW(2100);
    v_modulo PLS_INTEGER;
    v_pieces PLS_INTEGER;
    v_file_pos pls_integer := 1;
    BEGIN
    begin_attachment(
    p_conn => p_conn,
    p_mime_type => p_mime_type,
    p_inline => TRUE,
    p_filename => p_file_name,
    p_transfer_enc => 'base64');
    BEGIN
    v_bfile := BFILENAME(p_oracle_directory, p_file_name);
    -- Get the size of the file to be attached
    v_file_length := DBMS_LOB.GETLENGTH(v_bfile);
    -- Calculate the number of pieces the file will be split up into
    v_pieces := TRUNC(v_file_length / v_amt);
    -- Calculate the remainder after dividing the file into v_amt chunks
    v_modulo := MOD(v_file_length, v_amt);
    IF (v_modulo <> 0) THEN
    -- Since the file does not devide equally
    -- we need to go round the loop an extra time to write the last
    -- few bytes - so add one to the loop counter.
    v_pieces := v_pieces + 1;
    END IF;
    DBMS_LOB.FILEOPEN(v_bfile, DBMS_LOB.FILE_READONLY);
    FOR i IN 1 .. v_pieces LOOP
    -- we can read at the beginning of the loop as we have already calculated
    -- how many iterations we will take and so do not need to check
    -- end of file inside the loop.
    v_buf := NULL;
    DBMS_LOB.READ(v_bfile, v_amt, v_file_pos, v_buf);
    v_file_pos := I * v_amt + 1;
    UTL_SMTP.WRITE_RAW_DATA(p_conn, UTL_ENCODE.BASE64_ENCODE(v_buf));
    END LOOP;
    END;
    DBMS_LOB.FILECLOSE(v_bfile);
    end_attachment(p_conn => p_conn);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    end_attachment(p_conn => p_conn);
    DBMS_LOB.FILECLOSE(v_bfile);
    END binary_attachment;
    -- Main Routine
    BEGIN
    -- Connect and set up header information:
    v_conn:= UTL_SMTP.OPEN_CONNECTION( v_smtp_server, v_smtp_server_port );
    UTL_SMTP.HELO( v_conn, v_smtp_server );
    UTL_SMTP.MAIL( v_conn, p_from_name );
    UTL_SMTP.RCPT( v_conn, p_to_name );
    UTL_SMTP.OPEN_DATA ( v_conn );
    UTL_SMTP.WRITE_DATA(v_conn, 'Subject: '||p_subject||UTL_TCP.CRLF);
    v_mesg:= 'Content-Transfer-Encoding: 7bit' || UTL_TCP.CRLF ||
    'Content-Type: multipart/mixed;boundary="DMW.Boundary.605592468"' || UTL_TCP.CRLF ||
    'Mime-Version: 1.0' || UTL_TCP.CRLF ||
    '--DMW.Boundary.605592468' || UTL_TCP.CRLF ||
    'Content-Transfer-Encoding: binary'||UTL_TCP.CRLF||
    'Content-Type: text/plain' ||UTL_TCP.CRLF ||
    UTL_TCP.CRLF || p_message || UTL_TCP.CRLF ;
    UTL_SMTP.write_data(v_conn, 'To: ' || p_to_name || UTL_TCP.crlf);
    UTL_SMTP.WRITE_RAW_DATA ( v_conn, UTL_RAW.CAST_TO_RAW(v_mesg) );
    -- Add the Attachment
    binary_attachment(
    p_conn => v_conn,
    p_file_name => p_binary_file,
    -- Modify the mime type at the beginning of this line depending
    -- on the type of file being loaded.
    p_mime_type => 'text/plain; name="'||p_binary_file||'"'
    -- Send the email
    UTL_SMTP.CLOSE_DATA( v_conn );
    UTL_SMTP.QUIT( v_conn );
    END;
    Edited by: user12879396 on Oct 22, 2012 10:39 AM

  • ORA-27300 error while initializing a new 8i database

    Sorry if this 8i EE related question doesn't belong in this thread, I didn't find an 8i EE discussion forum.
    I am trying to create a new database on 8i EE, Solaris 7 on E250 with 512MB of physical memory. After creating a param file, when I try to initialize it in NOMOUNT mode I get ORA-27146, ORA-27300, ORA-27301 and ORA-27302 errors. ORA-27302 points at 'sskgpcreates' as additional info.
    Any help in resolving this error will be greatly appreciated.
    Thanks,
    Arun

    The ORA-27146: post/wait initialization failed means that you have run out of OS semaphores.
    You can either decrease the PROCESSES parameter in the init<SID>.ora file or
    increase the number of OS semaphores (SEMMNS).
    null

  • Error while executing web part: System.StackOverflowException: Operation caused a stack overflow

    Hello All,
    I have a list with about 70 or so columns. When I try to access a NewForm for this list, I get an 'Unable to display this web part' error.
    Looking at the Correlation always says it is a:
    "Error while executing web part: System.StackOverflowException: Operation caused a stack overflow."
    I have read many pages on the internet that it is due to an XsltTransformTimeOut value set to 1. I have applied the Feb 2012 CU and tried changing the value to 5, 10, 150, 250 and each time I reset IIS before I tried loading the form again. Each one has
    failed and the correlation says the same thing (stack overflow).
    I do not know what to do next because every page on the net says it is from that timeout value but I have followed the steps properly to change it but nothing has worked.
    Thank you for your help!

    You may be exceeding the number of columns threshold with 70 or so columns in your list.
    Take a look at the Column limits here:
    http://technet.microsoft.com/en-us/library/cc262787.aspx#Column
    Okay, so please help me to understand this. It says the maximum value for single line of text is 276 and the size per column is 28 bytes. How would I know if I have pushed the limit? I just multiplied 28 x the number of single line of text columns in that
    list and the answer is 840. I do have many other columns, such as multiple lines of text and choice. I do not know if the theory above is correct though, because 28 does not go evenly into 276 (276/28 = 9.857)
    Please help me understand how to calculate my fields to see if I have went beyond the limits.
    Thank you!

  • ORA-22288: file or LOB operation FILEOPEN failed (The data is invalid)

    Dear All,
    I am trying to insert a image file (gif) to one of my field.
    1. Here is my table structure and trying to insert gif image file to PIC file.
    SQL> desc cis2.david_pic
    Name Null? Type
    ID VARCHAR2(5)
    PIC BLOB
    2. I using sql command to create directory and the path is pointing where the DB
    server was installed.
    SQL> create or replace directory MY_FILES as '\\hkqaa-db1\TEXT_IMPORT';
    3. Written a script to insert empty blob first and than trying to use the dbms_lob.fileopen
    to upload the gif file.
    SQL> declare
    2 l_blob blob;
    3 l_bfile bfile;
    4 begin
    5 insert into cis2.david_pic values ( '1', empty_blob())
    6 returning pic into l_blob;
    7 l_bfile := bfilename('MY_FILES', 'bess_signature.gif');
    8 dbms_lob.fileopen(l_bfile);
    9 dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile));
    10 dbms_lob.fileclose(l_bfile);
    11 end;
    12 /
    4. After I ran my script I got this error message.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The data is invalid.
    ORA-06512: at "SYS.DBMS_LOB", line 475
    ORA-06512: at line 8
    Can any tell me what wrong? is this the way to insert image?
    Thanks

    Know this is an old post: (for sharing sake.)
    Please try avoiding
    1. the 'hyphen' in between the path (hkqaadb1 instead of hkqaa-db1)
    2. Give direct path like 'C:\TEXT_IMPORT' instead of network path.
    create or replace directory MY_FILES as '\\hkqaa-db1\TEXT_IMPORT'; -- Not working.
    create or replace directory MY_FILES as 'C:\hkqaadb1\TEXT_IMPORT'; -- Working.
    and this worked fine.
    Edited by: Arunan.KL on Mar 23, 2011 5:04 PM

Maybe you are looking for