Database restore; database recover; Last step?

Ok, this is my first try with rman to restore and recover from tape.
My restore database finished successfully...no errors.
My recover database finished successfully...no errors.
Now...what is my last step?
Do I shut down and open back up normally, or, do I need to do something like shut down, then open with reset logs?
I'm guessing a full database backup after this re-opening would be a good idea too, no?
Thank you,
cayenne

sybrand_b wrote:
I wonder: why do you specialize in asking so called 'doc questions'?
Can't be bothered to read documentation?
Boss doesn't pay you for reading documentation?
Think this is a chat room?
Kindly stop posting doc questions. It violates the Forums Etiquette.
Sybrand Bakker
Senior Oracle DBABecause I didn't see anything that specifically addressed what I've had to go through in recovering this database in the document or examples I've seen or could find.
And was wanting to just make sure since I was so close, didn't want to mess anything up at the last moment.
No need to be snippy about it...everyone else is happy to give some advice and help to someone who is obviously a noob at much of this and learning as he goes.
Hoping as I learn things better...that I can helps someone else, not to mention, that searching the forums, someone might run into a weird set of circumstances like I have on this and a couple other things.
You know the old saying..."if you don't have something nice to say, then...."?
Thanks to all for all the help, I think I'm up and going again now.
C

Similar Messages

  • Restored database, can't perform 'System Restore'

    We've just performed a system reset of a system by performing a database restore to a version from a few months back.  I now need to reapply the SC's that have been modified since the initial database snapshot.
    However, when I try to perform a restore, the DI gives me a message indicating that the system already has the up-to-date version.  Checking the SystemInfo page, it's quite clearly shown that the SC is the old version; checking in the SLD also shows the old build version.  However, running the SDM tool shows the new version as being deployed...
    Inspecting the file system, you can see all the originally deployed SCs in the folder /usr/sap/SID/JC00/SDM/root/origin, organized by domain and DC.  The SC I need to redeploy is indeed in these directories, and I think I can probably fix my problem by removing the file, but I'm not sure of the side effects of doing this.
    It's almost as if SAP expects you to perform a full system restore, rather than a database restore when recovering a system, since data is contained in both the database, and the file system.
    Opinions?

    Just used SDM to force/sync the system.

  • RMAN not restoring database

    I've been trying to restore a tablespace that I intentionally deleted a table from just to practice on restoring data in Oracle. Basically I did a full backup of the whole database the night before. The next morning I deleted a complete table from the TEST_DATA tablespace intentionally. I then ran the following commands:
    SQL> ALTER TABLESPACE TEST_DATA OFFLINE IMMEDIATE;
    RMAN> RESTORE TABLESPACE TEST_DATA;
    RMAN> RECOVER TABLESPACE TEST_DATA;
    SQL> ALTER TABLESPACE TEST_DATA ONLINE;
    All commands ran successfully with no error. It pulled the dbf file from the backup file and restored it (Or so it seemed). the RECOVER command did go pretty quick. It ran for about 1 second and completed. This was kind of odd. When I opened the tablespace I noticed that the table was not recovered.
    The tablespace data was recovered when I did a full database restore and recover though. I dont want to take down the whole database just to restore a tablespace.
    Am I doing it wrong? Your help is appreciated.

    Hello;
    I would expect something more like this :
    recover tablespace ABLOCK
    until time "to_date('10-JAN-2013 14:32:46','dd-mon-rrrr hh24:mi:ss')"
    AUXILIARY DESTINATION '/u01/app/oracle/oradata/CLONE';http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmtspit.htm
    See - Example 21-4 Performing TSPITR on Two Tablespaces
    Please consider closing some of your old questions.
    This is somewhat related to your question:
    http://gavinsoorma.com/2009/11/11g-release-2-tablespace-point-in-time-recovery-recover-from-dropped-tablespace/
    These are NOT related to your current question but you may find useful as you test down the line.
    http://www.pythian.com/library/papers_and_books/the_quick_and_easy_rman_restore/
    http://www.pythian.com/news/3653/howto-oracle-cross-platform-migration-with-minimal-downtime/
    http://www.pythian.com/news/28099/rman-duplicate-in-details/
    http://www.pythian.com/news/34715/migrating-your-10g-database-to-oda-with-minimal-downtime/
    Best Regards
    mseberg
    Edited by: mseberg on Jan 10, 2013 11:44 AM

  • Restore Database .ndf files

    I have a backup (.BAK file) which has bunch of .ndf files. I want to restore it on a database which has only .mdf and .ldf files. How to restore it? I am new to Sql server 2008 R2 and never restored .bak file which contains .ndf files...
    Thanks in advance...
    Thank you,

    I don't want to eliminate them. I want to restore them as well but don't know how to. Also the database where I want to restore the .bak only have .mdf and .ldf files.
    The target database is completely overwritten during the restore.  The number and size of the files after the restore will be the same as the original.  You can use the WITH MOVE and REPLACE options to relocate the files and replace the target
    database:
    RESTORE DATABASE TargetDatabase
    FROM DISK='D:\Backups\SourceDatabase.bak'
    WITH
    MOVE 'SourceDatabase' TO 'E:\DataFiles\SourceDatabase.mdf'
    ,MOVE 'SourceDatabase_Data2' TO 'F:\DataFiles\SourceDatabase_Data2.ndf'
    ,MOVE 'SourceDatabase_Data3' TO 'G:\DataFiles\SourceDatabase_Data3.ndf'
    ,MOVE 'SourceDatabase_Log' TO 'L:\DataFiles\SourceDatabase_Log.ldf'
    ,REPLACE;
    ALTER AUTHORIZATION ON DATABASE::TargetDatabase TO sa;
    Dan Guzman, SQL Server MVP, http://weblogs.sqlteam.com/dang/

  • Unable to restore and recover my Database from RMAN Backup

    Dear All,
    Iam practicing RMAN in Windows environment.
    My configurations are
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
    Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
    then i tried to startup the DB but it is saying
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
    So i tried to restore the Database with my rman backup
    RMAN> restore database;
    But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
    So, i am unable to recover my DB
    Please tell me whether i am doing any mistake, what is the solution for my problem.
    Thanks in advance
    Mahi

    All you restored was your datafiles.
    Now issue recover database and that will apply the archive logs.
    This is in the oracle documentation.
    "You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
    In this case after issuing restore database in RMAN, then issue this.
    "Recover database"
    It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;"

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • Restoring and recovering datafiles in standby database

    Hi,
    oracle version : 8i(8.1.7.0.0)
    os : sun solaris
    I have scenerio where i lost some of the datafiles in standby database(physical standby) and i do have standby cold backup 3 months older since database size is 1TB is can i restore the the only lost files from cold backup and recover using archivelog files. since i only lost 4 data files of size 4gb each it will be faster compare to restoring the whole TB size database.
    appreciated for valuable inputs.
    Thanks
    Prakash GR

    Normal copy command can do your work:
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    Database opened.
    sys@SANTU> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     4
    Next log sequence to archive   6
    Current log sequence           6
    sys@SANTU> host copy D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF d:\
            1 file(s) copied.
    sys@SANTU> shu immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    *Renamed the datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF' to 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS011.DBF'*
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
    sys@SANTU> host move  d:\USERS01.DBF D:\APP\SANTOSKU\ORADATA\SANTU\
    sys@SANTU> shu immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    sys@SANTU> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             180355988 bytes
    Database Buffers          348127232 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    ORA-01113: file 4 needs media recovery
    ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
    sys@SANTU> recover datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF';
    Media recovery complete.
    sys@SANTU> alter database open;
    Database altered.
    sys@SANTU>N.B. I have not done the demo on standby database.
    but just i want to know is this procedure is valid that is instead of taking the lost datafiles from production can i use lost datafiles from standby database to recover other standby database.That would be fine.
    Regards,
    S.K.
    Edited by: Santosh Kumar on Oct 8, 2009 11:09 AM

  • Error in last step of copy database wizard

    Hi All,
    I am getting below mentioned error in copy database wizard. I am using SSMS 2012 to copy a database from one server to another server using attach and detach method. Been stuck in this issue for quite sometime. Please provide your insights...
    Event Name: OnError
     Message: An error occurred while transferring data. See the inner exception for details.
    StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
       at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()
    InnerException-->There is already an object named 'spt_values' in the database.
    StackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)
       at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
     Operator: EMEA\INCHEJAI
     Source Name: CDW_BIE-WV200_xxxx_xxxx_35
     Source ID: {xxx-xxx-xxx-xxx-xxx}
     Execution ID: {xxx-xxx-xxx-xxx-xxx}
     Start Time: 24.09.2014 10:38:37
     End Time: 24.09.2014 10:38:37
     Data Code: 0
    P.S - I am able to query and fetch the results for "select * from master.dbo.spt_values;"
    in both my SOURCE and DESTINATION databases. 
    But the table name is not visible under System databases--> master --> Tables --> System Tables in my DESTINATION database alone.
    Thanks,
    DeeJay007

    Hi,
    Thanks for your response :). When I tried to attach the the database (.mdf and .ldf) and create a new database in DESTINATION server, it works fine. Only using "Copy database wizard" I face this problem. I am attempting this functionality from
    the SQL Server 2012 instance
    The Instances are not in same version. Find the specific details below for @@Version.
    SOURCE Server Instance
    Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64) 
    Sep 21 2011 22:45:45 
    Copyright (c) 1988-2008 Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2) (VM)
    DESTINATION Server Instance
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) 
    Oct 19 2012 13:38:57 
    Copyright (c) Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    When you use the copy database functionality, your database gets upgraded to match the destination server version. The database cannot be downgraded, which is fine in your case. It could be a bug in the upgrade process between these two specific sql server
    versions though.
    Can you make a test with another destination instance, with the same version as the original destination (2012 SP1) just to rule out the possibility of system database corruption?
    Does this happen with only a single database, or does the wizzard fail for any database you try to copy?
    I have the "u_tables.sql" file which has the scripts for some master database tables. In the process of trying to rebuild the system database and if I lose the master DB contents, will executing the "u_tables.sql" be sufficient to restore
    the details?? Many DB's are available in the server, so the risk is very high.
    No. However, your application databases won't be affected. You'll lose all your server objects, including but not limited to logins, linked servers, backup triggers, server roles, etc. You'll also lose the contents of the msdb database (jobs, database mail
    configurations, backup history, maintenance plans, etc). Please refer to the article I sent you for more information. It contains safety instructions on how to backup most of these objects.
    Try to do the tests I suggested above before rebuilding your system databases.
    Is there any restrictions for "Copy database wizard" which I am missing here?
    No I dont think so. Based on the information you provided, it should be working.

  • Restore database

    Hi,
    I try learn how restore database.
    Case:
    Database is in archivelog mode and hot backup runs every night at 2:00am by cron job and backup.sh
    I drop table using
    drop table mytbl purge;So I can not get it from recyclebin.
    Or I do some other mistake and I like restore whole database to state where it was in certain time
    I have try read all kind documents and experiment how to do this without luck.
    If someone could give me steps to do restore
    Thanks advance
    Br,Jari

    Here is a full scenario with RMAN.
    First backup database with RMAN:
    C:\oraclexe\oradata\XE>rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu May 13 20:26:46 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2584040801)
    RMAN> backup database plus archivelog;
    Starting backup at 13-MAY-10
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=166 recid=165 stamp=718921614
    channel ORA_DISK_1: starting piece 1 at 13-MAY-10
    channel ORA_DISK_1: finished piece 1 at 13-MAY-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_05_13\
    O1_MF_ANNNN_TAG20100513T202656_5YRK3KKF_.BKP tag=TAG20100513T202656 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 13-MAY-10
    Starting backup at 13-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    input datafile fno=00003 name=C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    input datafile fno=00002 name=C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    input datafile fno=00004 name=C:\ORACLEXE\ORADATA\XE\USERS.DBF
    input datafile fno=00005 name=C:\TMP\DF1
    channel ORA_DISK_1: starting piece 1 at 13-MAY-10
    channel ORA_DISK_1: finished piece 1 at 13-MAY-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_05_13\
    O1_MF_NNNDF_TAG20100513T202658_5YRK3LWO_.BKP tag=TAG20100513T202658 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 13-MAY-10
    channel ORA_DISK_1: finished piece 1 at 13-MAY-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_05_13\
    O1_MF_NCSNF_TAG20100513T202658_5YRK4FH7_.BKP tag=TAG20100513T202658 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 13-MAY-10
    Starting backup at 13-MAY-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=167 recid=166 stamp=718921646
    channel ORA_DISK_1: starting piece 1 at 13-MAY-10
    channel ORA_DISK_1: finished piece 1 at 13-MAY-10
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_05_13\
    O1_MF_ANNNN_TAG20100513T202726_5YRK4HRM_.BKP tag=TAG20100513T202726 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 13-MAY-10
    RMAN> exit
    Recovery Manager complete.Drop the table:
    C:\oraclexe\oradata\XE>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 13 20:27:34 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>  select to_char(sysdate,'YYYY-MM-DD:HH24:MI:SS') time_now from dual;
    TIME_NOW
    2010-05-13:20:27:38
    SQL> select count(*) from test.t;
      COUNT(*)
             1
    SQL>  select to_char(sysdate,'YYYY-MM-DD:HH24:MI:SS') time_now from dual;
    TIME_NOW
    2010-05-13:20:27:56
    SQL> drop table test.t purge;
    Table dropped.
    SQL>  select to_char(sysdate,'YYYY-MM-DD:HH24:MI:SS') time_now from dual;
    TIME_NOW
    2010-05-13:20:28:10Stop database instance, restart database in MOUNT mode (this is the missing step in your last message)
    and restore database (RMAN will use last backup by default):
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Produ
    ction
    C:\oraclexe\oradata\XE>rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu May 13 20:28:34 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area     805306368 bytes
    Fixed Size                     1289996 bytes
    Variable Size                213909748 bytes
    Database Buffers             587202560 bytes
    Redo Buffers                   2904064 bytes
    RMAN> restore database;
    Starting restore at 13-MAY-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\TMP\DF1
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOV
    ERY_AREA\XE\BACKUPSET\2010_05_13\O1_MF_NNNDF_TAG20100513T202658_5YRK3LWO_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_05_13\
    O1_MF_NNNDF_TAG20100513T202658_5YRK3LWO_.BKP tag=TAG20100513T202658
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:36
    Finished restore at 13-MAY-10Recover database to a point in time before DROP TABLE
    RMAN> recover database until time "to_date('2010-05-13:20:27:00','YYYY-MM-DD:HH2
    4:MI:SS')";
    Starting recover at 13-MAY-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 13-MAY-10Open the database and check that dropped table is back:
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Recovery Manager complete.
    C:\oraclexe\oradata\XE>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 13 20:34:24 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select count(*) from test.t;
      COUNT(*)
             1
    SQL>

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

  • 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     

  • 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!

  • Error while restoring database with different name on subscriber

    Hi all,
    I am using merge replication in sql server 2008R2. Yesterday I wanted to create a test environment, so
    I did:
    1. on publisher I restored from backup production db with another name ( lets call it TEST and new files
    .mdf, .ldf and no switch KEEP_REPLICATION). After this step original replication between production
    dbs worked fine.
    2. on subscriber I did the same: restore as new db TEST with new
    files .mdf, .ldf and no switch KEEP_REPLICATION.
    Unfortunately I noticed, that after second step replication stopped. SQL agent replication job on Subscriber
    is gone.
    Why restoring db with new name did affect original replication?
    Finally the most important: replication was set up by external company and I have to bring it to live now
    but I don't know this subject so good. How can I do it?
    Assuming, that there is no data change on subscriber in replicated tables is it enough when I select ‘reinitialize’
    on Publisher and Subscriber?
    Thanks in advance
    Artur

    Hello,
    Sorry for late response, but I was out of the office during last week.
    Regarding problem 1: restoring replication. I contacted guy who made originally our replication and he recreated subscription agent. So this is solved.
    problem 2: why did it happen?
    Lydia, in link which you provided I found only info about restoring db in replication, but I didn't want to restore replication.
    I checked SQL Server and Server Agent logs and there were no entries on that time. The only entries are regarding db restoring. Below:
    09/11/2014 12:45:59,Backup,Unknown,Database was restored: Database: Logik_ATData_TEST<c/> creation date(time): 2012/04/27(13:55:41)<c/> first LSN: 21392:66:267<c/> last LSN: 21392:227:1<c/> number of dump devices: 1<c/> device information: (FILE=1<c/> TYPE=DISK: {'D:\MSSQLBackup\Dzienny\Logik_ATData_PROD\Logik_ATData_PROD_backup_2014_09_10_231001_6391536.bak'}). Informational message. No user action required.
    09/11/2014 12:45:59,Backup,Unknown,Restore is complete on database 'Logik_ATData_TEST'. The database is now available.
    09/11/2014 12:45:59,spid72,Unknown,CHECKDB for database 'Logik_ATData_TEST' finished without errors on 2012-04-26 22:50:05.490 (local time). This is an informational message only; no user action is required.
    09/11/2014 12:44:53,spid72,Unknown,Recovery is writing a checkpoint in database 'Logik_ATData_TEST' (13). This is an informational message only. No user action is required.
    09/11/2014 12:44:53,spid72,Unknown,Starting up database 'Logik_ATData_TEST'.
    09/11/2014 12:44:51,spid72,Unknown,The database 'Logik_ATData_TEST' is marked RESTORING and is in a state that does not allow recovery to be run.
    09/11/2014 12:44:51,spid72,Unknown,Starting up database 'Logik_ATData_TEST'.
    In Windows application log there were also no other entries, besides these above.
    I also could not check job history, because the job was gone in SSMS jobs list, while the subscription was present in SSMS Replication with info, that last successful synchronization was at 12:42 (there is a 5 min. sync period).
     I also don't understand how the job was deleted, because according this manual (http://www.mssqltips.com/sqlservertip/1803/auto-alert-for-sql-agent-jobs-when-they-are-enabled-or-disabled/) I have 2 triggers in sysjobs table and every time, when
    job is deleted/disabled I got @ notification. In this case I got no @.
    My SQL Server version:
    Product_Version Product_Level Edition
    10.50.2550.0 SP1 Standard Edition (64-bit)
    Any idea what happened?
    Thanks,
    Artur

  • Unable to restore database using RMAN in oracle 10g

    Hi Everyone!!!!!!!
    I have following scenario. In which I don't want to drop newly created tablespace (test). So, let me know how to restore database from existing backup without dropping new tablespace and taking new backup?
    1. I took database backup as
    RMAN > backup database;
    2. Create one tablespace "test"
    3. Then I tried to restore database as (In mount mode)
    RMAN > restore database
    4. But I can't restore database. Even I tried after taking "test" tablespace offline , It returns error as follow
    ORA-01119: error in creating database file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    Please suggest me step/way so that I can restore database without taking new backup or dropping new tablespace (test).........

    Hello;
    Rename this datafile :
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF
    Then try the restore again.
    If this isn't a test database stop and think about how you will recover if this does not work. That is how will you recover from the recover if it goes bad?
    Best Regards
    mseberg

  • Restore database to another host - I have only rman backup files

    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!

    XM wrote:
    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!You need to perform disaster recovery. For this, follow my step by step video tutorial:
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

Maybe you are looking for