Database in Suspended Mode

Hi,
I faced this problem suddenly when i was trying some indexes on a local dummy table(using 'sa' user id) on DB COSMOS. After working around indexes i saved the file and closed Query Analyzer. On relogging again with 'sa' user Id i faced the following problem "A connection was successfully established but then an error occured during the login process.(provider : Shared Memory Provider, error:0 - No process is on the other end of the pipe.) "
Then i logged in with Windows Authentication account. however i couldnt access DB COSMOS as it was put in Suspended Mode. On checking the event viewer i found below error
"SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0xb42e9a1f; actual: 0xb45a9f73). It occurred during a read of page (2:0) in database ID 7 at offset 0000000000000000 in file 'E:\COSMIC\COSMOS_log.ldf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online."
Well how the above error can be repaired. There are no backups of this db. I cannot run DBCC CHECKDB command for COSMOS as the same has been suspended.
Please give me the solution to above problem.
Thanks

Hi ,
Thanks for the info. Lekss thanks for that article..it was quite useful.
Please check the below error that i found in error log.
2009-12-29 21:09:45.81 spid20s     Error: 824, Severity: 24, State: 2.
2009-12-29 21:09:45.81 spid20s     SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0xb42e9a1f; actual: 0xb45a9f73). It occurred during a read of page (2:0) in database ID 7 at offset 0000000000000000 in file 'E:\COSMIC\COSMOS_log.ldf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.
2009-12-29 21:09:45.81 spid20s     Error: 3414, Severity: 21, State: 2.
2009-12-29 21:09:45.81 spid20s     An error occurred during recovery, preventing the database 'COSMOS' (database ID 7) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
2009-12-29 21:09:45.85 spid53      EMERGENCY MODE DBCC CHECKDB (COSMOS, repair_allow_data_loss) WITH no_infomsgs executed by HOME\ADMIN terminated abnormally due to error state 5. Elapsed time: 0 hours 0 minutes 1 seconds.
by putting my DB in emergency mode i could get the tables.Luckily there were only ten tables. however how do i take backup of the entire database in this case. As mentioned above, on executing DBCC CheckDB ('DBname', REPAIR_ALLOW_DATA_LOSS) after setting dB to single User mode, the system still displayed that the dB was in suspect mode and cannot be opened. Also the other system dbs including master is damaged and in Online mode. how do i get damaged free dBs. What should be done in real live situation where data is very important.

