Database restore script

How to use below script to generate restoration script. One of my friend told me that ,
This script will generate a restore script. This could be used for all customers. The server, drives, and paths would all have to be there. Just restore master...then msdb. Then run the script and save
the output. You would need to update the path to reflect the current path. Then just kick it off. If all of the drives and paths are there, it will work.
But when i execute this script, i am getting out put just like completed successfully. 
Please help me.
SET NOCOUNT ON;
DECLARE @databaseName sysname 
DECLARE @backupStartDate datetime 
DECLARE @backup_set_id_start INT 
DECLARE @backup_set_id_end INT 
DECLARE db_cursor CURSOR FOR  
select distinct database_name
FROM  msdb.dbo.backupset
WHERE database_name NOT IN ('master','model','msdb','tempdb')  
OPEN db_cursor   
FETCH NEXT FROM db_cursor INTO @databaseName   
WHILE @@FETCH_STATUS = 0   
BEGIN   
-- set database to be used 
SET @databaseName = @databaseName
SELECT @backup_set_id_start = MAX(backup_set_id)  
FROM  msdb.dbo.backupset  
WHERE database_name = @databaseName AND type = 'D' 
SELECT @backup_set_id_end = MIN(backup_set_id)  
FROM  msdb.dbo.backupset  
WHERE database_name = @databaseName AND type = 'D' 
AND backup_set_id > @backup_set_id_start 
IF @backup_set_id_end IS NULL SET @backup_set_id_end = 999999999 
SELECT 'RESTORE DATABASE ' + @databaseName + ' FROM DISK = '''  
+ mf.physical_device_name + ''' WITH REPLACE' 
FROM    msdb.dbo.backupset b, 
msdb.dbo.backupmediafamily mf 
WHERE    b.media_set_id = mf.media_set_id 
AND b.database_name = @databaseName 
AND b.backup_set_id = @backup_set_id_start 
FETCH NEXT FROM db_cursor INTO @databaseName   
END   
CLOSE db_cursor   
DEALLOCATE db_cursor

If you run this script it will generated restore script based on last destination from where database was restored. It will query msdb restore history and take values from there. But why do you need this instead write your custom script
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

Similar Messages

  • 9i Database - Restore to a new host, validating RMAN backup

    Hi all,
    I could use your help, for any of you who remember how to do this in 9i. On one of my production databases, running 9.2.0.6.0, I have a nightly RMAN script that writes the backup to a large shared drive (this is on a Windows 2003 server). This backup uses a recovery catalog.
    I have a test server, and I want to try and restore last night's backup on this test server, without touching the recovery catalog - purely as a means to go through the recovery process, and to validate our backups (this is also for SOX compliance, as this database is for the financial system).
    I have been looking through the 9i documentation, and was hoping to have some detailed steps here: http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrecov.htm#1007514
    but I don't see a lot of information there.
    I believe that this should be a rather simple process. On the test server, I have installed the 9.2.0.6 software, and created the Oracle Service using the same name as production. The test server can also see the shared drive that houses the backup files from the production system.
    Here are the steps I am trying, please let me know what I need to change. Thanks all!!
    rman target / nocatalog
    RMAN> set DBID 3679803977
    RMAN> startup nomount
    RMAN> restore controlfile from autobackup; --- this throws errors, see below
    Starting restore at 11-NOV-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=12 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20081111
    channel ORA_DISK_1: looking for autobackup on day: 20081110
    channel ORA_DISK_1: looking for autobackup on day: 20081109
    channel ORA_DISK_1: looking for autobackup on day: 20081108
    channel ORA_DISK_1: looking for autobackup on day: 20081107
    channel ORA_DISK_1: looking for autobackup on day: 20081106
    channel ORA_DISK_1: looking for autobackup on day: 20081105
    channel ORA_DISK_1: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/11/2008 16:43:18
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece

    Many thanks for the helpful replies so far, Hemant!! I had to shelve this issue for a few days, back at it today.
    I have made some progress, I am able to restore the control file now - what I am doing, is copying the autobackup controlfile from the network drive over onto the server locally (E:\oracle\ora92\database\BACKUPCONTROL.ORA), then I am able to restore the controlfile with this:
    restore controlfile from 'E:\oracle\ora92\database\BACKUPCONTROL.ORA';
    And I can see that it restores all 3 of my controlfiles.
    The next step would be to do the database restore. When I issue the "restore database;" command, I can see that it lists out all of the datafiles that it needs to restore from the backup set, but then after about a minute, I see these error messages pop up:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/19/2008 10:55:54
    ORA-19587: error occurred reading 0 bytes at block number 1
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27067: skgfdisp: size of buffer is invalid
    OSD-04026: Invalid parameter passed.
    When I looked up those last 2 error codes on Metalink, I see document ID 213858.1 that looks like this normally happens when the backup piece that has Read-Only permissions. I have confirmed that the backup files on the network drive are not Read-Only, I have full Read/Write privileges on them. So once again, I am stumped.
    Any thoughts? I might go ahead and log an SR for this, to try and get it resolved.
    Thanks!

  • New database create script using DBCA

    Hi,
    I'm trying to generate a database create script using DBCA. I have another database running on the same physical server(HP-UX and oracle 10g R2). When I run the DBCA, it is creating scripts to Clone DB and Clone RMAN restore. Why it is not generating to create a new database instead of cloning the DB.
    Thanks

    Rock2 wrote:
    Hi,
    I'm trying to generate a database create script using DBCA. I have another database running on the same physical server(HP-UX and oracle 10g R2). When I run the DBCA, it is creating scripts to Clone DB and Clone RMAN restore. Why it is not generating to create a new database instead of cloning the DB.
    ThanksWhen you launch dbca, you need to select to create a 'custom' database, not one of the pre-canned templates. The templates will all result in a script that does an rman restore from a backup that comes with the product. Selecting 'custom' database will result in scripts built around the CREATE DATABASE sql statement.

  • Database Recovery Scripts

    Does anyone have a set of database recovery scripts for various scenarios for 8i and 9i databases running on Windows 2000 and 2003?
    Cheers,
    Derek.

    >>
    We do a cold backup each night and have archive on. The scenarios are any that may occur i.e., media failure, dropped tables, lost control files etc.
    >>
    Hey Derek, the problem with cold backup is incase of media recovery required, you can't simply resotre the datafile/s which have/has problems. You need to restore complete database.
    Its difficult to have incomplete reocvery or point-in-time recovery having cold backups.
    I strongly recommend you start thinking about online backups. You need to assess your business requirements, and much you can efforts to loose?
    jaffar

  • Database restore failing

    Hi,
    I have two databases. One is called AX12_Base and the other is AX12_UAT_Base.
    I'm trying to restore a backup of AX12_Base to AX12_UAT_Base but keep getting the below error:
    I have tried killing any processes running on AX12_UAT_Base and have also tried doing the restore in SINGLE_USER mode but so far no joy.
    Can anybody please suggest how I might get past this?
    Cheers
    Paul

    Script should be like below. Close all existing connections and any SSMS window open. Now open new query window in master and run below
    use master
    go
    alter database db_name set single_user with rollback immediate
    go
    --restore script
    go
    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

  • SAP failed to start after database restore

    SAP Version: SAP R/3 Enterprise
    Database: MSSQL Server 2000
    OS: Windows
    We had performed a database restore from the backup which was taken before the system rebuilt. The SAP failed to bring up as the dispatcher stopped due to the work processes died. After the database restore, we had run the SAP Tools for MSSQL Server but still did not manage to bring up the system. Please find below the logs for the developer trace and the dev_w0.
    <b>dev_disp</b>
    trc file: "dev_disp", trc level: 1, release: "640"
    Wed Dec 05 11:03:58 2007
    kernel runs with dp version 136000(ext=102000) (@(#) DPLIB-INT-VERSION-136000-UC)
    length of sys_adm_ext is 524 bytes
    sysno      00
    sid        Q02
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    196
    intno      20020600
    make:      multithreaded, Unicode
    pid        2896
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2896) [dpxxdisp.c   1102]
         shared lib "dw_xml.dll" version 196 successfully loaded
         shared lib "dw_xtc.dll" version 196 successfully loaded
         shared lib "dw_stl.dll" version 196 successfully loaded
         shared lib "dw_gui.dll" version 196 successfully loaded
         shared lib "dw_mdm.dll" version 196 successfully loaded
    Wed Dec 05 11:04:02 2007
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3881]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >ibwoksapq02_Q02_00                      <
    DpShMCreate: sizeof(wp_adm)          15840     (1320)
    DpShMCreate: sizeof(tm_adm)          2969176     (14772)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (424)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 07910040, size: 3386992)
    DpShMCreate: allocated sys_adm at 07910040
    DpShMCreate: allocated wp_adm at 07911B88
    DpShMCreate: allocated tm_adm_list at 07915968
    DpShMCreate: allocated tm_adm at 07915990
    DpShMCreate: allocated wp_ca_adm at 07BEA7E8
    DpShMCreate: allocated appc_ca_adm at 07BF05A8
    DpShMCreate: allocated comm_adm_list at 07BF24E8
    DpShMCreate: allocated comm_adm at 07BF2500
    DpShMCreate: allocated vmc_adm_list at 07C391D0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 07C391F8
    DpShMCreate: allocated wall_adm at 07C39200
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    Wed Dec 05 11:04:03 2007
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 1131 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1476]
    ***LOG Q0K=> DpMsAttach, mscon ( ibwoksapq02) [dpxxdisp.c   10113]
    DpStartStopMsg: send start message (myname is >ibwoksapq02_Q02_00                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 196
    Release check o.K.
    Wed Dec 05 11:04:43 2007
    ERROR => W0 (pid 1368) died [dpxxdisp.c   12682]
    ERROR => W1 (pid 2032) died [dpxxdisp.c   12682]
    ERROR => W2 (pid 772) died [dpxxdisp.c   12682]
    ERROR => W3 (pid 3272) died [dpxxdisp.c   12682]
    ERROR => W4 (pid 2980) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W5 (pid 3344) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W6 (pid 2848) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W7 (pid 3056) died [dpxxdisp.c   12682]
    ERROR => W8 (pid 3308) died [dpxxdisp.c   12682]
    ERROR => W9 (pid 596) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W10 (pid 1988) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W11 (pid 2136) died [dpxxdisp.c   12682]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-1368 (SIGUSR2)
    ERROR => DpWpKill(1368, SIGUSR2) failed [dpxxtool.c   2508]
    killing W1-2032 (SIGUSR2)
    ERROR => DpWpKill(2032, SIGUSR2) failed [dpxxtool.c   2508]
    killing W2-772 (SIGUSR2)
    ERROR => DpWpKill(772, SIGUSR2) failed [dpxxtool.c   2508]
    killing W3-3272 (SIGUSR2)
    ERROR => DpWpKill(3272, SIGUSR2) failed [dpxxtool.c   2508]
    killing W4-2980 (SIGUSR2)
    ERROR => DpWpKill(2980, SIGUSR2) failed [dpxxtool.c   2508]
    killing W5-3344 (SIGUSR2)
    ERROR => DpWpKill(3344, SIGUSR2) failed [dpxxtool.c   2508]
    killing W6-2848 (SIGUSR2)
    ERROR => DpWpKill(2848, SIGUSR2) failed [dpxxtool.c   2508]
    killing W7-3056 (SIGUSR2)
    ERROR => DpWpKill(3056, SIGUSR2) failed [dpxxtool.c   2508]
    killing W8-3308 (SIGUSR2)
    ERROR => DpWpKill(3308, SIGUSR2) failed [dpxxtool.c   2508]
    killing W9-596 (SIGUSR2)
    ERROR => DpWpKill(596, SIGUSR2) failed [dpxxtool.c   2508]
    killing W10-1988 (SIGUSR2)
    ERROR => DpWpKill(1988, SIGUSR2) failed [dpxxtool.c   2508]
    killing W11-2136 (SIGUSR2)
    ERROR => DpWpKill(2136, SIGUSR2) failed [dpxxtool.c   2508]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:04:53 2007
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Wed Dec 05 11:04:53 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     1368 Ended         no      1   0             0                                                             
    1 DIA     2032 Ended         no      1   0             0                                                             
    2 DIA      772 Ended         no      1   0             0                                                             
    3 DIA     3272 Ended         no      1   0             0                                                             
    4 DIA     2980 Ended         no      1   0             0                                                             
    5 UPD     3344 Ended         no      1   0             0                                                             
    6 ENQ     2848 Ended         no      1   0             0                                                             
    7 BTC     3056 Ended         no      1   0             0                                                             
    8 BTC     3308 Ended         no      1   0             0                                                             
    9 BTC      596 Ended         no      1   0             0                                                             
    10 SPO     1988 Ended         no      1   0             0                                                             
    11 UP2     2136 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Wed Dec 05 11:04:53 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    5
    2000
    11
    11
    --------++++--
    +
    DIA
    3
    3
    2000
    5
    2
    --------++++--
    +
    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          17
    wake_evt_udp_now     0
    wake events           total    13,  udp     6 ( 46%),  shm     7 ( 53%)
    since last update     total    13,  udp     6 ( 46%),  shm     7 ( 53%)
    Dump of tm_adm structure:               Wed Dec 05 11:04:53 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    EX-T12, U13,                 , 158.155.25.171, 11:04:07, M0, W-1,     , 1/0
    Workprocess Comm. Area Blocks               Wed Dec 05 11:04:53 2007
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:04:58 2007
    NiISelect: TIMEOUT occured (5000 ms)
    DpHalt: shutdown server >ibwoksapq02_Q02_00                      < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    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 (3968) (SOFT_KILL)
    Stop icman
    killing process (196) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:3968  HANDLE:1540)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:04:59 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:3968  HANDLE:1540)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:00 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:01 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:02 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:03 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:04 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:05 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:06 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:07 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:08 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:196  HANDLE:1548)
    waiting for termination of icman
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1569
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 11:05:09 2007
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:196  HANDLE:1548)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    DpStartStopMsg: send stop message (myname is >ibwoksapq02_Q02_00                      <)
    NiIMyHostName: hostname = 'ibwoksapq02'
    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 = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiIRead: read 229, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=229
    NiBufIn: Packet complete for hdl 3
    NiBufReceive starting
    MsINiRead: received 229 bytes
    MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
    DpHalt: received 119 bytes from message server
    NiPRead: WSAEWOULDBLOCK 1.time 4
    NiIPeek: peek for hdl 3 / socket 1476 timed out (r; 0)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: write 114, 1 packs, MESG_IO, hdl 3, data complete
    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: read 114, 1 packs, MESG_IO, hdl 3, data complete
    NiBufIn: NIBUF len=114
    NiBufIn: Packet complete for hdl 3
    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
    NiPRead: WSAEWOULDBLOCK 1.time 4
    Wed Dec 05 11:05:10 2007
    NiIPeek: peek for hdl 3 / socket 1476 timed out (r; 1000)
    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   10403]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    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/12
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 23)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1476
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2896) [dpxxdisp.c   8776]
    Good Bye .....
    <b></b>
    <b>dev_w0</b>
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Dec 05 11:04:03 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\Q02\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\Q02\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\Q02\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.195)
    B  New connection 0 created
    M sysno      00
    M sid        Q02
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    196
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        1368
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1368) [dpxxdisp.c   1162]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          15840     (1320)
    M  DpShMCreate: sizeof(tm_adm)          2969176     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          290000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 08110040, size: 3386992)
    M  DpShMCreate: allocated sys_adm at 08110040
    M  DpShMCreate: allocated wp_adm at 08111B88
    M  DpShMCreate: allocated tm_adm_list at 08115968
    M  DpShMCreate: allocated tm_adm at 08115990
    M  DpShMCreate: allocated wp_ca_adm at 083EA7E8
    M  DpShMCreate: allocated appc_ca_adm at 083F05A8
    M  DpShMCreate: allocated comm_adm_list at 083F24E8
    M  DpShMCreate: allocated comm_adm at 083F2500
    M  DpShMCreate: allocated vmc_adm_list at 084391D0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 084391F8
    M  DpShMCreate: allocated wall_adm at 08439200
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....

    X Wed Dec 05 11:04:04 2007
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  calling db_connect ...
    C  Thread ID:2236
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'C:\usr\sap\Q02\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      195
    C    patchcomment DBCON: database names must not start with digits (1078650)
    C  np:(local) connection used on IBWOKSAPQ02
    C  CopyLocalParameters: dbuser is 'q02'
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.

    C Wed Dec 05 11:04:05 2007
    C  Provider Release:08.10.3959
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  Cache sizes: header 68 bytes, 20000 names (31680000 bytes), 1000 dynamic statements (5696000 bytes), total 37376068 bytes
    C  Using shared procedure name cache IBWOKSAPQ02_Q02Q02_Q02_MEM initialized by another process.
    C  Connected to db server : [IBWOKSAPQ02] server_used : [np:(local)], dbname: Q02, dbuser: q02
    C  pn_id:IBWOKSAPQ02_Q02Q02_Q02
    C  Not using MARS (on sql 8.0)
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20071205 110404 IBWOKSAPQ02    
    C  The IRow interface is supported by this OLEDB provider
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

    I Wed Dec 05 11:04:10 2007
    I  *** ERROR => OpenProcess PID 3272 failed for checking semaphore 4
                  ERROR_INVALID_PARAMETER: The parameter is incorrect.  [semnt.c      1939]
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0C8B0040, size: 4400128)
    M  SHM_ROLL_AREA          (addr: 2FA50040, size: 161480704)
    M  SHM_PAGING_AREA          (addr: 10500040, size: 73400320)
    M  SHM_ROLL_ADM               (addr: 0CCF0040, size: 1612020)
    M  SHM_PAGING_ADM          (addr: 0CE80040, size: 525344)
    M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 0CF10040
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 12160 bytes (50 server) at 0CFA0040
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    X  ES initialized.
    C  The IRow interface is supported by this OLEDB provider
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 12, CON_ID = -1
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    B  dbtbxbuf: Buffer TABL  (addr: 161000C8, size: 30000128, end: 17D9C4C8)
    B  dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
    B  dbtbxbuf: protect_shm = 0, force_checks = 0
    B  dbtbxbuf: tsize_retry = 14291712
    B  ***LOG BB0=> buffer TABL       started with length 30000128   bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
    B  dbtbxbuf: Buffer TABLP (addr: 17DA00C8, size: 10240000, end: 187640C8)
    B  dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
    B  dbtbxbuf: protect_shm = 0, force_checks = 0
    B  dbtbxbuf: tsize_retry = 5044992
    B  ***LOG BB0=> buffer TABLP      started with length 10240000   bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
    B  dbtbxbuf: Reading TBX statistics:
    B  dbtbxbuf: 0 object entries precreated
    B  Layout of EIBUF buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 344 = 344
    B  2: 12 * 20 = 240
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 232 = 464000
    B  5: 4001 * 4 = 16004
    B  6: 1 * 200 = 200
    B  7: 65 * 4 = 260
    B  8: 13754 * 256 = 3521024
    B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
    B  dbexpbuf: Buffer EIBUF (addr: 187700D0, size: 4194304, end: 18B700D0)
    B  ***LOG BB0=> buffer EIBUF      started with length 4096k      bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
    B  Layout of ESM   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 344 = 344
    B  2: 12 * 20 = 240
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 232 = 464000
    B  5: 4001 * 4 = 16004
    B  6: 1 * 200 = 200
    B  7: 65 * 4 = 260
    B  8: 13754 * 256 = 3521024
    B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
    B  dbexpbuf: Buffer ESM   (addr: 18B800D0, size: 4194304, end: 18F800D0)
    B  ***LOG BB0=> buffer ESM        started with length 4096k      bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
    B  Layout of CUA   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 344 = 344
    B  2: 12 * 20 = 240
    B  3: 3001 * 48 = 144048
    B  4: 1500 * 232 = 348000
    B  5: 3001 * 4 = 12004
    B  6: 1 * 200 = 200
    B  7: 193 * 4 = 772
    B  8: 5012 * 512 = 2566144
    B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
    B  dbexpbuf: Buffer CUA   (addr: 18F900D0, size: 3072000, end: 1927E0D0)
    B  ***LOG BB0=> buffer CUA        started with length 3000k      bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
    B  Layout of OTR   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 344 = 344
    B  2: 12 * 20 = 240
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 232 = 464000
    B  5: 4001 * 4 = 16004
    B  6: 1 * 200 = 200
    B  7: 81 * 4 = 324
    B  8: 13754 * 256 = 3521024
    B  Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
    B  dbexpbuf: Buffer OTR   (addr: 192800D0, size: 4194304, end: 196800D0)
    B  ***LOG BB0=> buffer OTR        started with length 4096k      bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
    B  ***LOG BB0=> buffer CALE       started with length 500000     bytes [dbcalbuf#5 @ 2274] [dbcalbuf2274 ]
    M  call semaphore clean-up function ...
    M  SemCleanup: Reset blocking on semaphore (Key:4/Slot:3)
    M  ***LOG Q0E=> DpSigGenHandler, Exception (c0000005) [dpnttool.c   462]
    M  -
    C-STACK -
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000005 (Access Violation)
    App       : disp+work.EXE (pid=1368)
    When      : 12/5/2007 11:4:11.366
    Threads   : 2
    Computer Name       : IBWOKSAPQ02
    User Name           : SAPServiceQ02
    Number of Processors: 4
    Processor Type: x86 Family 15 Model 2 Stepping 5
    Windows Version     : 5.2 Current Build: 3790
    Stack Dump for Thread Id 8bc
    eax=00262802 ebx=00000002 ecx=0596b003 edx=00003d43 esi=00004200 edi=00004200
    eip=00bbaf10 esp=0526fa88 ebp=0526fa94 iopl=0         nv up ei pl nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
    function : get_nec_length
            00bbaef8 7403             jz      get_nec_length+0x17b (00bbaefd)
            00bbaefa c60100           mov     byte ptr [ecx],0x0           ds:0596b003=??
            00bbaefd 83c120           add     ecx,0x20
            00bbaf00 4a               dec     edx
            00bbaf01 75f2             jnz     get_dbtab_columns+0x87 (00bbaff5)
            00bbaf03 eb19             jmp     get_nec_length+0x19c (00bbaf1e)
            00bbaf05 6685ff           test    di,di
            00bbaf08 7e14             jle     get_nec_length+0x19c (00bbaf1e)
            00bbaf0a 83c103           add     ecx,0x3
            00bbaf0d 0fb7d7           movzx   edx,di
    FAULT-> 00bbaf10 803900           cmp     byte ptr [ecx],0x0           ds:0596b003=??
            00bbaf13 7403             jz      get_nec_length+0x196 (00bbaf18)
            00bbaf15 ff45fc           inc     dword ptr [ebp+0xfc]   ss:0a4dd51a=????????
            00bbaf18 83c120           add     ecx,0x20
            00bbaf1b 4a               dec     edx
            00bbaf1c 75f2             jnz     get_dbtab_columns+0xa2 (00bbb010)
            00bbaf1e 5f               pop     edi
            00bbaf1f 8b0dccfcc901  mov ecx,[FDESCR2_SIZE (01c9fccc)] ds:01c9fccc=0000017c
            00bbaf25 0fbf55fc         movsx   edx,word ptr [ebp+0xfc]    ss:0a4dd51b=????
            00bbaf29 83c102           add     ecx,0x2
            00bbaf2c 0fafca           imul    ecx,edx
            00bbaf2f 8d440102         lea     eax,[ecxeax0x2]      ds:054d0289=????????
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0526fa94 00bbefb1 00000287 0526fb24 00000000 0d064200 disp+work!get_nec_length [dbntab.c (12438)]
    0526faf4 00bc2ec5 0526fb80 0526fb24 0526fb20 00000000 disp+work!ftab_select [dbntab.c (10343)]
    0526fb44 00bc390e 00000000 0526fb80 00000000 01c9fcbc disp+work!fetch_entry [dbntab.c (7186)]
    0526fb5c 00bc4274 00000000 0526fb80 01d577ec 01d57760 disp+work!procure_2 [dbntab.c (6855)]
    0526fbb8 00c921a9 00000002 0526fc30 0526fc44 00000000 disp+work!db_ntab [dbntab.c (3104)]
    0526fc4c 00c950a2 0fe300c8 0fe30040 00000000 00310030 disp+work!read_ntab [dbcalbuf.c (3177)]
    0526fd40 00c95805 00000000 00000000 0fe30040 00660075 disp+work!db_cbufload [dbcalbuf.c (4507)]
    0526fd68 00c97937 01d58d0c 00000008 0fe30040 0526fd90 disp+work!reset_handling [dbcalbuf.c (2676)]
    0526fdac 00c97ab8 00000000 7c355852 00000000 00000005 disp+work!init_shm_and_load_cals [dbcalbuf.c (2278)]
    0526fdd8 00c5904d 0526fdf4 05b30dcc 00000000 0000000a disp+work!db_cbufinst [dbcalbuf.c (1599)]
    0526fe08 00ca8ed0 057c7200 057c7178 00000090 057c717c disp+work!db_calinit [dbbmng0.c (2786)]
    0526fe1c 0045790a 00000011 00000004 00000000 00000000 disp+work!db_init [dblink.c (2213)]
    0526fe3c 00488e83 00000011 00000000 024987e0 00000000 disp+work!ThCallHooks [thxxtool3.c (246)]
    0526fe58 004980ff 00000000 00000002 0526ff04 00000000 disp+work!ThIPCInit [thxxhead.c (1914)]
    0526fee8 0049c594 00000001 05425fd0 00000000 00000000 disp+work!tskh_init [thxxhead.c (1356)]
    0526ff04 004233fb 00000000 7ffd8000 0526ff60 00401085 disp+work!tskhstart [thxxhead.c (1017)]
    0526ff14 00401085 00000003 05425fd0 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1011)]
    0526ff60 0111cebb 00000003 05425fd0 05426888 017d9000 disp+work!nlsui_main [thxxanf.c (85)]
    0526ffc0 77e6f23b 00000000 00000000 7ffd8000 00000000 disp+work!wmainCRTStartup [crtexe.c (395)]
    0526fff0 00000000 0111cd78 00000000 00905a4d 00000003 kernel32!ProcessIdToSessionId
    Stack Dump for Thread Id 838
    eax=00000001 ebx=00000103 ecx=7c829f59 edx=00410000 esi=00000000 edi=00000000
    eip=7c8285ec esp=078ffeb0 ebp=078ffef4 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
            7c8285ec c3               ret
            7c8285ed 8da42400000000   lea     esp,[esp]              ss:078ffeb0=7c8270fb
            7c8285f4 8d642400         lea     esp,[esp]              ss:0cb6d937=00000000
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    078ffef4 01076a50 000006a0 00000000 00000000 0542b0d0 ntdll!KiFastSystemCallRet
    078fff84 7c349565 00000000 00000000 00000000 0542b038 disp+work!SigIMsgFunc [signt.c (632)]
    078fffb8 77e64829 0542b038 00000000 00000000 0542b038 MSVCR71!endthreadex
    078fffec 00000000 7c3494f6 0542b038 00000000 00000000 kernel32!GetModuleHandleA
    M  -

    M Wed Dec 05 11:04:11 2007
    M  call clean-up function ...
    M  in_ThErrHandle: 1
    M  ThSigHandler: signal (step 1, th_errno 11, action 4)

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server ibwoksapq02_Q02_00 on host ibwoksapq02 (wp 0)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Wed Dec 05 11:04:11 2007
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        9806
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  ThIErrHandle: call ThrCoreInfo
    A  RABAX in run level 0
    A  RABAX in unkown environment: task_type=0, run level=0, rabax state=80000000 ztta_task_type=0
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000005 (Access Violation)
    App       : disp+work.EXE (pid=1368)
    When      : 12/5/2007 11:4:11.476
    Threads   : 2
    Computer Name       : IBWOKSAPQ02
    User Name           : SAPServiceQ02
    Number of Processors: 4
    Processor Type: x86 Family 15 Model 2 Stepping 5
    Windows Version     : 5.2 Current Build: 3790
    Stack Dump for Thread Id 8bc
    eax=00262802 ebx=00000002 ecx=0596b003 edx=00003d43 esi=00004200 edi=00004200
    eip=00bbaf10 esp=0526fa88 ebp=0526fa94 iopl=0         nv up ei pl nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
    function : get_nec_length
            00bbaef8 7403             jz      get_nec_length+0x17b (00bbaefd)
            00bbaefa c60100           mov     byte ptr [ecx],0x0           ds:0596b003=??
            00bbaefd 83c120           add     ecx,0x20
            00bbaf00 4a               dec     edx
            00bbaf01 75f2             jnz     get_dbtab_columns+0x87 (00bbaff5)
            00bbaf03 eb19             jmp     get_nec_length+0x19c (00bbaf1e)
            00bbaf05 6685ff           test    di,di
            00bbaf08 7e14             jle     get_nec_length+0x19c (00bbaf1e)
            00bbaf0a 83c103           add     ecx,0x3
            00bbaf0d 0fb7d7           movzx   edx,di
    FAULT-> 00bbaf10 803900           cmp     byte ptr [ecx],0x0           ds:0596b003=??
            00bbaf13 7403             jz      get_nec_length+0x196 (00bbaf18)
            00bbaf15 ff45fc           inc     dword ptr [ebp+0xfc]   ss:0a4da78e=????????
            00bbaf18 83c120           add     ecx,0x20
            00bbaf1b 4a               dec     edx
            00bbaf1c 75f2             jnz     get_dbtab_columns+0xa2 (00bbb010)
            00bbaf1e 5f               pop     edi
            00bbaf1f 8b0dccfcc901  mov ecx,[FDESCR2_SIZE (01c9fccc)] ds:01c9fccc=0000017c
            00bbaf25 0fbf55fc         movsx   edx,word ptr [ebp+0xfc]    ss:0a4da78f=????
            00bbaf29 83c102           add     ecx,0x2
            00bbaf2c 0fafca           imul    ecx,edx
            00bbaf2f 8d440102         lea     eax,[ecxeax0x2]      ds:054cd4fd=????????
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0526fa94 00bbefb1 00000287 0526fb24 00000000 0d064200 disp+work!get_nec_length [dbntab.c (12438)]
    0526faf4 00bc2ec5 0526fb80 0526fb24 0526fb20 00000000 disp+work!ftab_select [dbntab.c (10343)]
    0526fb44 00bc390e 00000000 0526fb80 00000000 01c9fcbc disp+work!fetch_entry [dbntab.c (7186)]
    0526fb5c 00bc4274 00000000 0526fb80 01d577ec 01d57760 disp+work!procure_2 [dbntab.c (6855)]
    0526fbb8 00c921a9 00000002 0526fc30 0526fc44 00000000 disp+work!db_ntab [dbntab.c (3104)]
    0526fc4c 00c950a2 0fe300c8 0fe30040 00000000 00310030 disp+work!read_ntab [dbcalbuf.c (3177)]
    0526fd40 00c95805 00000000 00000000 0fe30040 00660075 disp+work!db_cbufload [dbcalbuf.c (4507)]
    0526fd68 00c97937 01d58d0c 00000008 0fe30040 0526fd90 disp+work!reset_handling [dbcalbuf.c (2676)]
    0526fdac 00c97ab8 00000000 7c355852 00000000 00000005 disp+work!init_shm_and_load_cals [dbcalbuf.c (2278)]
    0526fdd8 00c5904d 0526fdf4 05b30dcc 00000000 0000000a disp+work!db_cbufinst [dbcalbuf.c (1599)]
    0526fe08 00ca8ed0 057c7200 057c7178 00000090 057c717c disp+work!db_calinit [dbbmng0.c (2786)]
    0526fe1c 0045790a 00000011 00000004 00000000 00000000 disp+work!db_init [dblink.c (2213)]
    0526fe3c 00488e83 00000011 00000000 024987e0 00000000 disp+work!ThCallHooks [thxxtool3.c (246)]
    0526fe58 004980ff 00000000 00000002 0526ff04 00000000 disp+work!ThIPCInit [thxxhead.c (1914)]
    0526fee8 0049c594 00000001 05425fd0 00000000 00000000 disp+work!tskh_init [thxxhead.c (1356)]
    0526ff04 004233fb 00000000 7ffd8000 0526ff60 00401085 disp+work!tskhstart [thxxhead.c (1017)]
    0526ff14 00401085 00000003 05425fd0 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1011)]
    0526ff60 0111cebb 00000003 05425fd0 05426888 017d9000 disp+work!nlsui_main [thxxanf.c (85)]
    0526ffc0 77e6f23b 00000000 00000000 7ffd8000 00000000 disp+work!wmainCRTStartup [crtexe.c (395)]
    0526fff0 00000000 0111cd78 00000000 00905a4d 00000003 kernel32!ProcessIdToSessionId
    Stack Dump for Thread Id 838
    eax=00000001 ebx=00000103 ecx=7c829f59 edx=00410000 esi=00000000 edi=00000000
    eip=7c8285ec esp=078ffeb0 ebp=078ffef4 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
            7c8285ec c3               ret
            7c8285ed 8da42400000000   lea     esp,[esp]              ss:078ffeb0=7c8270fb
            7c8285f4 8d642400         lea     esp,[esp]              ss:0cb6abab=00000000
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    078ffef4 01076a50 000006a0 00000000 00000000 0542b0d0 ntdll!KiFastSystemCallRet
    078fff84 7c349565 00000000 00000000 00000000 0542b038 disp+work!SigIMsgFunc [signt.c (632)]
    078fffb8 77e64829 0542b038 00000000 00000000 0542b038 MSVCR71!endthreadex
    078fffec 00000000 7c3494f6 0542b038 00000000 00000000 kernel32!GetModuleHandleA
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX:  level LEV_RX_PXA_RELEASE_MTX failed.
    A  *** suicide ON
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP entered.
    A  ** RABAX: level LEV_RX_VMIT_CLEANUP completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX:  level LEV_RX_STANDARD failed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    X  *** ERROR => invalid MM administration (adm) 00000000  (admCheck)00000000 [mmxx.c       2127]
    A  ** RABAX:  level LEV_RX_WRITE_SNAP failed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX:  level LEV_RX_RESET_SHMLOCKS failed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    M  RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = 048810F0/00000000/0/0/1
    M  RmCleanUpResources3: no resources registered
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_SUICIDE
    A  *
    A  * Non recoverable error. Aborting process...
    A  *
    M  ***LOG R63=> ThWpHalt, halt wp () [thxxhead.c   15138]
    M  in_ThErrHandle: 2
    M  *** ERROR => ThWpHalt: halt wp (step 1, th_errno 5, action 2, level 2) [thxxhead.c   9621]
    M  ***LOG R0H=> ThIErrHandle, Loop in ThErrHandle, restart wp () [thxxhead.c   9642]
    M  -
    C-STACK -
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Application exception occurred:
    Exception : c0000005 (Access Violation)
    App       : disp+work.EXE (pid=1368)
    When      : 12/5/2007 11:4:11.507
    Threads   : 2
    Computer Name       : IBWOKSAPQ02
    User Name           : SAPServiceQ02
    Number of Processors: 4
    Processor Type: x86 Family 15 Model 2 Stepping 5
    Windows Version     : 5.2 Current Build: 3790
    Stack Dump for Thread Id 8bc
    eax=00262802 ebx=00000002 ecx=0596b003 edx=00003d43 esi=00004200 edi=00004200
    eip=00bbaf10 esp=0526fa88 ebp=0526fa94 iopl=0         nv up ei pl nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
    function : get_nec_length
            00bbaef8 7403             jz      get_nec_length+0x17b (00bbaefd)
            00bbaefa c60100           mov     byte ptr [ecx],0x0           ds:0596b003=30
            00bbaefd 83c120           add     ecx,0x20
            00bbaf00 4a               dec     edx
            00bbaf01 75f2             jnz     get_dbtab_columns+0x87 (00bbaff5)
            00bbaf03 eb19             jmp     get_nec_length+0x19c (00bbaf1e)
            00bbaf05 6685ff           test    di,di
            00bbaf08 7e14             jle     get_nec_length+0x19c (00bbaf1e)
            00bbaf0a 83c103           add     ecx,0x3
            00bbaf0d 0fb7d7           movzx   edx,di
    FAULT-> 00bbaf10 803900           cmp     byte ptr [ecx],0x0           ds:0596b003=30
            00bbaf13 7403             jz      get_nec_length+0x196 (00bbaf18)
            00bbaf15 ff45fc           inc     dword ptr [ebp+0xfc]   ss:0a4d9f06=????????
            00bbaf18 83c120           add     ecx,0x20
            00bbaf1b 4a               dec     edx
            00bbaf1c 75f2             jnz     get_dbtab_columns+0xa2 (00bbb010)
            00bbaf1e 5f               pop     edi
            00bbaf1f 8b0dccfcc901  mov ecx,[FDESCR2_SIZE (01c9fccc)] ds:01c9fccc=0000017c
            00bbaf25 0fbf55fc         movsx   edx,word ptr [ebp+0xfc]    ss:0a4d9f07=????
            00bbaf29 83c102           add     ecx,0x2
            00bbaf2c 0fafca           imul    ecx,edx
            00bbaf2f 8d440102         lea     eax,[ecxeax0x2]      ds:054ccc75=????????
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0526fa94 00bbefb1 00000287 0526fb24 00000000 0d064200 disp+work!get_nec_length [dbntab.c (12438)]
    0526faf4 00bc2ec5 0526fb80 0526fb24 0526fb20 00000000 disp+work!ftab_select [dbntab.c (10343)]
    0526fb44 00bc390e 00000000 0526fb80 00000000 01c9fcbc disp+work!fetch_entry [dbntab.c (7186)]
    0526fb5c 00bc4274 00000000 0526fb80 01d577ec 01d57760 disp+work!procure_2 [dbntab.c (6855)]
    0526fbb8 00c921a9 00000002 0526fc30 0526fc44 00000000 disp+work!db_ntab [dbntab.c (3104)]
    0526fc4c 00c950a2 0fe300c8 0fe30040 00000000 00310030 disp+work!read_ntab [dbcalbuf.c (3177)]
    0526fd40 00c95805 00000000 00000000 0fe30040 00660075 disp+wor

    Hi Guenther,
    I've managed to bring up the SAP now after changing some parameters
    in the instance profile that are pointing to D:\. It's now up and
    running, but the dispatcher is in yellow colour. The status
    is "Running, Message Server connection ok, Dialog Queue time: 0.00 sec,
    J2EE status info unavailable". I did not select Java during the
    installation. Only ABAP was selected.
    I am able to login to the R/3 system now. I notice that there are some
    parameters in the instance profile are related to the Java like
    rdisp/j2ee_start, login/accept_sso2_ticket and etc. Is it possible that
    database backup that I used to restore was from a ABAP + JAVA system?
    Please see below for the dev_disp
    trc file: "dev_disp", trc level: 1, release: "640"
    Fri Dec 07 03:53:19 2007
    kernel runs with dp version 136(ext=102) (@(#) DPLIB-INT-VERSION-136)
    length of sys_adm_ext is 312 bytes
    sysno      00
    sid        Q02
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    211
    intno      20020600
    make:      multithreaded, ASCII
    pid        3836
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3836) [dpxxdisp.c   1102]
         shared lib "dw_xml.dll" version 211 successfully loaded
         shared lib "dw_xtc.dll" version 211 successfully loaded
         shared lib "dw_stl.dll" version 211 successfully loaded
         shared lib "dw_gui.dll" version 211 successfully loaded
         shared lib "dw_mdm.dll" version 211 successfully loaded
    Fri Dec 07 03:53:23 2007
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpIPCInit2: start server >ibwoksapq02_Q02_00                      <
    DpShMCreate: sizeof(wp_adm)          11648     (832)
    DpShMCreate: sizeof(tm_adm)          2379840     (11840)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)          192000     (384)
    DpShMCreate: sizeof(vmc_adm)          0     (364)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 06340040, size: 2670480)
    DpShMCreate: allocated sys_adm at 06340040
    DpShMCreate: allocated wp_adm at 063417D8
    DpShMCreate: allocated tm_adm_list at 06344558
    DpShMCreate: allocated tm_adm at 06344580
    DpShMCreate: allocated wp_ca_adm at 065895C0
    DpShMCreate: allocated appc_ca_adm at 0658DC10
    DpShMCreate: allocated comm_adm_list at 0658F380
    DpShMCreate: allocated comm_adm at 0658F398
    DpShMCreate: allocated vmc_adm_list at 065BE198
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 065BE1C0
    DpShMCreate: allocated wall_adm at 065BE1C8
    MBUF state OFF
    Fri Dec 07 03:53:24 2007
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 1299 blocks reserved for free list.
    ES initialized.
    ERROR => DpForkExec: CreateProcess (3: No such process) [dpntdisp.c   1486]
    ***LOG Q0I=> DpForkExec, CreateProcess ( CreateProcess 3) [dpntdisp.c   1488]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel unknown
    Processor-Count           : 4
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 4190208 K
    Config. maximum size      : 4190208 K
    Avail.  maximum size      : 4190208 K
    Num
    Pagefile
    Min.Size
    Max.Size
    Avail.Max
    Curr.Size
    1
    c:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    NT Task Manager Informations
    Total Handles             :    12859
    Total Threads             :      703
    Total Processes           :       54
    Commit Charge Total       :  1974636 K
    Commit Charge Limit       :  6137308 K
    Commit Charge Peak        :  1975500 K
    Phys.Memory Total         :  2096524 K
    Phys.Memory Available     :  1449380 K
    File Cache                :   116072 K
    Kernel Memory Total       :   104040 K
    Kernel Memory Paged       :    91112 K
    Kernel Memory Nonpaged    :    12928 K
    Memory usage of current process
    Total virt.address space  :  2097024 K
    Avail.virt.address space  :   895036 K
    Private Pages             :        0 K
    Total heap size           :    12826 K
    Virtual memory regions    :        0 K
    Uncommitted heap memory   :     7632 K
    Allocated heap memory     :     5028 K
    Moveable heap memory      :        0 K
    DDE shared heap memory    :        0 K
    Memory usage of all processes
    PID
    Image
    Instance
    Work.Set
    WS Peak
    Priv.Pages
    PP Peak
    Pg Fault
    4
    212 K
    2068 K
    0 K
    0 K
    128
    280
    smss.exe
    452 K
    468 K
    164 K
    164 K
    0
    352
    winlogon.exe
    9848 K
    9920 K
    6608 K
    6616 K
    2
    400
    services.exe
    3844 K
    3852 K
    1712 K
    1736 K
    1
    412
    lsass.exe
    9664 K
    9724 K
    9040 K
    9156 K
    2
    636
    svchost.exe
    2692 K
    2692 K
    900 K
    900 K
    0
    816
    svchost.exe
    22124 K
    22364 K
    16068 K
    20016 K
    13
    968
    spoolsv.exe
    4708 K
    4800 K
    3608 K
    3796 K
    1
    1112
    svchost.exe
    2116 K
    2116 K
    568 K
    568 K
    0
    1196
    inetinfo.exe
    8520 K
    10552 K
    3396 K
    5408 K
    3
    1220
    Srvany.exe
    1412 K
    1424 K
    300 K
    316 K
    0
    1244
    lmwu.exe
    2464 K
    2472 K
    724 K
    748 K
    0
    1252
    sqlservr.exe
    119352 K
    119352 K
    93168 K
    93204 K
    29
    1312
    ntrtscan.exe
    4012 K
    55404 K
    2536 K
    53960 K
    16
    1688
    sapstartsrv.exe
    21016 K
    21016 K
    22168 K
    22168 K
    5
    1752
    tmlisten.exe
    7368 K
    8080 K
    4028 K
    5052 K
    4
    1844
    OfcPfwSvc.exe
    5000 K
    5508 K
    3828 K
    4344 K
    2
    1888
    svchost.exe
    7568 K
    9404 K
    5036 K
    6952 K
    3
    2272
    svchost.exe
    4464 K
    4516 K
    2472 K
    22888 K
    1
    2296
    svchost.exe
    3880 K
    3880 K
    2932 K
    2932 K
    1
    2308
    UQ8188.EXE
    2684 K
    2748 K
    1152 K
    1256 K
    1
    2860
    winlogon.exe
    3320 K
    9008 K
    5136 K
    7604 K
    10
    3148
    userinit.exe
    2984 K
    2984 K
    1980 K
    1980 K
    0
    3156
    rdpclip.exe
    2916 K
    2916 K
    924 K
    972 K
    0
    3224
    userinit.exe
    2116 K
    2184 K
    608 K
    628 K
    0
    3244
    ctfmon.exe
    2752 K
    3016 K
    504 K
    844 K
    0
    3256
    Explorer.EXE
    11508 K
    11540 K
    7104 K
    7136 K
    4
    3328
    pccntmon.exe
    4572 K
    4572 K
    2436 K
    2444 K
    1
    3336
    jusched.exe
    2428 K
    2428 K
    564 K
    564 K
    0
    3380
    jucheck.exe
    5492 K
    5492 K
    2648 K
    2648 K
    1
    3396
    sqlmangr.exe
    4968 K
    6720 K
    1384 K
    2752 K
    2
    3464
    mmc.exe
    18596 K
    18720 K
    18648 K
    19016 K
    5
    3528
    wuauclt.exe
    3548 K
    3548 K
    1972 K
    1972 K
    0
    3756
    sqlagent.exe
    968 K
    6372 K
    2336 K
    2472 K
    2
    3812
    msg_server.exe
    [MS] Q02_00
    7584 K
    7584 K
    8408 K
    8408 K
    1
    3836
    disp+work.exe
    30856 K
    30920 K
    49372 K
    49476 K
    7
    3844
    igswd.exe
    [**] Q02_00
    2508 K
    2792 K
    1424 K
    1752 K
    0
    3864
    igsmux.exe
    13324 K
    13324 K
    12844 K
    12844 K
    3
    3948
    igspw.exe
    12260 K
    12260 K
    11744 K
    11744 K
    3
    3956
    igspw.exe
    12260 K
    12260 K
    11744 K
    11744 K
    3
    192
    gwrd.EXE
    [GW] Q02_00
    47908 K
    47908 K
    8392 K
    10832 K
    11
    216
    icman.EXE
    69316 K
    69316 K
    72008 K
    72008 K
    17
    Sum
    505584 K
    402588 K
    DpJ2eeStart: j2ee state = INIT
    ERROR => DpProcCreate: DpJ2eeStart failed [dpxxdisp.c   10768]
    Fri Dec 07 03:53:25 2007
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( ibwoksapq02) [dpxxdisp.c   10113]
    DpStartStopMsg: send start message (myname is >ibwoksapq02_Q02_00                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 211
    Release check o.K.
    Fri Dec 07 03:53:32 2007
    MBUF state ACTIVE
    Fri Dec 07 03:53:33 2007
    DpModState: change server state from STARTING to ACTIVE
    Fri Dec 07 03:54:05 2007
    ERROR => DpForkExec: CreateProcess (3: No such process) [dpntdisp.c   1486]
    ***LOG Q0I=> DpForkExec, CreateProcess ( CreateProcess 3) [dpntdisp.c   1488]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel unknown
    Processor-Count           : 4
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 4190208 K
    Config. maximum size      : 4190208 K
    Avail.  maximum size      : 4190208 K
    Num
    Pagefile
    Min.Size
    Max.Size
    Avail.Max
    Curr.Size
    1
    c:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    NT Task Manager Informations
    Total Handles             :    16946
    Total Threads             :      786
    Total Processes           :       67
    Commit Charge Total       :  3976044 K
    Commit Charge Limit       :  6137308 K
    Commit Charge Peak        :  3982420 K
    Phys.Memory Total         :  2096524 K
    Phys.Memory Available     :   527080 K
    File Cache                :   116948 K
    Kernel Memory Total       :   106168 K
    Kernel Memory Paged       :    92308 K
    Kernel Memory Nonpaged    :    13860 K
    Memory usage of current process
    Total virt.address space  :  2097024 K
    Avail.virt.address space  :   844964 K
    Private Pages             :        0 K
    Total heap size           :    15499 K
    Virtual memory regions    :        0 K
    Uncommitted heap memory   :     9444 K
    Allocated heap memory     :     5896 K
    Moveable heap memory      :        0 K
    DDE shared heap memory    :        0 K
    Memory usage of all processes
    PID
    Image
    Instance
    Work.Set
    WS Peak
    Priv.Pages
    PP Peak
    Pg Fault
    4
    212 K
    2068 K
    0 K
    0 K
    142
    280
    smss.exe
    452 K
    468 K
    164 K
    164 K
    0
    352
    winlogon.exe
    9732 K
    9920 K
    6496 K
    6616 K
    2
    400
    services.exe
    3804 K
    3852 K
    1616 K
    1736 K
    1
    412
    lsass.exe
    9680 K
    9724 K
    9060 K
    9156 K
    2
    636
    svchost.exe
    2692 K
    2692 K
    900 K
    900 K
    0
    816
    svchost.exe
    22104 K
    22364 K
    16044 K
    20016 K
    13
    968
    spoolsv.exe
    4708 K
    4800 K
    3608 K
    3796 K
    1
    1112
    svchost.exe
    2116 K
    2116 K
    568 K
    568 K
    0
    1196
    inetinfo.exe
    8552 K
    10552 K
    3348 K
    5408 K
    3
    1220
    Srvany.exe
    1412 K
    1424 K
    300 K
    316 K
    0
    1244
    lmwu.exe
    2464 K
    2472 K
    724 K
    748 K
    0
    1252
    sqlservr.exe
    600644 K
    600660 K
    573916 K
    573980 K
    147
    1312
    ntrtscan.exe
    4016 K
    55404 K
    2540 K
    53960 K
    16
    1688
    sapstartsrv.exe
    21032 K
    21104 K
    22152 K
    22168 K
    7
    1752
    tmlisten.exe
    7360 K
    8080 K
    4016 K
    5052 K
    4
    1844
    OfcPfwSvc.exe
    5000 K
    5508 K
    3828 K
    4344 K
    2
    1888
    svchost.exe
    7568 K
    9404 K
    5036 K
    6952 K
    3
    2272
    svchost.exe
    4472 K
    4516 K
    2496 K
    22888 K
    1
    2296
    svchost.exe
    3896 K
    3896 K
    2960 K
    2960 K
    1
    2308
    UQ8188.EXE
    2684 K
    2748 K
    1152 K
    1256 K
    1
    2860
    winlogon.exe
    3344 K
    9008 K
    5104 K
    7604 K
    11
    3156
    rdpclip.exe
    2916 K
    2916 K
    924 K
    972 K
    0
    3244
    ctfmon.exe
    2752 K
    3016 K
    504 K
    844 K
    0
    3256
    Explorer.EXE
    11604 K
    11656 K
    6876 K
    7136 K
    4
    3328
    pccntmon.exe
    4572 K
    4572 K
    2436 K
    2444 K
    1
    3336
    jusched.exe
    2428 K
    2428 K
    564 K
    564 K
    0
    3380
    jucheck.exe
    5492 K
    5492 K
    2648 K
    2648 K
    1
    3396
    sqlmangr.exe
    4968 K
    6720 K
    1384 K
    2752 K
    2
    3464
    mmc.exe
    18724 K
    18732 K
    18196 K
    19016 K
    5
    3528
    wuauclt.exe
    3548 K
    3548 K
    1972 K
    1972 K
    0
    3756
    sqlagent.exe
    2536 K
    6372 K
    2572 K
    2572 K
    2
    3812
    msg_server.exe
    [MS] Q02_00
    9548 K
    9548 K
    10348 K
    10348 K
    2
    3836
    disp+work.exe
    34836 K
    34900 K
    50296 K
    50404 K
    8
    3844
    igswd.exe
    [**] Q02_00
    2508 K
    2792 K
    1424 K
    1752 K
    0
    3864
    igsmux.exe
    13420 K
    13420 K
    12928 K
    12928 K
    3
    3948
    igspw.exe
    12344 K
    12344 K
    11824 K
    11824 K
    3
    3956
    igspw.exe
    12344 K
    12344 K
    11824 K
    11824 K
    3
    192
    gwrd.EXE
    [GW] Q02_00
    48604 K
    48604 K
    8956 K
    10832 K
    11
    216
    icman.EXE
    76016 K
    76016 K
    74136 K
    75160 K
    18
    548
    disp+work.EXE
    [WP] Q02_00
    42836 K
    43300 K
    57336 K
    57336 K
    10
    596
    disp+work.EXE
    [WP] Q02_00
    119748 K
    158692 K
    57292 K
    69392 K
    86
    672
    disp+work.EXE
    [WP] Q02_00
    53840 K
    54116 K
    54360 K
    54360 K
    13
    744
    disp+work.EXE
    [WP] Q02_00
    42776 K
    43512 K
    53408 K
    53408 K
    10
    772
    disp+work.EXE
    [WP] Q02_00
    41980 K
    42752 K
    53460 K
    53460 K
    10
    912
    disp+work.EXE
    [WP] Q02_00
    29264 K
    29264 K
    52640 K
    52704 K
    7
    936
    disp+work.EXE
    [WP] Q02_00
    72868 K
    73608 K
    53852 K
    53852 K
    18
    940
    disp+work.EXE
    [WP] Q02_00
    37040 K
    37040 K
    53340 K
    53404 K
    9
    1412
    disp+work.EXE
    [WP] Q02_00
    26172 K
    26172 K
    51888 K
    51952 K
    6
    1624
    disp+work.EXE
    [WP] Q02_00
    26312 K
    26312 K
    52116 K
    52116 K
    6
    1788
    disp+work.EXE
    [WP] Q02_00
    26756 K
    26756 K
    52424 K
    52488 K
    6
    2104
    disp+work.EXE
    [WP] Q02_00
    26876 K
    26876 K
    52480 K
    52544 K
    6
    1748
    disp+work.EXE
    [WP] Q02_00
    43368 K
    43660 K
    53868 K
    53868 K
    11
    2260
    disp+work.EXE
    [WP] Q02_00
    26736 K
    26736 K
    52424 K
    52488 K
    6
    2836
    sap_mssql_cfgck.exe
    11116 K
    11116 K
    10920 K
    10928 K
    3
    Sum
    1624792 K
    1647648 K
    DpJ2eeStart: j2ee state = INIT
    ERROR => DpEnvCheckJ2ee: DpJ2eeStart failed [dpxxdisp.c   6445]
    Fri Dec 07 03:54:25 2007
    ERROR => DpForkExec: CreateProcess (3: No such process) [dpntdisp.c   1486]
    ***LOG Q0I=> DpForkExec, CreateProcess ( CreateProcess 3) [dpntdisp.c   1488]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel unknown
    Processor-Count           : 4
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 4190208 K
    Config. maximum size      : 4190208 K
    Avail.  maximum size      : 4190208 K
    Num
    Pagefile
    Min.Size
    Max.Size
    Avail.Max
    Curr.Size
    1
    c:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    NT Task Manager Informations
    Total Handles             :    16896
    Total Threads             :      785
    Total Processes           :       67
    Commit Charge Total       :  4039664 K
    Commit Charge Limit       :  6137308 K
    Commit Charge Peak        :  4039768 K
    Phys.Memory Total         :  2096524 K
    Phys.Memory Available     :   475064 K
    File Cache                :   117044 K
    Kernel Memory Total       :   106176 K
    Kernel Memory Paged       :    92316 K
    Kernel Memory Nonpaged    :    13860 K
    Memory usage of current process
    Total virt.address space  :  2097024 K
    Avail.virt.address space  :   844964 K
    Private Pages             :        0 K
    Total heap size           :    15499 K
    Virtual memory regions    :        0 K
    Uncommitted heap memory   :     9444 K
    Allocated heap memory     :     5896 K
    Moveable heap memory      :        0 K
    DDE shared heap memory    :        0 K
    Memory usage of all processes
    PID
    Image
    Instance
    Work.Set
    WS Peak
    Priv.Pages
    PP Peak
    Pg Fault
    4
    212 K
    2068 K
    0 K
    0 K
    143
    280
    smss.exe
    452 K
    468 K
    164 K
    164 K
    0
    352
    winlogon.exe
    9744 K
    9920 K
    6528 K
    6616 K
    2
    400
    services.exe
    3804 K
    3852 K
    1616 K
    1736 K
    1
    412
    lsass.exe
    9680 K
    9724 K
    9060 K
    9156 K
    2
    636
    svchost.exe
    2692 K
    2692 K
    900 K
    900 K
    0
    816
    svchost.exe
    21756 K
    22364 K
    15696 K
    20016 K
    14
    968
    spoolsv.exe
    4708 K
    4800 K
    3608 K
    3796 K
    1
    1112
    svchost.exe
    2116 K
    2116 K
    568 K
    568 K
    0
    1196
    inetinfo.exe
    8552 K
    10552 K
    3348 K
    5408 K
    3
    1220
    Srvany.exe
    1412 K
    1424 K
    300 K
    316 K
    0
    1244
    lmwu.exe
    2464 K
    2472 K
    724 K
    748 K
    0
    1252
    sqlservr.exe
    660820 K
    660820 K
    634788 K
    634788 K
    162
    1312
    ntrtscan.exe
    4016 K
    55404 K
    2540 K
    53960 K
    16
    1688
    sapstartsrv.exe
    21040 K
    21104 K
    22152 K
    22168 K
    9
    1752
    tmlisten.exe
    7360 K
    8080 K
    4016 K
    5052 K
    4
    1844
    OfcPfwSvc.exe
    5000 K
    5508 K
    3828 K
    4344 K
    2
    1888
    svchost.exe
    7564 K
    9404 K
    5012 K
    6952 K
    3
    2272
    svchost.exe
    4472 K
    4516 K
    2496 K
    22888 K
    1
    2296
    svchost.exe
    3896 K
    3896 K
    2960 K
    2960 K
    1
    2308
    UQ8188.EXE
    2684 K
    2748 K
    1152 K
    1256 K
    1
    2860
    winlogon.exe
    3360 K
    9008 K
    5136 K
    7604 K
    11
    3156
    rdpclip.exe
    2916 K
    2916 K
    924 K
    972 K
    0
    3244
    ctfmon.exe
    2752 K
    3016 K
    504 K
    844 K
    0
    3256
    Explorer.EXE
    11604 K
    11656 K
    6876 K
    7136 K
    4
    3328
    pccntmon.exe
    4572 K
    4572 K
    2436 K
    2444 K
    1
    3336
    jusched.exe
    2428 K
    2428 K
    564 K
    564 K
    0
    3380
    jucheck.exe
    5492 K
    5492 K
    2648 K
    2648 K
    1
    3396
    sqlmangr.exe
    4968 K
    6720 K
    1384 K
    2752 K
    2
    3464
    mmc.exe
    18792 K
    18848 K
    18288 K
    19016 K
    5
    3528
    wuauclt.exe
    3548 K
    3548 K
    1972 K
    1972 K
    0
    3756
    sqlagent.exe
    2536 K
    6372 K
    2572 K
    2572 K
    2
    3812
    msg_server.exe
    [MS] Q02_00
    9548 K
    9548 K
    10348 K
    10348 K
    2
    3836
    disp+work.exe
    34844 K
    34908 K
    50296 K
    50404 K
    8
    3844
    igswd.exe
    [**] Q02_00
    2508 K
    2792 K
    1424 K
    1752 K
    0
    3864
    igsmux.exe
    13420 K
    13420 K
    12928 K
    12928 K
    3
    3948
    igspw.exe
    12344 K
    12344 K
    11824 K
    11824 K
    3
    3956
    igspw.exe
    12344 K
    12344 K
    11824 K
    11824 K
    3
    192
    gwrd.EXE
    [GW] Q02_00
    48604 K
    48604 K
    8956 K
    10832 K
    11
    216
    icman.EXE
    76020 K
    76020 K
    74136 K
    75160 K
    18
    548
    disp+work.EXE
    [WP] Q02_00
    42924 K
    43300 K
    57336 K
    57336 K
    10
    596
    disp+work.EXE
    [WP] Q02_00
    122256 K
    166712 K
    60196 K
    70124 K
    118
    672
    disp+work.EXE
    [WP] Q02_00
    53840 K
    54116 K
    54360 K
    54360 K
    13
    744
    disp+work.EXE
    [WP] Q02_00
    42776 K
    43512 K
    53408 K
    53408 K
    10
    772
    disp+work.EXE
    [WP] Q02_00
    41980 K
    42752 K
    53460 K
    53460 K
    10
    912
    disp+work.EXE
    [WP] Q02_00
    29264 K
    29264 K
    52640 K
    52704 K
    7
    936
    disp+work.EXE
    [WP] Q02_00
    72868 K
    73608 K
    53852 K
    53852 K
    18
    940
    disp+work.EXE
    [WP] Q02_00
    37040 K
    37040 K
    53340 K
    53404 K
    9
    1412
    disp+work.EXE
    [WP] Q02_00
    26172 K
    26172 K
    51888 K
    51952 K
    6
    1624
    disp+work.EXE
    [WP] Q02_00
    26312 K
    26312 K
    52116 K
    52116 K
    6
    1788
    disp+work.EXE
    [WP] Q02_00
    26756 K
    26756 K
    52424 K
    52488 K
    6
    2104
    disp+work.EXE
    [WP] Q02_00
    26876 K
    26876 K
    52480 K
    52544 K
    6
    1748
    disp+work.EXE
    [WP] Q02_00
    43368 K
    43660 K
    53868 K
    53868 K
    11
    2260
    disp+work.EXE
    [WP] Q02_00
    26736 K
    26736 K
    52424 K
    52488 K
    6
    2836
    sap_mssql_cfgck.exe
    11116 K
    11116 K
    10920 K
    10928 K
    3
    Sum
    1687328 K
    1711208 K
    DpJ2eeStart: j2ee state = INIT
    ERROR => DpEnvCheckJ2ee: DpJ2eeStart failed [dpxxdisp.c   6445]
    Fri Dec 07 03:54:45 2007
    ERROR => DpForkExec: CreateProcess (3: No such process) [dpntdisp.c   1486]
    ***LOG Q0I=> DpForkExec, CreateProcess ( CreateProcess 3) [dpntdisp.c   1488]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel unknown
    Processor-Count           : 4
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 4190208 K
    Config. maximum size     

  • Build new database through scripts must understand spanish character sets.

    Hello Gurus,
    I need some simple advice, a good chance for some quick points for you.
    I have never built a database to understand any other character set other than American English. I now have to build a database that will be used for Spanish characters- keyboards, etc. But I will be using English for the 11g software install. I only wish to be able to show Spanish characters in the data for customers names.
    I will be creating the database with scripts I have made to make the standard template for database files, control files, etc.
    Then I will be importing from a dump I have done that was made with American English character sets.
    System is 11g (11.2.0.3.0) on Linux Enterprise Server 5.8.
    I was thinking to use the AL32UTF8 character set, but I am unsure where to use it.
    My original test did not show Spanish characters for customers names like the 'tilda' or 'sueano' (pardon my spelling). But in this case I did not make the exeception for Spanish, I only used the standard American English build (no changes in the init.ora file or initial database build script).
    How can I adjust my parameter file for the initial creation of the database template to be able to understand the Spanish character set and still be able to import my dump file without error.
    EXAMPLE of a build script:
    CREATE DATABASE mynewdb
    USER SYS IDENTIFIED BY sys_password
    USER SYSTEM IDENTIFIED BY system_password
    LOGFILE GROUP 1 ('/u01/app/oracle/oradata/mynewdb/redo01.log') SIZE 100M,
    GROUP 2 ('/u01/app/oracle/oradata/mynewdb/redo02.log') SIZE 100M,
    GROUP 3 ('/u01/app/oracle/oradata/mynewdb/redo03.log') SIZE 100M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    CHARACTER SET US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    If I replace NATIONAL CHARACTER SET AL16UTF16 to AL32UTF8 will it work to show Spanish characters?
    Sorry for the long winded question, any advice will be great.
    Thankfully,
    Shawn

    Hello,
    the national charsets is for column types like nvarchar not for normal varchar data types. So if your dump file contains such column types you will also need to set it. The charset is for the normal column types like varchar. The use of unicode is best pratice if you use multiel language, but keep in mind that multibyte charset can be a problem during the import because varchar2(10) means 10byte and not 10 chars, so errors like identifier to long can occur during import.
    You can create the database.
    Check this documentation:
    http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch2charset.htm
    You can use a charset like WE8MSWIN1252 which covers spanish also (as far i know) and is a superset to us7ascii
    regards
    Peter

  • Can we get database creation script using any packages?

    Hi Friends,
    we will get table creation script using dbms_metadata.get_ddl package. just like that is there any way to get database creation script? i know that we can add some lines to controlfile trace to convert it into database creation script. but i would like to know whether it is possible through packages?
    thanks in advance.

    I think there's no package to use it for getting database creation script. But anyway, you can search it in [Oracle Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/toc.htm]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • SQLStateMapping.java:70 Error When Loading Database Capture Script Output

    I'm running "Migration->Third Party Database Offline Capture->Load Database Capture Script Output" (Sybase 12) (SQLDeveloper 1.5.5)
    After Tables are loaded (16000+ tables), I'm getting the following error in Migration Log:
    Error ocurred during capture: In Columns for <column_name>
    oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    I could not find any hits that match this. What's the best method to troubleshoot this?

    Log a service request with the offline scripts and we can check them out and forward them also to Development if needed.

  • ORA-12560: TNS Protocol adapter error after full database restore.

    Good afternoon,
    Following the steps given in page 9-32 of the 2 Day DBA document, after doing a full database restore, the home page shows:
    NOTE: all of the output shown in this post is obtained directly from the host not a client. AND all using ENTERPRISE MANAGER.
    1. The database instance is down
    2. The listener is up
    3. Agent Connection to Instance has status of Failed, followed by ORA12505: TNS: listener does not currently know of SID in connect descriptor (DBD ERROR: OCIServerAttach)
    When I try to connect as sysdba using SQL Plus, I get the output shown below:
    0 18:14 [Oracle] [13G] [2,031M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
    tnsping dbca
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-AUG-2
    010 18:14:36
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = orahost.john.local)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dbca.
    john.local)))
    OK (50 msec)
    0 18:14 [Oracle] [13G] [2,050M] E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN>
    sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 30 18:17:53 2010
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> connect
    Enter user-name: sys as sysdba
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>All I did was perform a full database restore in the same database, the simplest case. Any ideas as to why I can no longer connect ?
    Thank you very much for your help,
    John.
    Edited by: 440bx - 11gR2 on Aug 30, 2010 6:58 PM - added Using Enterprise Manager.

    I don't know what else I could have done given the behavior of the service.You can avoid problems like this in the future by avoiding Windows & using any approved *NIX Operating System.
    No such "service" or daemon exist on any *NIX OS.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Database creation scripts from a running RAC

    Hi all
    We have a two node Oracle 10g R2 RAC running on SLES 10 SP2 Itanium systems.
    We have 4 database instances running on the two nodes.
    I need to create database creation scripts for one of the databases. eg. the script should contain all current configuration of the database (i.e i dont want the script which would have been created at the time of creation of the database)
    Is this possible to achieve?
    thanks

    Hi,
    You can follow this steps to create yours scripts using notes below:
    Create Database Manually
    *How to create a RAC database using DBCA generated scripts from templates [ID 856783.1]*
    Create Database Service Manually
    *How To Configure Server Side Transparent Application Failover [ID 460982.1]*
    *10g & 11g :Configuration of TAF(Transparent Application Failover) and Load Balancing [ID 453293.1]*
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Mar 18, 2011 11:36 AM

  • Database restore trouble

    Hi, All.
    We have a backup maked on DB2 8.1.14 32-bit/Windows 2003 <b>x64 </b>
    We try to redirect restore this backup under DB2 8.1.14 32-bit/Windows 2003
    <b>32-bit, </b> but it's failed with message :
    "SQL0902C A system error (reason code = "") occurred. Subsequent SQL
    statements cannot be processed. SQLSTATE=58005"
    db2diag.log :
    2007-05-31-10.36.12.687000+240 I5715632H395 LEVEL: Event
    PID : 5524 TID : 5280 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000 DB : B04
    APPHDL : 0-71 APPID: *LOCAL.DB2B04.070531111434
    FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCfgParam, probe:20
    CHANGE : CFG DB B04: "Util_heap_sz" From: "5000" To: "131072"
    2007-05-31-10.36.12.765000+240 I5716029H370 LEVEL: Warning
    PID : 5524 TID : 4184 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000 DB : B04
    APPHDL : 0-98 APPID: *LOCAL.DB2B04.070531112015
    FUNCTION: DB2 UDB, relation data serv, sqlrr_db_init, probe:100
    MESSAGE : DB2_IMPLICIT_UNICODE enabled
    2007-05-31-10.36.12.781000+240 I5716401H323 LEVEL: Warning
    PID : 5524 TID : 1140 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqluMCReadMediaHeaderFromDevice,
    probe:139
    MESSAGE : Transfer buffer size was changed from 0 to 786432
    2007-05-31-10.36.12.781000+240 I5716726H414 LEVEL: Warning
    PID : 5524 TID : 4184 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000 DB : B04
    APPHDL : 0-98 APPID: *LOCAL.DB2B04.070531112015
    FUNCTION: DB2 UDB, database utilities, sqludPrintStartingMsg, probe:1
    DATA #1 : String, 50 bytes
    Starting a full database restore.
    Agent PID: 4184
    2007-05-31-10.36.12.812000+240 I5717142H390 LEVEL: Warning
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqludProcessHistoryFile,
    probe:24DATA #1 : String, 107 bytes
    An empty database history has been detected.
    The database history will be overwritten by the backup image.
    2007-05-31-10.36.12.859000+240 I5717534H569 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbGetFileSystemInfo, probe:5
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 30 bytes
    Could not get file system info
    DATA #2 : Pointer, 4 bytes
    0x01fae9f0
    DATA #3 : Pointer, 4 bytes
    0x0271dea4
    DATA #4 : Bitmask, 4 bytes
    0x00000180
    2007-05-31-10.36.12.859000+240 I5718105H458 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services,
    sqlbCopyStoragePathsFromDiskCB, probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 29 bytes
    Error copying paths from disk
    2007-05-31-10.36.12.859000+240 I5718565H540 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbReadStorageGroupEntry,
    probe:30
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 38 bytes
    Error reading from storage group files
    DATA #2 : signed integer, 8 bytes
    0
    DATA #3 : Pointer, 4 bytes
    0x0271e380
    2007-05-31-10.36.12.859000+240 I5719107H569 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbGetFileSystemInfo, probe:5
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 30 bytes
    Could not get file system info
    DATA #2 : Pointer, 4 bytes
    0x01fae9f0
    DATA #3 : Pointer, 4 bytes
    0x0271de78
    DATA #4 : Bitmask, 4 bytes
    0x00000180
    2007-05-31-10.36.12.859000+240 I5719678H458 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services,
    sqlbCopyStoragePathsFromDiskCB, probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 29 bytes
    Error copying paths from disk
    2007-05-31-10.36.12.859000+240 I5720138H540 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbReadStorageGroupEntry,
    probe:30
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 38 bytes
    Error reading from storage group files
    DATA #2 : signed integer, 8 bytes
    0
    DATA #3 : Pointer, 4 bytes
    0x0271e37c
    2007-05-31-10.36.12.859000+240 I5720680H575 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbReadStorageGroup, probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 38 bytes
    Error reading from storage group files
    DATA #2 : signed integer, 8 bytes
    0
    DATA #3 : Pointer, 4 bytes
    0x01fae8e0
    DATA #4 : Pointer, 4 bytes
    0x027900b0
    2007-05-31-10.36.12.859000+240 I5721257H542 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbReadStorageGroupTable,
    probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 38 bytes
    Failed to read the storage group table
    DATA #2 : Pointer, 4 bytes
    0x027900b0
    DATA #3 : Pointer, 4 bytes
    0x01fae8e0
    2007-05-31-10.36.12.875000+240 I5721801H588 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services, sqlbInitStorageGroupTable,
    probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 44 bytes
    Failed to initialize the storage group table
    DATA #2 : Pointer, 4 bytes
    0x027900b0
    DATA #3 : Pointer, 4 bytes
    0x02794608
    DATA #4 : Pointer, 4 bytes
    0x026b4a78
    2007-05-31-10.36.12.875000+240 I5722391H600 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, buffer pool services,
    sqlbProcessStorageGroupRestore, probe:20
    MESSAGE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    DATA #1 : String, 51 bytes
    Error occurred while processing storage group files
    DATA #2 : Pointer, 4 bytes
    0x026b4a78
    DATA #3 : Pointer, 4 bytes
    0x026dbc00
    DATA #4 : unsigned integer, 4 bytes
    0
    2007-05-31-10.36.12.875000+240 E5722993H390 LEVEL: Severe
    PID : 5524 TID : 3352 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqludProcessSGRestore,
    probe:4191RETCODE : ZRC=0x87020002=-2029912062=SQLB_BPSE "Debug logic
    error
    detected"
    DIA8501C A buffer pool logic error has occurred.
    2007-05-31-10.36.12.875000+240 I5723385H355 LEVEL: Severe
    PID : 5524 TID : 4184 PROC : db2syscs.exe
    INSTANCE: DB2B04 NODE : 000 DB : B04
    APPHDL : 0-98 APPID: *LOCAL.DB2B04.070531112015
    FUNCTION: DB2 UDB, database utilities, sqludrsa, probe:110
    MESSAGE : Restore Terminated.
    Can anybody comment this situation ?
    Thanks!

    Hi,
    Please let me know patch level
    db2level
    Regards
    Ben

  • Database restore and Refresh

    Hi ,
    I have SAP application with SQl 2000. just due to some changes happend in quality system and i will have to go through Database refresh activity ,
    Can anybody plz guide me how to do Database restore from one server to another and how to refresh it . Please provide me solution step by step . i have never gone through this kind of activity .....
    Thanks
    Kamal Taneja.
    09311454142

    > Can anybody plz guide me how to do Database restore from one server to another and how to refresh it . Please provide me solution step by step . i have never gone through this kind of activity .....
    Read the system copy guides - they are step-by-step:
    System Copy and Migration
    or you can use the method described in
    Note 151603       Copying an SQL Server database
    Markus

  • Full database restore and recovery

    Hi all,
    All my datafiles are corrupted.
    I have a incremental level 0 backup
    can i restore and recover the db with this backup?
    regards,
    prem

    we went for a point in time recovery
    while restoring we received the following error.
    Full Database restoration failed with error
    ORACLE error from target database:
    ORA-00600: internal error code, arguments: [2103], [0], [0], [1], [900], [], [], []
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5157
    ORA-06512: at line 1
    released channel: GMUP1
    released channel: GMUP2
    released channel: GMUP3
    Please help us in this regard

  • VISION demo database creation scripts

    Does anyone have a copy of the VISION demo database creation scripts that they could give me. Have to try and add this into an already installed EBS system.
    rgds
    Alan

    The VISION demo database is a fully populated EBS installation delivered by rapid install. You would just use rapidwiz and select the Vision Demo, and not fresh production. You need the VISION data in order to be able to run through the various process flows. You do not want to import Vision data into a non-VISION EBS.

Maybe you are looking for

  • HT1459 Hi Team

    Hi Team - I Own a Ipod Nano 1st gereration which is on the recall programe, I had registered a complaint with the serial number of the Ipod which is YM6321MMWS8 on May 29. during the course of time i failed to send the Instrument to Service Center. l

  • Dead hard drive: 7200 RPM HDD compatible with a L500-19X Satellite?

    Last night, i believe the HDD of my 2 and a half year old L500-19X Satellite died.  When I tried to boot, it hung up on the windows icon, and when I try rebooting, it asks me if I want to try some kind of boot recovery function...but when I go to tha

  • I started to back up my computer using Time Machine...

    I'm trying to prevent losing my photos. (If someone could direct me to how to really check if I've lost my photos that would be helpful too) but in the meantime this is what has happened: 1. I "tried" to back up my computer (21.5 inch mac) with a bra

  • Calendar will not sync from iphone to ical since 10.5.2 update

    My iphone has worked perfectly since I bought it last summer & I have been raving about it! I updated to 10.5.2 and now I am having a syncing problem. If I put an appointment in the iphone it will not sync to ical, but it does sync from ical to the i

  • Tv remote issues

    the remotes suddenly stops working, no power, nothing. new batteries are not helping. this is the second one to have this problem and customer service is of little help except to say get a new one. can anyone help?