Oracle database crashes frequently

Dear all,
One of my oracle databases is crashing with a word being written to the alert.log. What I see in the log is a log switch information. Is there a way of enhancing log information. (something similar to 10046 trace with different trace levels 4,8,12)
Windows EE 2003 - 64-bit
Oracle 10g Release 2 (10.2.0.4) 64-bit
Memory - 4GB
CPU - 1 Quadcore 2.33GHz
Avg CPU utilization - 20%
How do I find the cause and make Oracle write more information in the alert log?
Thanks for your tips & help.
Regards

Oracle Lover3 wrote:
OS remains up, its only Oracle that crashes.
After starting the Windows service for database, when I try to start Oracle, it comes out saying "End of file communication". I have to restart the server to get rid of this.And you call it Oracle crashes?
Something wrong in your environment.
Pls, check for Event log for any related error messages.

Similar Messages

  • SAP oracle database crash with errore:ORA-00490: PSP process terminated

    Hi ALL,
    Our oracle database crash with errore code in trace : ORA:00490; i started database again and it  working fine; but could not fine reason of down and what is this erroe all about
    can some help me
    Errors in file /oracle/SRD/saptrace/background/srd_pmon_28096.trc:
    ORA-00490: PSP process terminated with error
    Tue Nov 25 09:00:57 2008
    PMON: terminating instance due to error 490
    Instance terminated by PMON, pid = 28096
    Thanks,
    Dinesh

    Hi stefen,
    please find the trace file as below
    /oracle/SRD/saptrace/background/srd_pmon_28096.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning and Data Mining options
    ORACLE_HOME = /oracle/SRD/102_64
    System name:    SunOS
    Node name:      nzlsfn23
    Release:        5.10
    Version:        Generic_137111-01
    Machine:        sun4u
    Instance name: SRD
    Redo thread mounted by this instance: 1
    Oracle process number: 2
    Unix process pid: 28096, image: oracle@nzlsfn23 (PMON)
    2008-11-25 09:00:57.497
    SERVICE NAME:(SYS$BACKGROUND) 2008-11-25 09:00:56.210
    SESSION ID:(24.1) 2008-11-25 09:00:56.194
    Background process PSP0 found dead
    Oracle pid = 6
    OS pid (from detached process) = 28098
    OS pid (from process state) = 28098
    dtp = 38000afd8, proc = 497000860
    Dump of memory from 0x000000038000AFD8 to 0x000000038000B020
    38000AFD0                   00000005 00000000          [........]
    38000AFE0 00000004 97000860 00000000 00000000  [.......`........]
    38000AFF0 00000000 50535030 00020000 00000000  [....PSP0........]
    38000B000 00006DC2 00000000 00000000 48E50DA4  [..m.........H...]
    38000B010 00000001 000E3273 00040081 00000000  [......2s........]
    Dump of memory from 0x0000000497000860 to 0x0000000497001048
    497000860 02010000 00000000 00000000 00000000  [................]
    497000870 00000000 00000000 00000000 00000000  [................]
    497000880 00000004 97042570 00000004 97047810  [......%p......x.]
    497000890 00000004 97028E68 00000004 97045BE8  [.......h......[.]
    4970008A0 00000000 00000000 00000004 97045C70  [..............\p]
    4970008B0 00000004 97045C70 00000004 97047800  [......\p......x.]
    4970008C0 01060000 00000000 00000004 97025ED8  [..............^.]
    4970008D0 00000004 97028E68 00000006 00000000  [.......h........]
    4970008E0 00000000 00000000 00000000 00000000  [................]
    4970008F0 00000000 00000000 00000004 97042490  [..............$.]
    497000900 00000004 970425A0 00000000 00000000  [......%.........]
    497000910 00000000 00000000 00000000 00000000  [................]
            Repeat 3 times
    497000950 00000003 00000000 00000000 00000000  [................]
            Repeat 1 times
    497000970 00000000 00000000 00000000 00000000  [................]
    497000980 00000004 00000000 00000000 00000000  [................]
    497000990 00000003 00000000 00000000 00000000  [................]
            Repeat 1 times
    4970009B0 00000004 00000000 00000000 00000000  [................]
    4970009C0 00000005 00000000 00000000 00000000  [................]
    4970009D0 00000003 00000000 00000000 00000000  [................]
    4970009E0 00000000 00000000 00000000 00000000  [................]
            Repeat 8 times
    497000A70 00000000 00000000 00000004 97000A78  [...............x]
    497000A80 00000004 97000A78 00000000 00000000  [.......x........]
    497000A90 00000000 00000000 00000004 97000A98  [................]
    497000AA0 00000004 97000A98 00000000 00000000  [................]
    497000AB0 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    497000AE0 00000000 00000000 00000018 00000030  [...............0]
    497000AF0 00000001 00000B3D 00000004 970037D0  [.......=......7.]
    497000B00 00000004 580096B0 00000001 00000000  [....X...........]
    497000B10 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    497000B40 00006DC2 00000000 00000000 00000000  [..m.............]
    497000B50 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    497000B80 00000004 97000860 00000000 00000000  [.......`........]
    497000B90 00000000 00000000 00000000 00000000  [................]
            Repeat 7 times
    497000C10 00000004 97000C10 00000004 97000C10  [................]
    497000C20 00000000 00000000 00010000 00000000  [................]
    497000C30 00000000 00000117 0000000A 00000000  [................]
    497000C40 00006DC2 00000000 00000000 48E50DA4  [..m.........H...]
    497000C50 00000001 00000000 00000000 00000000  [................]
    497000C60 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    497000C90 00000000 00000000 00000003 FFFFFFFF  [................]
    497000CA0 00000000 00000000 00000000 00000000  [................]
            Repeat 13 times
    497000D80 73726461 646D0000 00000000 00000000  [srdadm..........]
    497000D90 00000000 00000000 00000000 00000000  [................]
    497000DA0 00000000 00000006 6E7A6C73 666E3233  [........nzlsfn23]
    497000DB0 00000000 00000000 00000000 00000000  [................]
            Repeat 2 times
    497000DE0 00000000 00000000 00000000 00000008  [................]
    497000DF0 554E4B4E 4F574E00 00000000 00000000  [UNKNOWN.........]
    497000E00 00000000 00000000 00000000 00000000  [................]
    497000E10 00000000 00000008 32383039 38000000  [........28098...]
    497000E20 00000000 00000000 00000000 00000000  [................]
    497000E30 00000000 00000005 6F726163 6C65406E  [........oracle@n]
    497000E40 7A6C7366 6E323320 28505350 30290000  [zlsfn23 (PSP0)..]
    497000E50 00000000 00000000 00000000 00000000  [................]
    497000E60 00000000 00000000 00000000 00000016  [................]
    497000E70 00000000 00000002 00000000 00000000  [................]
    497000E80 00000000 00000000 00000000 00000000  [................]
            Repeat 8 times
    497000F10 00000000 00000000 00000000 00020000  [................]
    497000F20 00000000 00000000 00000000 00000000  [................]
    497000F30 00000000 00000000 00000003 9E1F6748  [..............gH]
    497000F40 00000004 97001728 00000004 97000758  [.......(.......X]
    497000F50 00000000 00000000 00000003 9E26B5B0  [.............&..]
    497000F60 00000000 00000000 00000000 00000000  [................]
            Repeat 1 times
    497000F80 00000004 97000F80 00000004 97000F80  [................]
    497000F90 00000000 00040000 00000000 00000000  [................]
    497000FA0 00000000 00031A55 00000000 0004D7DD  [.......U........]
    497000FB0 00000000 00071A55 00000000 00000000  [.......U........]
    497000FC0 00000000 00000000 00000000 00000000  [................]
    497000FD0 00000000 00000828 00000000 000000E0  [.......(........]
    497000FE0 00000000 00000828 00000000 00000000  [.......(........]
    497000FF0 00000000 00000000 00000000 00000000  [................]
            Repeat 4 times
    497001040 00000002 00000000                    [........]
    error 490 detected in background process
    ORA-00490: PSP process terminated with error

  • Location of oracle database crash date time

    Hi,
    After system crash happens and oracle database is recovered from system crash where can i find the entry in oracle which shows the time of system crash?
    I tried the following to get the system crash date and time:
    When i start auditing a user by logon and the user is logged on to system oracle creates an entry in dba_audit_session table for user logontime in TIMESTAMP column, but if the system crashes in between when the user is logged in to the system then no entry is made in LOGOFF_TIME column of dba_audit_session table.
    in followin example orcl user is being audited by logon.
    orcl logsin the system at time 11:36 am and my system crashes.
    when orcl logsin again after instance recovery logoff_time is blank, and shows a new entry of orcl.
    SQL > select username,to_char(timestamp,'dd-mm-yyyy hh:mi:ss'),to_char(logoff_time,'dd-mm-yyyy hh:mi:ss') from dba_audit_session where username like 'TMS' order by timestamp;
    USERNAME TO_CHAR(TIMESTAMP,' TO_CHAR(LOGOFF_TIME
    ORCL 16-10-2012 11:36:16
    ORCL 16-10-2012 11:46:33
    My aim is to get the date & time of database crash.

    Hi;
    As mention here the only way to check alert.log, If Asm avaliable you need also check asmlog and related log files.
    If you have OSwatcher on your system you can also check what process or wha happend on your server too
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Steps if Oracle Database Crashed

    Hi All,
    Can someone write me sequence of steps if Oracle database get crashed. Just steps and not the detail.
    Thanks
    Praveen

    First try 'recover database' command in sys login
    If it fails,
    1. See for the alert.log for exact error if any
    2. if a control file is corrupted, create new control file
    If there is hard-drive problem, bad sector etc then no chance ! Have to format or change hard drive and re-install oracle.

  • Oracle database crashing.Need help.

    Hi
    We have an oracle 11.1.0.7.0 database running on windows 2003 R2. All of a sudden as of today the server crashed.
    Trace logs are as below.
    Can anyone provide any help on how to diagnose the issue.
    Thanks
    *** 2011-04-26 00:30:15.291
    Process diagnostic dump for W000, OS id=6212
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2554M/4446M, VA:1260M/2047M
    CPU Load: 61%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001aa8 00001388 00000000 0f45e55c
    _skgpwwait()+128                                                 00000000                                                         00001aa8 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0f45e5c8 0babb460 2f371f7c 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea568b0 2ea568b0 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0f45e7bc 000001f4 0f45e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0f45fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0dc6e918 0dc85e78 0d6ff2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0f45fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0f45fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0f45fe9c 00000032 00000004 0f45fea8
    opimai()+92                                                     opimai_real()+0 00000003 0f45fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0f45ff20 89a96710 0d6f0030
    77E6482C 00000000 0b1a4c18 00000000 00000000 0b1a4c18
    00000000 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: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:30:15.400
    Waited for process W000 to initialize for 107276 seconds
    *** 2011-04-26 00:50:21.400
    Process diagnostic dump for W000, OS id=11304
    Memory (Avail/Total): Ph:1923M/3839M, Ph+PgF:2563M/4446M, VA:1268M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000019b0 00001388 00000000 0d85e55c
    _skgpwwait()+128                                                 00000000                                                         000019b0 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0d85e5c8 0babb460 2f371494 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0d85e7bc 000001f4 0d85e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0d85fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c8ee914 0c935e6c 0c79f2d8
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0d85fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0d85fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0d85fe9c 00000032 00000004 0d85fea8
    opimai()+92                                                     opimai_real()+0 00000003 0d85fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0d85ff20 89b057d0 0c790030
    77E6482C 00000000 0b18e3c8 00000000 00000000 0b18e3c8
    00000000 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: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:50:21.509
    Waited for process W000 to initialize for 110881 seconds
    *** 2011-04-26 01:50:27.697
    Process diagnostic dump for W000, OS id=10832
    Memory (Avail/Total): Ph:1926M/3839M, Ph+PgF:2566M/4446M, VA:1266M/2047M
    CPU Load: 11%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000018fc 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         000018fc 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c54e918 0c565e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 89c36268 09a20030
    77E6482C 00000000 0b187fb8 00000000 00000000 0b187fb8
    00000000 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: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 01:50:27.806
    Waited for process W000 to initialize for 112681 seconds
    *** 2011-04-26 02:20:27.884
    Process diagnostic dump for W000, OS id=9720
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2557M/4446M, VA:1266M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 80828c73 09a20030
    77E6482C 00000000 0b187f70 00000000 00000000 0b187f70
    00000000 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: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.110000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 02:20:27.994
    Waited for process W000 to initialize for 115689 seconds
    *** 2011-04-26 03:10:36.994
    Process diagnostic dump for W000, OS id=10068
    *** 2011-04-26 03:10:37.103
    Memory (Avail/Total): Ph:1933M/3839M, Ph+PgF:2575M/4446M, VA:1267M/2047M
    CPU Load: 32%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0d1dceb8
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0d1e0678 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 8a7c5db0 09a20030
    77E6482C 00000000 0b1a9bc0 00000000 00000000 0b1a9bc0
    00000000 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: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 03:10:37.103
    error 2103 detected in background process
    OPIRIP: Uncaught error 447. Error stack:
    *** 2011-04-26 03:35:37.103
    ORA-00447: fatal error in background process
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Edited by: user8952784 on Apr 25, 2011 12:53 PM

    Hello,
    What is MOS?
    MOS stand for My Oracle Support (formelly called Metalink). You'll find below their link:
    https://support.oracle.com/
    You'll need the Customer Support Identifier ( CSI ) to get an account.
    As soon as, you can logon to MOS, then open a Service Request and send them the Alert log, trace file, ... and if possible an Incident Package so that they can diagnose the error you got.
    As you are in 11.1 you can generate an Incident Package with the help of the Automatic Diagnostic Repository ( ADR ). You may follow the procedure below to create the Incident Package and manage the call with MOS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
    Hope this help.
    Best regards,
    Jean-Valentin

  • ORACLE 9I DATABASE - CRASH & RECOVER

    I AM USING ORACLE 9I FOR LINUX IN A DUAL XEON PROCESSOR SERVER. NOW DATABASE DOES NOT OPEN PROPERLY AND SHOW FOLLOWING MESSAGES:-
    1) for SYSDBA user message for startup database
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu Aug 21 18:49:14 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 621875780 bytes
    Fixed Size 451140 bytes
    Variable Size 335544320 bytes
    Database Buffers 285212672 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL>
    2) Then we reset the logs the message is:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/C/app/oracle9ir2/oradata/tepiapp/system01.dbf'
    SQL>
    3) When connecting with different user the message is :
    Enter user-name: mis-dba
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0;oracle@tepiapp:~[oracle@tepiapp oracle]$
    Please guide me for detail solutions for this problem
    Regards,
    FSL

    hmmm ok, so it seems that you dont use RMAN to backup your database...
    It seems there that your have a controlfile problem after a disk crash. I hope your database is on ARCHIVELOG mode.
    Does your database crashed during activity or was idle ?
    1. Mount the database
    2. set autorecovery on ;
    recover database using backup controlfile ;
    media recovery complete <= this means that all is ok now
    3. alter database open resetlogs ;
    if #2 doesnt work cause of redo log problem such as corrupted redo log, or some transactions "blocked" in theses redo log cause of a big crash during the database activity, Oracle will tell you that a redo log is corrupted and will give you the hour of the redo log log entry that Oracle need to recover.
    So you will have to make an incomplete recovery (that means you will lose some datas, no much but some) until time.
    For example, your redo entry has been corrupted at 12:00:50
    1. recover database until time '2003-08-25:12:00:00' ;
    2. alter database open resetlogs ;
    3. Make a full backup of your database !
    Fred

  • Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!

    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.

    AravindanJ wrote:
    Today My c: drive crashed...i had all my oracle database files and others in other resp drives.How to start by DB again as my services are destroyed.?!
    or how to create a service for the database i had previously ??
    any help
    Aravind.
    Where did Oracle software reside before  the failure & now?
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Oracle instance crashed

    Oracle-Version: 9i R2 9.2.0.1.0.
    Hello !
    My oracle instance crashed and I found the following message in the log file :
    LGWR: terminating instance due to error 472
    Instance terminated by LGWR, pid = 1304
    I have not found any other messages and the ORA-00472 message says that the PMON process terminated with error.
    Did anybody have the same error ?
    I need to know why the instance crashed.
    I hope you can help me. Thanks in advance.
    Andreas

    The 472 is just the error issued when the Oracle background processes are signaled to terminate. It would appear log writer took an error and either notified the other background processes to terminate or it terminated and another backgroun process detected the problem, probably smon, and killed the rest of the system processes.
    Look in the bdump directory for the log writer trace file and see what it says. There may also be some entries in the alert log depending on exactly what happened.
    If the database fired back up without problem and the problem does not reoccur frequently then if might just be one of those things. However, if you can find the trace file and error messages for the problem cause then you should probably open an iTAR with Oracle support to find out he fix/work around.
    HTH -- Mark D Powell --

  • TimeZone.getDefault().getID() does not exist in your Oracle database table V$TIMEZONE_NAMES???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed many ADF applications in this version itself by setting time zone as -Duser.timezone="+05:30" and all were running fine.
    But Jdeveloper got crashed so i reinstalled the same version but now none of the applications are running.
    Its showing error as below:
    oracle.jbo.JboException: JBO-29112: The time zone 'GMT+05:30' defined in adf-config.xml or TimeZone.getDefault().getID() does not exist in your Oracle database table V$TIMEZONE_NAMES. Please set an available time zone in your TZ environment variable or user.timezone Java system property.
    What to do now?
    how will i know wat time zone should be set?
    please help the needful...
    Thanks.

    Check if www.jobinesh.com/2010/12/why-do-i-get-oraclejbojboexception-jbo.html helps.
    Timo

  • Data Loss when a database crashes

    Hi Experts,
    I was asked the question of "how much data is lost when you pull the plug off an oracle database all of a sudden".. and my answer was "all the data in the buffers that have not been committed". We know that you can have committed data sitting in the redo logs (that have not been written to the datafiles) that the instance will use for recovery once the instance is restarted again; however, this got me thinking and asking the question of how much uncommitted data is actually sitting in memory that potentially can be lost if the instance goes down all of a sudden?
    With the use of sga_target and sga_max_size, the memory allocation for the cache buffer will vary from time to time.. So, is it possible to quantify the amount of lost data at all (in byts, kb, mb..etc)?
    For example if the sga is set to 1gb (sga_max_size=1000mb), check point every 15mins (as we can't predict/know how often the app commits).. assume a basic transaction size for any small to medium size database. Redo logs set to 50mb (even though this doesn't come into play at this stage).
    I would be really interested in your thoughts and ideas please.
    Thanks

    All Oracle Data Manipulation Language (DML) and Date Definition Language (DDL) statements must record an entry in the Redo log buffer before they are being executed.
    The Redo log buffer is:
    •     Part of the System Global Area (SGA)
    •     Operating in a circular fashion.
    •     Size in bytes determined by the LOG_BUFFER init parameter.
    Each Oracle instance has only one log writer process (LGWR). The log writer operates in the background and writes all records from the Redo log buffer to the Redo log files.
    Well, just to clarify, log writer is writing committed and uncommitted transactions from the redo log buffer to the log files more or less continuously - not just on commit (when the log buffer is 10mb full, 1/3 full, every 3 seconds or every commit - whichever comes first - those all trigger redo writes).
    The LGWR process writes:
    •     Every 3 seconds.
    •     Immediately when a transaction is committed.
    •     When the Redo log buffer is 1/3 full.
    •     When the database writer process (DBWR) signals.
    Crash and instance recovery involves the following:
    •     Roll-Forward
    The database applies the committed and uncommitted data in the current online redo log files.
    •     Roll-Backward
    The database removes the uncommitted transactions applied during a Roll-Forward.
    What also comes into play in the event of a crash is MTTR, for which there is a advisory utility as of Oracle 10g. Oracle recommends using the fast_start_mttr_target initialization parameter to control the duration of startup after instance failure.
    From what I understand, uncommitted transactions will be lost, or more precisely undone after an instance crash. That's why it is good practice to manually commit transactions, unless you plan to use SQL rollback. Btw, every DDL statement and exit from sqlplus implies an automatic commit.
    Edited by: Markus Waldorf on Sep 4, 2010 10:56 AM

  • PDF Files in Oracle Database

    First of all Hi and Thanks to All Respected Gurus of this forum for providing non-stop services to resolve problems on world-wide level.
    I am using Oracle Database 11g-R1 with Oracle Application Express 4.1.
    My clients (end-users) have the access to upload PDF files into database via an application built-in Oracle Application Express.
    Suddenly ".dmp" size has been increased rapidly from 360 MB to 2.7 Gb and all it happened due to uploading of PDF Files.
    I want to know is it alarming for Oracle Database? Because users have lot-of files to upload, so I am in doubt that will Oracle Database Services / Performance will be disturbed by increasing of database size or Oracle Database Server could be crashed?
    Please confirm. Thanks in advance.
    Regards: Muhammad Uzair Awan

    Performance may be impacted.
    Backup time would increase.
    Backup space (Disk / Tape) requirements would increase.
    There shouldn't be a "crash" of the database
    Since you are running 11gR1, I presume that you are not running the Express Edition.
    Hemant K Chitale

  • Can't create Connection to Oracle Database

    Hi i'm trying to create a simple connection to my oracle database and my projects compiles, but at the "createConnection" statement an SQLException is thrown.
    Well first of all my stats:
    Windows XP 32 bit
    Visual Studio 2005 (VC++ 8)
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    OCCI
    I have already included the "..\OCI\include" directory to my projects additional include directories, the path to the new OCCI dll's and lib's to my additional library dierctories and i have also included the "oraocci10d.lib" to my additional dependencies for the linker.
    Now here is the code i'm trying to run (it's just the code of an OCCI sample modified to my preferences):
    1 #include <stdlib.h>
    2 #include <occi.h>
    3 #include <iostream>
    4 using namespace oracle::occi;
    5 using namespace std;
    6
    7 int main () {
    8     //create environment and connection
    9     string user = "myUser";
    10     string pw = "myPW";
    11     string db = "localhost:1521/XE";
    12     Environment *env = Environment::createEnvironment(Environment::DEFAULT);
    13     Connection *conn = env->createConnection(user, pw, db);
    14     cout << "Environment and Connection created" << endl;
    15
    16     //execute a SQL statement
    17     Statement *stmt = conn->createStatement();
    18     stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
    19     stmt->executeUpdate();
    20     conn->terminateStatement(stmt);
    21
    22     //terminate environment and connection
    23     env->terminateConnection(conn);
    24     Environment::terminateEnvironment(env);
    25     cout << "Environment and Connection terminated" << endl;
    26
    27     return 0;
    28 }
    The code crashes at line 13, where i'm trying to create the connection.
    Visual Studio breaks and is giving the information, that an SQLException occured.
    I looked for the Error code given by the exception and it's 24960.
    Well i've found some threads working around that problem, but nothing worked properly to my problem.
    Can anyone help me out of my problem?
    Addition: I've already debugged the code and the pointer to the environment is good, so this possible cause of the exception (Null-Pointer) is out!
    Thanks for any advice!
    Edited by: [email protected] on 08.06.2010 10:34

    Well i've found a post at a similar thread, where somebody told to try to compile and run the project in release mode.
    Incredibly it works fine, but only for release mode as i told.
    The debug mode is still having the same problem...
    If somebody has an idea how to solve this problem please let me know!
    Thanks, olf77.

  • Running Oracle database 10g and 11g on same 5 RAC nodes

    Hello Gurus,
    Could any body throw light if I can install and sucessfully run Oracle database 10g and 11g on the same Oracle RAC installation setup.My setup is below
    Number of nodes-5
    OS- windows 2003 or RHEL5
    storage- DELL EMC SAN
    Clusterware- oracle version11g
    File system-Automatic storage management(ASM)
    After I successfully setup clusterware,ASM on the nodes,I would want to install 11g database on all 5 nodes .
    Then Install 10g database on only 3 of the nodes using the same clusterware.
    What are your views on the same.
    Also FYI... as per metalink node 220970.1(RAC: Frequently Asked Questions) one can do such a setup.
    what iam looking for is practical experience if anyone has implemented this in production system,if yes any issues faced and how tough it is to support.
    Thanks,
    Imtiyaz

    You could run an 11g database and 10g database on the same cluster as long as you use Clusterware 11g.
    The administration aspect will drastically change according to the platform you run on. As of now, it appears you don't know whether it will be Linux or Windows.
    It would be practical to support the same database release.

  • 10G Oracle Database Configuration Assistant hangs at 39%

    I'm trying to install the 10G Infrastructure, but when the OUI launches the OPCA, the OPCA just hangs at 39% and never makes it. Any suggestions?
    Thanks,
    Frances

    hi,
    I am also having the same problem with DBCA. Usually it hangs at 40% and then dies. When running the scripts, it also crashes and i am not sure where to go from here. To follow is the last bit of the display for the scripts at they run. There are two errors present. I have done my best to research this issue on my own, however, I have not had any success. If anyone can point me in the right direction, it would be much appreciated.
    Errors found in script readout below
    1. *
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    2. ERROR:
    ORA-03114: not connected to ORACLE
    SQL> Rem NOTES
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem wechin 02/12/03 - remove 'set' commands
    SQL> Rem yuyang 08/29/01 - make load ultrasearch_db.jar
    SQL> Rem dczhang 11/17/00 - remove unnecessary exit at the end
    SQL> Rem dczhang 10/27/00 - put -resolver arg in separate string passed via 2
    SQL> Rem syang 10/17/00 - Created
    SQL> Rem
    SQL>
    SQL> define isearch_lib = "&1"
    SQL>
    SQL> -- $(SRCHOME)/bin/loadjava -u WKSYS/$(WKSYSPW) -f -r -R "((* wksys) (* public))" -synonym -g public -v -s $(ISEARCHLIB)/ultrasearch_db.$(JAR_EXT)
    SQL>
    SQL> PROMPT ... loading ultrasearch_db.jar
    ... loading ultrasearch_db.jar
    SQL> call sys.dbms_java.loadjava('-v -f -r -s -g PUBLIC &isearch_lib/ultrasearch_db.jar', '((* wksys) (* public))');
    call sys.dbms_java.loadjava('-v -f -r -s -g PUBLIC /u01/app/oracle/product/10.1.0/db_1/ultrasearch/lib/ultrasearch_db.jar', '((* wksys) (* public))')
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    SQL>
    SQL> undefine isearch_lib
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> -- populate the wksys schema
    SQL> PROMPT ... load wksys
    ... load wksys
    SQL> @&LSH/wk0inst.sql &OH/ultrasearch/data/ &CTXHX &JAVA_EXE_PATH &JSTR &OH/ultrasearch/lib/agent/ &LAUNCH_ANYWHERE &OH/ultrasearch/log/ &OH/ultrasearch/cache/
    SQL> Rem
    SQL> Rem $Header: wk0inst.sql 12-sep-2003.17:15:00 wechin Exp $
    SQL> Rem
    SQL> Rem wk0inst.sql
    SQL> Rem
    SQL> Rem Copyright (c) 1999, 2003, Oracle Corporation. All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem wk0inst.sql - WK Install
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem This moudle installs all packages needed by intermedia search
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem <other useful comments, qualifications, etc.>
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem wechin 09/12/03 - bug 3141009: set default log directories
    SQL> Rem vnimani 05/06/03 -
    Rem vnimani 05/02/03 - remove install_type param as it is no longer usedSQL> Rem echee 11/22/02 - Adding call to wk0postpkg.sql
    SQL> Rem syang 10/30/02 - change prompt message for wk0init
    SQL> Rem wechin 03/11/02 - fix bug 2259949
    SQL> Rem wechin 02/20/02 - use dbms_registry.release_version
    SQL> Rem wechin 02/15/02 - update version number in component registry
    SQL> Rem syang 02/18/02 - accept LAUNCH_ANYWHERE parameter
    SQL> Rem dczhang 01/30/02 - DO NOT SPOOL
    SQL> Rem wechin 01/09/02 - component registry
    SQL> Rem dczhang 07/09/01 - remove word "isearch"
    SQL> Rem syang 07/13/01 - add agent_location
    SQL> Rem syang 03/14/01 - no default language for wk0pref.sql
    SQL> Rem dczhang 11/17/00 - remove unnecessary exit at the end
    SQL> Rem chsin 09/15/00 - add wk0obj.sql
    SQL> Rem syang 09/14/00 - use define variables to avoid sqlplus bug
    SQL> Rem jshang 08/23/00 - Add data type creation for Query API wrapper
    SQL> Rem jechow 08/01/00 - cut the class path
    SQL> Rem ymatsuda 03/28/00 - training data dir, config file path
    SQL> Rem ymatsuda 03/20/00 -
    Rem syang 03/01/00 - create default scheduleSQL> Rem ymatsuda 02/16/00 - multi instance
    SQL> Rem echee 02/07/00 - adding seed data population to flow
    SQL> Rem syang 02/02/00 - create default web source
    SQL> Rem dyu 01/13/00 - Fix classpath too long for sqlplus argument
    SQL> Rem syang 01/05/00 - report error gracefully
    SQL> Rem swkuo 11/22/99 - create wk0init.sql to initizlize the crawler table
    SQL> Rem syang 11/22/99 - add explanation for parameters needed
    SQL> Rem swkuo 11/18/99 - pass crawler config parameters
    SQL> Rem ymatsuda 11/17/99 - add wk0util
    SQL> Rem swkuo 11/11/99 - initialize the WK$CRAWLER table
    SQL> Rem swkuo 11/09/99 - use a utility program to load java classes
    SQL> Rem syang 11/05/99 - add wk0ddl package
    SQL> Rem syang 11/04/99 - crawler seed coulmn type change
    SQL> Rem swkuo 11/02/99 - Add the language column
    SQL> Rem swkuo 11/01/99 - Created
    SQL> Rem
    SQL>
    SQL> set feedback off verify off
    SQL>
    SQL> -- if user is not WKSYS then exit
    SQL> whenever sqlerror exit;
    SQL> set heading off
    SQL> select '=== User is ' || USER from dual
    2 where 1 = decode(USER,'WKSYS',1,'NOT');
    ERROR:
    ORA-03114: not connected to ORACLE
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [oracle@cpsidb scripts]$

  • Server Sizing For Oracle Database

    Hi All,
    I need a server sizing for the below mentioned architecture:
    This application is basically for logistics company which we are planing to host it centrally with two server's one server for application and one for oracle database along with DR site (Other Location). There are four locations and each location will have 20 users who are going to access this application (20 x 4= 80 Users). We are using MPLS network of 35 mbps bandwidth.
    1. Application server: Windows server 2008 R2
    2. Database Server: Windows server 2008 R2, Oracle 11g r2
    I need a server sizing documents.
    Thanks........

    EdStevens wrote:
    Justin Mungal wrote:
    EdStevens wrote:
    user1970505 wrote:
    Hi All,
    I need a server sizing for the below mentioned architecture:
    This application is basically for logistics company which we are planing to host it centrally with two server's one server for application and one for oracle database along with DR site (Other Location). There are four locations and each location will have 20 users who are going to access this application (20 x 4= 80 Users). We are using MPLS network of 35 mbps bandwidth.
    1. Application server: Windows server 2008 R2
    2. Database Server: Windows server 2008 R2, Oracle 11g r2
    I need a server sizing documents.
    Thanks........I'd seriously reconsider hosting Oracle db on Windows. Obviously there are many, many shops that do. And obviously it is often a case of the fact that they do not have (and choose to not acquire) expertise in Linux. But I've been in IT for 30+ years and have worked on IBM S-370 and its variants and descendents, Windows since v3, DEC VMS, IBM OS/2, Solaris, AIX, HPUX, and Oracle Linux. The first Oracle database I ever created was on Windows 3.11 and at that point I had never seen *nix.  Now I am in a position to state that Windows is the worst excuse of an operating system of any I have ever used.  I am constantly amazed/amused by how often (at least once a month on schedule, plus unplanned times) that our Windows SA has to send out a notice that he is re-booting his servers.  I can't remember the last time we had to reboot a Linux server ( I have 4 of them)
    Yes, I'm biased away from Windows, but that bias comes from experience. Hardly a day goes by that I don't see something that causes me to say to whoever is in earshot "have I told you how much I hate Windows?"I was going to refrain from commenting on that, as I assumed they're a Windows shop and aren't open to any other OS (but my assumption could be incorrect).
    I haven't been working in IT for as long as many of the folks around here, only about 10 years. I'm a former system admin that maintained both Linux and Windows servers, but my focus was on Windows. In the right hands, Windows can be rock solid. If a system admin has to reboot Windows servers often, he is most likely doing something wrong, or is rebooting for security updates. It's never as simple as "Windows Sucks," or "Linux Sucks;" it all depends on who's running the system (again, in my opinion).
    I have seen some windows servers run uninterrupted for so long no one could remember the admin password. But more often memory leaks and the "weekly update" (replacing last weeks bugs with this weeks) is the culprit.
    Yes, it really is sad how often you have to reboot for updates if you want to keep your system current. Mind you, it's better to have the fixes then to not have them (maybe). I rebooted my servers about once every month at my old place... which is not that bad.
    With that said, in my experience, Oracle on Windows is a major pain. It takes me much longer to do anything. Once you get proficient with a CLI like the bash shell, the Windows GUI can't compare.Agreed. One of my many complaints about Windows is the poor excuse of a shell processor. I'm pretty proficient in command line scripting, but still cringe when I have to do it. Practically every line of code I write for a command script is accompanied by the remark "this is so lame compared to what I could do with a shell script". Same for vi vs. notepad. But my real problem is the memory leaks and the registry. I'm fairly comfortable hacking certain areas of the registry, but the need to and the arcane linkages between different areas of the registry and how they influence 'process environment' remains a mystery to all but a tiny minority of admins. Compare to *nix where everything is well documented and "knowable". 
    One (of many) anecdotal experiences, this with my personal Win7 laptop. One time it crashed and refused to reboot. A bit of a google search turned up some arcane keystroke sequence to put it into some sort of recovery mode on bootup .. similar to getting into the bios, but the keystroke sequence was much more complex .. it may have involved standing on one foot while entering the sequence. Anyway, it entered a recovery process I've never seen before or since and repaired everything. My first thought was "hey, that was pretty cool." Then my second thought was 'but only Windows would need such a facility.
    Bottom line? To paraphrase a famous Tom Hanks character, "My momma always said Windows was like a box of chocolates. You never know just what you'll get."Haha... I like that one. Yes, the registry is definitely horrible. It's amazing to me that a single point of failure was Microsoft's answer to INI files.
    I think Windows and nix have their places. Server work definitely seems more productive to me in a nix environment, but I think I'd jump off a cliff if I had to use it as my desktop environment day-in-day-out. The other problem is application lock-down; I can't blame the OS for that, but it's a reality... and using virtualization to run those applications seems to defeat the point to me.

Maybe you are looking for