Similar Messages

  • How to bring MSSQL database from suspended mode to online mode?

    Hi,
    I restarted services through SAP MMC & couldnt restart the service. ABAP work processes Ended & disp+work.exe stopped.
    I checked all SAP related & SQL related services; they were up, but when i tried logging in to the database it was in Suspended mode. I could not login to the database.
    Can anyone tell me the reason for my database going to suspended mode & help me getting my MSSQL 2005 database from suspended mode to online mode??
    Thanks,
    Jigar

    I somehow managed to get my database up but still when i m trying to start the services from SAP MMC then disp+work.exe stops after  sometime.
    Below is the developer trace of disp+work.exe ; plz help
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        PRD
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    133
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        1888
    Tue Feb 26 14:34:16 2008
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 1888) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 133 successfully loaded
         shared lib "dw_xtc.dll" version 133 successfully loaded
         shared lib "dw_stl.dll" version 133 successfully loaded
         shared lib "dw_gui.dll" version 133 successfully loaded
         shared lib "dw_mdm.dll" version 133 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Tue Feb 26 14:34:22 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >srvsappd_PRD_00                         <
    DpShMCreate: sizeof(wp_adm)          30160     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 068C0040, size: 4942392)
    DpShMCreate: allocated sys_adm at 068C0040
    DpShMCreate: allocated wp_adm at 068C2090
    DpShMCreate: allocated tm_adm_list at 068C9660
    DpShMCreate: allocated tm_adm at 068C9690
    DpShMCreate: allocated wp_ca_adm at 06CDC190
    DpShMCreate: allocated appc_ca_adm at 06CE1F50
    DpShMCreate: allocated comm_adm at 06CE3E90
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 06D64D50
    DpShMCreate: allocated gw_adm at 06D64D90
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 06D64DC0
    DpShMCreate: allocated wall_adm at 06D64DC8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    Tue Feb 26 14:34:23 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    Tue Feb 26 14:34:25 2008
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1629]
    ***LOG Q0K=> DpMsAttach, mscon ( srvsappd) [dpxxdisp.c   11799]
    DpStartStopMsg: send start message (myname is >srvsappd_PRD_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Feb 26 14:34:26 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 133
    Release check o.K.
    Tue Feb 26 14:35:05 2008
    ERROR => DpHdlDeadWp: W0 (pid 888) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W1 (pid 2704) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W2 (pid 924) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W3 (pid 2088) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W4 (pid 1780) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W5 (pid 2932) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W6 (pid 1328) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W7 (pid 1332) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W8 (pid 2948) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W9 (pid 492) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => DpHdlDeadWp: W10 (pid 1976) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W11 (pid 2288) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W12 (pid 2716) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => DpHdlDeadWp: W13 (pid 2564) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => DpHdlDeadWp: W14 (pid 712) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W15 (pid 3080) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W16 (pid 1588) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W17 (pid 3084) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => DpHdlDeadWp: W18 (pid 1616) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => DpHdlDeadWp: W19 (pid 2856) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W20 (pid 1912) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:15 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Tue Feb 26 09:05:15 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA      888 Ended         no      1   0        0                                                                         
    1 DIA     2704 Ended         no      1   0        0                                                                         
    2 DIA      924 Ended         no      1   0        0                                                                         
    3 DIA     2088 Ended         no      1   0        0                                                                         
    4 DIA     1780 Ended         no      1   0        0                                                                         
    5 DIA     2932 Ended         no      1   0        0                                                                         
    6 DIA     1328 Ended         no      1   0        0                                                                         
    7 DIA     1332 Ended         no      1   0        0                                                                         
    8 DIA     2948 Ended         no      1   0        0                                                                         
    9 DIA      492 Ended         no      1   0        0                                                                         
    10 UPD     1976 Ended         no      1   0        0                                                                         
    11 UPD     2288 Ended         no      1   0        0                                                                         
    12 UPD     2716 Ended         no      1   0        0                                                                         
    13 ENQ     2564 Ended         no      1   0        0                                                                         
    14 BTC      712 Ended         no      1   0        0                                                                         
    15 BTC     3080 Ended         no      1   0        0                                                                         
    16 BTC     1588 Ended         no      1   0        0                                                                         
    17 BTC     3084 Ended         no      1   0        0                                                                         
    18 SPO     1616 Ended         no      1   0        0                                                                         
    19 UP2     2856 Ended         no      1   0        0                                                                         
    20 UP2     1912 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Tue Feb 26 09:05:15 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    4
    2000
    5
    5
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     2 ( 25%),  shm     6 ( 75%)
    since last update     total     8,  udp     2 ( 25%),  shm     6 ( 75%)
    Dump of tm_adm structure:               Tue Feb 26 09:05:15 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Tue Feb 26 09:05:15 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:20 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >srvsappd_PRD_00                         < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (2404) (SOFT_KILL)
    Stop icman
    killing process (308) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:2404  HANDLE:1476)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:21 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:2404  HANDLE:1476)
    wait for end of icman
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:22 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:23 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:24 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:25 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:26 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:27 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:28 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:29 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:30 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:31 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:32 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:308  HANDLE:1484)
    DpStartStopMsg: send stop message (myname is >srvsappd_PRD_00                         <)
    NiIMyHostName: hostname = 'srvsappd'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 2 (r)
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Tue Feb 26 14:35:33 2008
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12145]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1380 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1380 (pos=2)
    SiSelNRemove: removed sock 1380
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/21
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1380
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 1888) [dpxxdisp.c   10417]
    Good Bye .....

  • Database in Emergency Mode

    Hi All.. i have had one database was in suspect mode and i have changed the status to Emergency Mode and  i have run the DBCC checkdb and command didn't gave any error.. after this i have tried to change database to Single_user mode, but command running
    successfully, but database status is still showing as Emergency mode only.. i have tried for multi_user mode too..
    Also, i have tried to run the command to bring online, but command running for long time with Suspended status..
    Could anyone help me on this??

    Hi Balajik,
    "Also, i have tried to run the command to bring online, but command running for long time with Suspended status.."
    In addition to other post, please check the following things.
    1. Run sp_who2 to check that if there is blocked process. If blocked process exists, run “KILL <spid>“ to kill it.
    2. Make sure that there are no connections to the database from other applications. You can run the below scripts to find connections.
    USE master
    SELECT * FROM sys.sysprocesses WHERE dbid = DB_ID('DatabaseName')
    3. You might need to stop and start SQL Server Service using SQL Server Management Studio, then check if you can set the database online.
    Besides, to recover database which is in emergency mode, you can review the following similar thread.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4186ba24-5188-4ea9-bb83-f39d44f1897d/database-in-emergency-mode?forum=sqldatabasemirroring
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Database in noarchivelog mode, truncate command issued

    Database in noarchivelog mode, truncate command has been issued how to restore the table?
    FACTS:-
    1. DB In noarchivelog Mode
    2. Cannot enable flash back mode because of 1. above
    3. No exports available
    4. No backup's Available.
    Any thoughts ?

    Oracle Support/ Professional Services has a Data Unloader (DUL) and ORA-00600 has DUDE, both of which may be able to extract information from data files that are corrupted, where the control files are lost, etc.
    These are not, however, cheap utilities. Unless the data itself is really valuable, it is generally not a viable option.
    Justin

  • Office 2013 - Word cannot establish a connection with this document after the system resumed from suspend mode

    Hiya!
    This issue has been answered numerous times for Office 2010 and Office 2007, but I have yet to any solutions or Hotfixes that work for Office 2013 (x64) on Win7.
    How to replicate the issue:
    Open a file from a network share.
    Edit file.
    Leave computer on with file open. Computer goes to sleep or into stand-by mode.
    Wait a bit
    Wake up computer
    CPU opens file in Read-Only mode and gives you the following error "Word cannot establish a network connection with this document after the system resumed from suspend mode. Save the document into a different file to keep any changes."
    What I've tried:
    http://support.microsoft.com/kb/2434898 - Office 2007 registry fixes. Does not apply.
    http://support.microsoft.com/kb/2413659 - Office 2010 problem. This exact issue. Says 'No microsoft products that match this hotfix are installed'
    Work Around:
    I can saving new versions of these files overrides this issue, but this is sometimes not possible for end-users who only have specific access to ONE SPECIFIC FILE in a particular network share.
    Please let me know how I can alleviate this issue!
    Thanks
    -Chris

    Hi,
    Are those problematic documents created via previous versions of Office?
    Please also try to run a repair of your Office 2013 installtion and check if it helps. See:
    http://office.microsoft.com/en-in/excel-help/repair-office-programs-HA010357402.aspx
    Regards,
    Steve Fan
    TechNet Community Support

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • Problem running oracle 9i database in archivelog mode - database freezes

    Greetings,
    I recently needed to change a (test) database to archivelog mode to make online back-ups of this database. This posed no real problem although I seem to be unable to set the database to automatic archiving eventhough I edited the init.ora file (translation of the "archive log list" output between square brackets):
    SQL> archive log list
    Databaselogmodus Archiveermodus [Databaselogmode: Archivemode]
    Automatisch archiveren Gedeactiveerd [Automatic archiving: Deactivated]
    Archiveerbestemming O:\oracle\ora92\RDBMS [Archivedestionation: O:\oracle\ora92\RDBMS]
    Oudste on-line logreeks 12306
    Volgende logreeks voor archivering 12306
    Huidige logreeks 12308
    I added this to my init.ora file:
    # Archvie Log Destinations
    log_archive_start=TRUE
    log_archive_dest_1=%ORACLE_HOME%\database\archive
    log_archive_format="%%ORACLE_SID%%t_%s.arc"
    However, this is not the real problem (maybe it has something to do with it, which is why I mention it aswell), the real problem is that my database freezes when the archive log file is "full". When the archive file reaches ~102.400Kb it just freezes up and I need to restart the database.
    The following error is written to the alert_sid.log file:
    Thu Apr 17 09:19:55 2008
    Thread 1 cannot allocate new log, sequence 12309
    All online logs needed archiving
    Current log# 2 seq# 12308 mem# 0: O:\ORACLE\ORADATA\O\REDO02.LOG
    The problem seems to be that the oracle service can't start a new logfile when the previous one is full. Does anybody know how I could fix this?
    Thanks in advance,
    Bram

    Hello Maran, thanks for your quick response.
    I added the output of archivelog list in the original post, but it's in dutch so here's the (loose) translation of the output:
    SQL> archive log list
    Databaselog mode Archive mode
    Automatic archiving Deactivated
    Archive destionation O:\oracle\ora92\RDBMS
    Oldest on-line logsequence 12307
    Next logsequence for archiving 12307
    Current logsequence 12309
    Maybe something that can help with the troubleshooting:
    The archivelog file is written to O:\oracle\ora92\RDBMS but only AFTER the reboot, I've checked SYSTEM rights to the folder and it has full control.
    Babu, thanks aswell for your quick response.
    The location exists and space is available but the database doesn't seem to load (that part of) the ora.init file because the output of archive log list still refers to %ORACLE_HOME%\rdbms instead of %ORACLE_HOME%\database\archive.
    I've now executed alter system archive log all; and am executing the import where the database usually freezes to see if it still happens. So far I already had this written to the alert_sid.log file after executing the command:
    Completed: alter database open
    Thu Apr 17 10:00:11 2008
    ARCH: Evaluating archive log 1 thread 1 sequence 12307
    ARCH: Beginning to archive log 1 thread 1 sequence 12307
    Creating archive destination LOG_ARCHIVE_DEST_1: 'O:\ORACLE\ORA92\RDBMS\ARC12307.001'
    ARCH: Completed archiving log 1 thread 1 sequence 12307
    ARCH: Evaluating archive log 2 thread 1 sequence 12308
    ARCH: Beginning to archive log 2 thread 1 sequence 12308
    Creating archive destination LOG_ARCHIVE_DEST_1: 'O:\ORACLE\ORA92\RDBMS\ARC12308.001'
    ARCH: Completed archiving log 2 thread 1 sequence 12308
    And new log files were written to the directory (O:\oracle\ora92\RDBMS) and this time I didn't have to reboot for it to happen. Both were 100mb files without the database actually doing all that much though.
    Message was edited by:
    user616266

  • Database in Suspect Mode in SQL Server 2000 Log Shipping Environment

    Hi All
    We have movement of SQL Server 2000 at physical level. We have disable jobs and stop Agent and SQL Server services.
    After moved the server we have started the server and then start SQL Server 2000 services.
    All of databases in SUSPECT mode. Files are in correct folders as were before shutdown the server
    What shall I do e.g. why databases come up in SUSPECT mode? what to check and how to get database live?
    Pls help it is critical...
    Thanks in Advance

    All of databases in SUSPECT mode. Files are in correct folders as were before shutdown the server
    What shall I do e.g. why databases come up in SUSPECT mode? what to check and how to get database live?
    Pls help it is critical...
    Thanks in Advance
    Hello,
    Did you made sure no transactions like restore logs  were running when you stopped SQL server service or agent .I have seen in SQL 2000 an abrupt stop of SQL Server agent when its doing a process can sometimes force database in suspect mode.
    I would like you to get your disk analyzed by vendor ASAP for any fault in disk at first go it seems to me an underlying hardware issue.
    Please can you check errorlog and event viewer to find out any possible cause for database going into suspect mode
    I always suggest to use Backup and restore method of recovery to get out from suspect database problem.If you dont have then you can move with DBCC Checkdb and various repair options but be sure
    DATA LOSS might be possible when you use repair allow data loss and repair_rebuild removes constraints.
    hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to use Derby database in embedded mode in WebLogic 12c?

    I have a JavaEE-6 application that uses Derby database in embedded mode. It uses JPA for persistence. Everything works fine in Glassfish but now I am trying to port it to WebLogic 12c and having issues setting up Derby database in WLS in embedded mode. The derby setup in WLS asks for Host/port and does not have the embedded mode option. Any help is appreciated.
    -Prantor

    I'm pretty sure this is the wrong forum. "Oracle Application Server" is iAS, not WebLogic.

  • Database in suspect mode

    i was going through this article about recovering a database in suspect mode :
    http://www.mytechmantra.com/LearnSQLServer/Repair_Suspect_Database_P2.html
    in the article the error seems to indicate corruption in the log :
    Error: 9003, Severity: 20, State: 9. The log scan number (189624:16:2) passed to log scan in database
    'BPO' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf
    if the corruption is in the log, then is not the logical solution to bypass the recovery process and then truncate the log with no_log option and then bring the database online?
    and dbcc checkdb (<db>,repair_allow_data_loss) repairs the data pages or the log pages?
    and any other options/ways/articles about bringing a suspect database online?
    appreciate the insights.

    datafile corruption : put db in emergency mode / put db in single user mode / dbcc checkdb with REPAIR_ALLOW_DATA_LOSS/ dbcc checkdb on database
    again/put db back in multi user mode.
    There is no need to do this. This is totally not required.
    You can
    Switching the database to the Simple recovery model
    Performing a checkpoint (which should clear the active log as long as nothing else requires the log to be kept active)
    Switching back to the Full recovery model
    Reestablishing the log backup chain by performing a full or differential backup
    Or you can rebuild log as already pointed in my reply.
    Or you can restore from known valid backup.
    There is no need to move data as well because actually its not related to data.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Running a physical standby database in noarchivelog mode

    Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
    Standby Database: single instance 11.2.0.2
    OS: AIX 7.1
    Hello,
    I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
    Thanks

    Hello again;
    If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
    For this :
    b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
    And for this :
    resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
    --- Will post a detailed example here in a moment.
    Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
    all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
    I did another switchover and it was done. I used TAF and none of the users even noticed.
    Best Regards
    mseberg

  • Starting Physically Standby Database in Mount Mode

    Hi All
    I have configured Data Guard using Oracle 10g 10.2.0.4.0 (64 bits) on Windows 2008 Server (64 bits) Release 2 Enterprise.
    Data guard configuration was OK as the message from "Enable Configuration DG1" was "SUCCESS" for both
    Primary and Standby Database. I have also set both Databases and TNS to start Automatically whenever Windows Starts.
    The Problem is as long as the Standby Server is running, there is No issue.
    But when we Restarts the Backup Server, Physically Standby Database is Started and TNS is also Started,
    but Archives  are not received until I physically do the following steps so that it can received the Archives.
    SQL> startup nomount;                                                                                                                
    SQL> alter database mount standby database;                                                                 
    SQL> alter database recover managed standby database disconnect from session;
    Is there a way to start Physically Standby Database in Mount mode when windows started.
    Regards
    Thunder2777

    Hi Mihael
    I have created 2 files. 1 Bat file 2nd sql file which contains all commands as written above.
    When I execute start.bat file
    1. set ORACLE_HOME=C:\oracle\product\10.2.0\db_1
    2. set ORACLE_SID=UMISBK
    3. sqlplus / [email protected]
    1 & 2 executed properly. At 3 it just display SQL help for login as shown below.
    SQL*Plus: Release 10.2.0.4.0 - Production
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
    It Did Not execute start.sql file to excute sql commands.
    Regards
    Thunder2777

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

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

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

  • Restore database in archivelog mode

    Hello everyone.
    I've been looking on google, how to restore my database on archivelog mode, but i did not succeed.
    I made my backup using this mode, and now i need to know what is the command need to use to restore this.
    Somebody can write the command here please ?
    Thanks for help.
    Regards,
    Dan
    ps: Using Oracle 10g XE on Win XP.

    user8973191 wrote:
    Oh, ok Vijayaraghavan K.
    Thx for u help.
    And about the users ?
    i need to create the "same" user in another machine ?
    For example:
    In this machine i using the "system" user, where i have my tables.
    Another machine, when i restore, my tables will go to the "system" user too? or i can choice? or i need to create one?A true backup is a copy of the data files at the file/block level. The restore is therefore a restore of the data files/blocks. Applying the redo (archive logs) is also done at the block level. None of that knows or cares (or needs to know or care) about logical objects (such as users, tablespaces, tables, rows, etc) within the database. so if you do a proper restore, you are restoring files to a consistent state and thus everything that was defined within those files will be there when restored.

  • Changing database to noarchivelog mode during impdp

    Hi Guys,
    I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production on RHEL5.
    I am in the middle on the impdp and I want my database to run on noarchivelog as it creates a lot of archivelogs.
    Will it be proper if I stop the import:
    e.g Import> STOP_JOB=IMMEDIATE
    and shutdown the database put the database on noarchivelog mode.
    then opne database and
    impdp hr/hr@mydb ATTACH=myfulljob Will these work fine?
    Or should I execute:
    alter system archive log stop;
    Please Help !!!!!!!!!!!

    Vinod Dhandapani wrote:
    Running the database in Noarchivelog mode means you should be ready to lose data incase there is any crash. I would recommend you to change the size of the redologs so that it will not create frequent archivelogs. Which does nothing about the space required for the archivelogs. If you are generating redo at the rate of 1gb/hour, you will consume archivelog dest space at the rate of 1gb/hour. Doesn't matter if those files are 10mb each or 100mb each.
    If space is the problem then use a shell script to move the archivelog to another location (Tape)....And hopefully that shell script is invoking rman to do the work, so that in the event of recovery, rman will know that backups were taken and where they are located.
    >
    Incase you want to convert the database from archivelog to noarchivelog, follow the steps provided in the following link.
    http://racadmin.blogspot.com/2011/06/convert-archivelog-mode-to-noarchivelog.html
    Thanks

