Database restore/recovery questions...
HI I am somewhat new to the recovery process and I have just installed a new 2 node cluster on linux itanium and I have created a testdb in ASM. I have backup up the new testdb using rman with a full online backup and including control file. We are not using a recovery catalog and all of the rman backup data is only stored in the control file.
I was planning to use the drop database command to drop the datafiles and then resore the database so that I can test my restore/recovery procedure.
If i use the drop database command it will reove the control file and parameter file so I was wondering how I can get my database back if that is the case because all of the backup data is stored in the control file?
Can someone steer me in the right direction here? How can I recover if the control file is gone?
controlfile backup is crucial to be backed up for this scenario,if yours alls backup stuff exist while controlfile backup (repositry of yours database files as well backup stuff) gone then recovery would be more tricky and complex.
see Performing Disaster Recovery
Khurram
Similar Messages
-
Database Restore & Recovery from tape
Hi Fellows
I'm about to attempt a recovery from backup tape to a test server, as a 'tape recovery' test. The files I've marked for recovery include (directories including all sub-tree);
Datafiles directory
$ORACLE_HOME/sid/ directory where the sid is the database sid
Control Files
adump, Bdump, cdump and udump directories
Archivelogs directory
Flashrecovery area directory
Redo logs directory
initfile and spfile
With these files recovered (from one point in time), and the dbconsole shut down prior to restore (for the sid) should the database be able to startup afterwards? Is there any other actions I should make? Thanks, DavidThanks for your responses Alok and Santosh
I'm pretty sure the files I have selected should be able to recover the database. The recovery, I think is rightly said, can only be done within Oracle. I'll look into a test of RMAN (I know it should be better) recovery once I've tested this as a 'straight from tape' recovery.
Thanks again, David
Alok and Santosh
I thought I'd put this in as 'aftermath' of the attempted recovery;
I had the server team restore the files stated (basically everything - redo, archivelogs, datafile, controlfiles, init and sp files, even the dump files) - and repalced them into directories made the same as the other server. When I started it, I was able to go into a 'Oracle Suggested' full database recovery, which was successful. I then checked the expdp dump files, 1 taken at the same time of backup as rman - and one directly after the restore), and compared rows - exactly the same. So appears to have worked.
Many thanks, David
Message was edited by:
David_W -
DBConsole says 'Agent Unreachable' after database restore & recovery
Hi,
Last week our server crashed and I had to completely re-install oracle and then restore/recover our database. Now everything is back up, but when I try to access the online DBConsole (http://localhost:5500/em), the status says 'Agent Unreachable'.
I checked the status of the agent and it said Agent is Running and Ready.
I was told that if the agent was not restored, it may be out of sync -- but I don't know how to sync it.
Does anybody know how I can resolve this problem?
Thanks in advance,
NoraAs per note_id:430805.1
3. We now need to focus also on the monitored database side. This section takes place in the monitored RDBMS Oracle Home:
If the monitored database is 10gR1 (10.1.x):
10.1.0.4: you need to apply Patch 5868695 on the RDBMS Oracle Home, otherwise the Healthcheck metric will still fail, despite the code fix applied on the Agent side.
10.1.0.5: At this moment, this specific one-off patch is not available on top of RDBMS 10.1.0.5. Please contact support if you need this fix for RDBMS 10.1.0.5 on HP-UX.
10.1.0.3, 10.1.0.2: consider patching / upgrading
If the monitored database is 10gR2 (10.2.x):
10.2.0.3 (and above): nothing to be done. The fix is already included.
10.2.0.2: Apply the Patch 4559294 in the RDBMS Oracle Home by following instructions given in the README.
My concern is what if we have 8i and 9i monitored databases?Please let me know. -
Restore/recovery questions and concerns
Hi,
Just order a recovery disc for my Qosmio X505-Q850, I have been having numerous issues (blue screens, etc.) and have been putting it off way to long. I want to restore to original out of box settings so that I can start over. However, I have some concerns (which by the way have been current issues) with my SSD (64GB), which is my C drive. It seems to be full even with every attempt to have nearly all downloads sent directly to the larger E drive (320GB). I am at wits ends and have randomly deleted stuff in hopes to make space. I am now at the point where that is not helping anymore, and ready to pull my hair out, lol. That is why I finally ordered the recovery disc from Toshiba.
Currently I don't really download many programs, main use of my computer is to play World of Warcraft and use of Ventrilo client. I have Zone Alarm Suite (firewall, anti-virus) also on my computer. Pretty much just the basics. I would like to know what to do after I restore to factory settings once I receive the disc and how to safely remove excessive bloat and avoid the filling of the SSD drive. I think most of my windows updates have gone on that drive, is it possible to have it all go to the larger E drive, if so how is that done? I am not a tech wiz but some good step by step info would certainly assist me. Thanks in advance for any assistance I can get regarding this matter.Qosmio X505-Q850
Here are some tips.
1. You can move all those special folders that contain pictures and so forth. See Ramesh's instructions (which are the same for Windows 7).
How to move the special folders in Windows Vista
Do Not Move Special Folders in Windows to the Root!
2. You should certainly relocate the temporary-files folder. Its contents grows without limit and needs to be emptied from time to time in any case. Take a look at it by entering %temp% in the Start/Search field.
Relocate that folder by changing the values of both the TMP and TEMP variables to point to a new folder as follows. Open System Properties (sysdm.cpl) and on the Advanced tab click the Environment Variables button. You should see both TMP and TEMP listed in the section labeled User variables for <account>. (Each login account is assigned its own temporary location.) In the Variable value Edit box you should specify a path to the directory that Windows and many other programs will use for temporary files. Do the same for both TMP and TEMP.
3. And you should consider relocating the paging file (pagefile.sys). Leave at least 2 MB on C so you can get a small memory dump for BSODs. This is the only change that might interfere with performance.
Optimize Virtual Memory in Windows 7 Manually
4. Finally you need to consider shadow storage, which occupies (eventually) 15% of the C drive. You can limit that. See the commands here.
Vssadmin
-Jerry -
Restore a log backup on to database whose recovery model is SIMPLE ?
Hi All,
Today, it was new thing I found when I was testing some log shipping?
Question is can we restore a LOG BACKUP on a database whose recovery model is SIMPLE?
Brief background:
I setup log shipping in SQL Server 2012 SP1 Enterprise Edition between 2 instances. Log shipping is in Standby/readonly mode. So, everything was working very fine...
Now I changed the recovery model of secondary database on 2nd instance from Full to SIMPLE, still the restores are happening very fine. So, is this a normal behavior? other thing is once after restore job is complete the recovery model is getting changed to
FULL automatically on secondary db and I verify it before and after restore job using below query:
select name,recovery_model_desc from sys.databases
Based on my knowledge when a database is in SIMPLE recovery model, we can't perform any log backups on the database and since no log backups, we cant perform Point in Time recovery?
Please clarify what I am seeing is normal ? Also, would like to know what is happening behind the scenes?
Thanks and appreciate your help.
SamHi,
>>Question is can we restore a LOG BACKUP on a database whose recovery model is SIMPLE?
Yes you can restore Log backup on database which is in simple recovery.
You must understand what recovery model is for. Recovery model affects Logging and recovery of a database it does not puts restriction on what can be restore on it. Of course you cannot take log backup of database in simple recovery but you can restore.
Reason being in simple recovery log is truncated after checkpoint (unless something is holding logs like long running transaction). Recovery model also controls the extent of logging which would be done for transaction and hence recovery which you can do
PS: Dont play with logshipping like this which is configured on prod environment
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Full database restore and recovery
Hi all,
All my datafiles are corrupted.
I have a incremental level 0 backup
can i restore and recover the db with this backup?
regards,
premwe went for a point in time recovery
while restoring we received the following error.
Full Database restoration failed with error
ORACLE error from target database:
ORA-00600: internal error code, arguments: [2103], [0], [0], [1], [900], [], [], []
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5157
ORA-06512: at line 1
released channel: GMUP1
released channel: GMUP2
released channel: GMUP3
Please help us in this regard -
Hi,
I have taken the RMAN backup from 9.2.0.4 database - moved to another server having 10.2.0.3. RMAN restore/recovery (incomplete) worked but database got terminated during "ALTER DATABASE OPEN RESETLOGS;".
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Fri Oct 26 14:49:23 2007
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Fri Oct 26 14:49:23 2007
Errors in file /opt/app/tmdsdb/ora01/Q0TEST/logs/bdump/q0test_psp0_24055.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 26454
ORA-1092 signalled during: alter database open resetlogs...
Anyone has any idea what to do? or is it possible?
Thanks in advance.
DaljinderThis is my question .....how can I do that. I did
1. restored database - using RMAN 10g
2. recovered using backup controlfile until cancel;
3. Tried to open "alter database open resetlogs;";
4. Got error.
5. tried to oprn "startup upgrade;"
SQL> startup upgrade;
ORACLE instance started.
Total System Global Area 520093696 bytes
Fixed Size 2031352 bytes
Variable Size 406847752 bytes
Database Buffers 109051904 bytes
Redo Buffers 2162688 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
So how can I do this..... -
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
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
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
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
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
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
M Info for wp 0
M
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 *
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
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+worHi 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 pieceMany 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 during restore/recovery and 'open resetlogs'
Hello forum. I'm attempting to restore a database to a new host and have run into an error during the opening of the database (with resetlogs). The renaming of the datafiles, restore, switching of datafiles, and recovery are all done by an rman script, the contents of which are below:
# Restore production database to DR site using file system
# instead of ASM
run {
set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
restore database;
switch datafile all;
recover database;
I get the following output:
RMAN> @/home/oracle/scripts/rman_dr.rman
RMAN> # Restore production database to DR site using file system
2> # instead of ASM
3> #
4> run {
5> set newname for datafile 1 to '/opt/oracle/product/10gR2/oradata/DB01/system.dbf';
6> set newname for datafile 2 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf';
7> set newname for datafile 3 to '/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf';
8> set newname for datafile 4 to '/opt/oracle/product/10gR2/oradata/DB01/users.dbf';
9> set newname for datafile 5 to '/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf';
10> set newname for datafile 6 to '/opt/oracle/product/10gR2/oradata/DB01/file1.dbf';
11> set newname for datafile 7 to '/opt/oracle/product/10gR2/oradata/DB01/file2.dbf';
12>
13> restore database;
14> switch datafile all;
15> recover database;
16> }
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 03-JAN-08
Starting implicit crosscheck backup at 03-JAN-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 651 objects
Finished implicit crosscheck backup at 03-JAN-08
Starting implicit crosscheck copy at 03-JAN-08
using channel ORA_DISK_1
Crosschecked 1 objects
Finished implicit crosscheck copy at 03-JAN-08
searching for all files in the recovery area
cataloging files...
no files cataloged
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /opt/oracle/product/10gR2/oradata/DB01/system.dbf
restoring datafile 00002 to /opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
restoring datafile 00003 to /opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
restoring datafile 00004 to /opt/oracle/product/10gR2/oradata/DB01/users.dbf
restoring datafile 00005 to /opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
restoring datafile 00006 to /opt/oracle/product/10gR2/oradata/DB01/file1.dbf
restoring datafile 00007 to /opt/oracle/product/10gR2/oradata/DB01/file2.dbfchannel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus
channel ORA_DISK_1: restored backup piece 1
piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642899284.1.1.bus tag=20080101_LV0_DB
channel ORA_DISK_1: restore complete, elapsed time: 01:22:28
Finished restore at 03-JAN-08
datafile 1 switched to datafile copy
input datafile copy recid=14 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/system.dbf
datafile 2 switched to datafile copy
input datafile copy recid=15 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs1.dbf
datafile 3 switched to datafile copy
input datafile copy recid=16 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/sysaux.dbf
datafile 4 switched to datafile copy
input datafile copy recid=17 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/users.dbf
datafile 5 switched to datafile copy
input datafile copy recid=18 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/undotbs2.dbf
datafile 6 switched to datafile copy
input datafile copy recid=19 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file1.dbf
datafile 7 switched to datafile copy
input datafile copy recid=20 stamp=643049225 filename=/opt/oracle/product/10gR2/oradata/DB01/file2.dbf
Starting recover at 03-JAN-08
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archive log restore to default destination
channel ORA_DISK_1: restoring archive log
archive log thread=2 sequence=1005
channel ORA_DISK_1: restoring archive log
archive log thread=1 sequence=1365
channel ORA_DISK_1: reading from backup piece /ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus
channel ORA_DISK_1: restored backup piece 1
piece handle=/ocfs2/remitpro/oracleBackups/tmp/rman_LV0_DB01.642900444.1.1.bus tag=20080101_LV0_DB
channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc thread=1 sequence=1365
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_2_1005_3qtshncz_.arc thread=2 sequence=1005
channel default: deleting archive log(s)
archive log filename=/opt/oracle/product/10gR2/db/flash_recovery_area/DB01/archivelog/2008_01_03/o1_mf_1_1365_3qtshnfv_.arc recid=2418 stamp=643049236
unable to find archive log
archive log thread=1 sequence=1366
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/03/2008 16:47:22
RMAN-06054: media recovery requesting unknown log: thread 1 seq 1366 lowscn 181804603
RMAN> **end-of-file**
I searched for a decription of the 06054 error, and found that if the archive logs weren't available, then to run "alter database open resetlogs;", which I did. Here's the output:
RMAN> alter database open resetlogs;
database opened
RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database:
ORA-06553: PLS-801: internal error [56319]
I've done all of this twice now, with the same result. I've googled PLS-801 and found more than a few instances of people getting this code, but not during a database open after a restore. Can anyone shed some light on what might have gone wrong? In the interest of brevity, I left out the rest of the restore process prior to running the database restore, but other than setting "compatible" and "db_recovery_file_dest_size", it was all by the book.
Thanks in advance.Thanks for the reply Pierre.
I am not using RMAN Duplicate. Yes, the source of the backup is an RAC. The destination is a single server, with the DB on the filesystem. Here's an overview of of the commands I ran and the procedure.
Copied tar'd backup controlfile and datafiles to destination machine. Untar'd. Install 10.2.0.1.0 on destination machine, patch to 10.2.0.2.0.
OS> sqlplus /nologin
SQL> alter system set compatible = '10.2.0.2.0' scope=spfile;
SQL> alter system set db_recovery_dest_file_size = '8g'; scope spfile;
SQL> shutdown immediate;
SQL> startup; (to verify changes took...)
SQL> shutdown immediate;
OS> Copy control file from untar'd dir and place in $ORACLE_HOME/dbs/, truncate name to c-DBID-date-00.
OS> rman target /
RMAN> startup nomount;
RMAN> set dbid <dbid from control file>;
RMAN> restore controlfile from autobackup; (finds control file with no problem...)
RMAN> alter database mount;
RMAN> @/home/oracle/rman_dr.rman (script cited in first post, to rename datafiles from ASM to filesystem, restore, switch files, and recover...)
RMAN> alter database open resetlogs; (as cited before...)
If I'm not using Duplicate and not specifying dates, the UNTIL/SET UNTIL commands aren't necessary, correct? -
ORA-10458: standby database requires recovery
hi
kindly help me... i got error when standby open in read only mode
SQL*Plus: Release 11.2.0.3.0 Production on Sat Jan 19 14:37:46 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 5344731136 bytes
Fixed Size 2237776 bytes
Variable Size 1275071152 bytes
Database Buffers 4060086272 bytes
Redo Buffers 7335936 bytes
Database mounted.
SQL> Alter Database Recover Managed Standby Database Disconnect;
Database altered.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Database altered.
SQL> ALTER DATABASE OPEN READ ONLY;
ALTER DATABASE OPEN READ ONLY
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 22 was not restored from a sufficiently old backup
ORA-01110: data file 22: '/archive/data/undo01.dbf'hi CKPT
I executed the action plan as you recommend and got below information;
SQL> recover standby database;
ORA-00279: change 5983485554580 generated at 01/01/2013 19:27:17 needed for
thread 1
ORA-00289: suggestion : /archive/PROD_1_750568044_45027.ARC
ORA-00280: change 5983485554580 for thread 1 is in sequence #45027
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
'/archive/PROD_1_750568044_45400.ARC'
ORA-00310: archived log contains sequence 45400; sequence 45027 required
ORA-00334: archived log: '/archive/PROD_1_750568044_45400.ARC'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 22 was not restored from a sufficiently old backup
ORA-01110: data file 22: '/archive/data/undo01.dbf'
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01666: control file is for a standby database
SQL> alter system switch logfile;
alter system switch logfile
ERROR at line 1:
ORA-01109: database not open
---------------------------------- and some other activity but still not found any solution-------------
RMAN> recover database until sequence
2> 45026;
Starting recover at 23-JAN-13
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/23/2013 16:42:47
RMAN-06556: datafile 1 must be restored from backup older than SCN 5983484595990
RMAN> recover database until sequence 45027;
Starting recover at 23-JAN-13
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/23/2013 16:42:59
RMAN-06556: datafile 22 must be restored from backup older than SCN 5983485554580
RMAN> recover database until sequence 45025;
Starting recover at 23-JAN-13
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/23/2013 16:43:09
RMAN-06556: datafile 1 must be restored from backup older than SCN 5983484160276
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 01/23/2013 16:43:25
ORA-01666: control file is for a standby database -
The last log for my database in sql error log is
Recovery of database 'DBNAME' (37) is 18% complete (approximately 111 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.
Its been more than 7hrs now & still the recovery is not completed. My database is 7gb in size. When I check sp_who2 " i see the the DBCC session is blocked by -3 spid. The session is not getting killed & i don't get any info on how i can kill session
blocked by spid -3. Any thoughts on thisall sql folders/db files are exempted from antivirus scan. there is no update in sql error log on percentage completed,
the last update was 7hrs ago (18%).
sql version SQL 2008 R2 SP1 enterprise edition. cannot find what is running against spid -3, dbcc inputbuffer (-3) gives invalid spid error. I referred this link http://www.sqlskills.com/BLOGS/PAUL/post/Disaster-recovery-101-dealing-with-negative-SPIDS-(-2-and-3).aspx.
as mentioned in link I don't get deferred transaction that has a transaction status with the 0x80000. I did not find much information on resolving spid -3
blocks even after lot of search. As last measure we have decided to drop the database & restore from the backup. -
Databases in Recovery Pending state
Dear all,
Need your expertise to understand bit more.
Yesterday i came across databases in "Recovery Pending" state problem.
Followed too many recommendations form Google but to no avail.
e.g. http://dbamohsin.wordpress.com/2012/01/23/cannot-detach-a-suspect-or-recovery-pending-database/
Plucked some leafs from Paul Randal's articles as well http://www.sqlskills.com/blogs/paul/post/Search-Engine-QA-4-Using-EMERGENCY-mode-to-access-a-RECOVERY-PENDING-or-SUSPECT-database.aspx
But none of them could fixed my problem.
What i did:
I installed 2008 r2 on a machine (DEV) which already had 2008; yea instance name was different.
Had to restart the server so i did (yea, i gave all developers enough time but due to some reasons databases were in recovery pending mode).
After restart, some databases (not all) were in recovery pending state. Above links provided enough stuff to recover them but didnt work. For instance after setting database in Emergency mode, it stayed there for ages telling something like "Database is
being recovered, wait until recovery is finished".
How i fixed it:
I attached them onto the newly created 2008 r2 instance. Made them offline (on old instance) in case there is any access conflict. Didnt get any error, like files are in use or something, while attaching them (which raised an eyebrow).
Couple of things i noticed after new instance's installation:
While trying to reattach database on same old instance, I wasn't able to see the .mdf and .ldf files form there respective drives. But i was able to see from the new instance.
WHY?
Both sql server services (old and new) were using same service account. When i gave service account enough ntfs permissions on the drive i was able to see all .mdf and .ldf files.
Questions are:
1) Why it wasnt the case before? Important to note here: service accounts were local admins on the server.
(I think i am answering myself here...would love to get more insight on it).
2) Is it normal that i just have 2008r2 tools in Start>>Program. e.g. there is just 2008 r2 management studio not 2008 one etc.
Dont want to let this happen in production environment (i will have backups though), so is there any approach you guys are using to avoid it.
I hope i made myself clear here, or let me know.
Thanks in advance for any help.
Dinkar ChalotraIf you dont need your log file, you can:
Detach your database
Move the log file to other place
Attach back the database and from the file list, remove the ldf
SQL server will create a new log file and the database will be online again.
Escarcha -
Mirror Database shows Recovery state in Database mirroring in sql 2012
Hi I am working on DBmirroring and have encountered problem of mirror database showing recovery state.
I tried to resolve issue by removing database mirroring from principal ,removing endpoints from both the nodes and
finally firing alter database db1 set partner off statement also.But when reconfigure dbmirroring on principal it does not allow
start dbmirroring and mirror database db1 comes in to recovery state from restoring stage.
srm_2010ok in that case why it is not allowing me to configure db mirroring when I am trying from SSMS.It gives an error.tell me????
srm_2010
And what is the error ? If while configuring mirroring it fails for some reason you have to make sure the mirror database which has gone in recovery state needs to be brought in restoring state.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
I have the full offline backup of my development system now I want to perform a restore & recovery test as our golive is very nearer . Can anybody shed the light to perform it from SQL management studio with steps.
You can script it like this:
RESTORE DATABASE QAS
FROM Tape0, Tape1, Tape2
WITH NORECOVERY,
FILE = 4,
MOVE 'PRDDATA1' TO 'H:\DATA1\QASDATA1.MDF',
MOVE 'PRDDATA2' TO 'H:\DATA2\QASDATA2.NDF',
MOVE 'PRDDATA3' TO 'H:\DATA3\QASDATA3.NDF',
MOVE 'PRDDATA4' TO 'H:\DATA4\QASDATA4.NDF'
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251240.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251410.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251425.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251440.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251455.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251510.TRN' WITH NORECOVERY;
RESTORE LOG TS2 FROM DISK = 'Q:\FROM_PRD\PRD_tlog_200801251525.TRN' WITH RECOVERY;
"Tape0, Tape1, Tape2" is the device that the backup is being restored from. In this case, three tape drives in parallel.
The MOVE statements tell SQL Server where the original DB files from PRD will now be located on the QAS server.
The Q:\ drive here is a location that contains the transaction logs copied over from the PRD system.
Always make sure you use the NORECOVERY option in every step before you are finished applying logs, and use the RECOVERY option with the last log you want to apply. Once you use the RECOVERY option, no more logs can be applied and a new CHECKPOINT is set in the DB, so make sure you get it right the first time.
Maybe you are looking for
-
FM or BAPI for date and time for the creation of a Purchase Requisition
Hi people: Does anybody knows about a FM, BAPI or table in which i have de detail for the date and hour of the creation of a Purchase requisition? Points for helpfull answers. Thanks in advanced
-
USB 3.0 expressCard for Lenovo G555
Hello, is it possible to connect a usb 3.0 ExpressCard to my Lenovo G555? thank you!
-
Store&read chinese characters in MS SQL server 2000 using Java
Hi, I have a problem to store Chinese characters in MS SQL Server 2000, storing question marks(??????) instead of Chinese characters I am using JSF framework, SUN APPLICATION Server 9.1 , MS SQL Server 2000 server and Microsoft data source driver cla
-
Burned DVD-Rs and DVD-RW's won't mount
Hardware Overview: Model Name: iMac Model Identifier: iMac4,1 Processor Name: Intel Core Duo Processor Speed: 2 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 2 MB Memory: 1.5 GB Bus Speed: 667 MHz Boot ROM Version: IM41.0055.B08 SMC
-
Skipping Problem and Ipod acting Strange
I brought an Ipod Video 30GB in march 2006 Recently it has started having the following problems *it started freezing up in the middle of playing. *It has also stopped loading tracks. It'll bring up the screen for the next track, sit there for a coup