Maybe you are looking for

  • CBMA issue in PI 7.31 - Connection type is RFC rather than JMS.

    Hi, I am facing issue with CBMA in production PI 7.31 which is working perfectly in quality system. I configured alert rules and scheduled AlertConsumerJob also. Configured alerting.isactive to true and alerting.target to '1'. I observed that Message

  • Internal Table - logic for Chunk

    Hi, I have an internal table with n records. I want to use at a time say max of 20 records . This is calling a BDC. i.e. loop at n record. take 20 records. call BDC. then next set of recrds. repeat process till all records processed. Thanks in Advanc

  • Solaris10 FlashPlayer 10.3.181.22 not available to download

    I am using Solaris 10 and even though the http://www.adobe.com/software/flash/about/ site is saying that v10.3.181.22 for Solaris is available when I go to the download site (http://get.adobe.com/flashplayer/) it only alows me to download Adobe Flash

  • Exporting Tables to Word from Pages

    I designed this really neat diary. I have two problems: 1. It is really slow - when I type an entry. 2. When I try to export it to Word (Mac or Windows) . It bears no resemblance to my original - tables broken into two etc. The Pageset up appears to

  • The Backflush information is not uploaded in SAP platform

    Hi all, I am unable to interprit the sentence "The Backflush information is not uploaded in SAP platform". can anybody explain me what is that and how to achieve that. Thanks, Amar Y.