cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher dies after 1 minute

ThomasKjelsrud
Participant
0 Kudos

Hi,

I am on ERP2005 SR2, with Windows 2003 and MSSQL 2005 DB.

I have recently performed a database restore of the SAP database, but I am not able to restart SAP after this.

The dispatcher dies after about 1 minute. You will find the dev_disp and dev_w0 files below:

dev_disp file:

-


trc file: "dev_disp", trc level: 1, release: "700"

-


sysno 00

sid T01

systemid 562 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 83

intno 20050900

make: multithreaded, ASCII, 64 bit, optimized

pid 4204

Thu Feb 08 09:02:37 2007

kernel runs with dp version 218(ext=109) (@(#) DPLIB-INT-VERSION-218)

length of sys_adm_ext is 360 bytes

      • SWITCH TRC-HIDE on ***

***LOG Q00=> DpSapEnvInit, DPStart (00 4204) [dpxxdisp.c 1239]

shared lib "dw_xml.dll" version 83 successfully loaded

shared lib "dw_xtc.dll" version 83 successfully loaded

shared lib "dw_stl.dll" version 83 successfully loaded

shared lib "dw_gui.dll" version 83 successfully loaded

shared lib "dw_mdm.dll" version 83 successfully loaded

rdisp/softcancel_sequence : -> 0,5,-1

use internal message server connection to port 3900

Thu Feb 08 09:02:41 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 5277]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is not active

DpIPCInit2: start server >sapr3s_T01_00 <

DpShMCreate: sizeof(wp_adm) 11648 (896)

DpShMCreate: sizeof(tm_adm) 4663200 (23200)

DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552048/552064

DpShMCreate: sizeof(comm_adm) 552064 (1088)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1496)

DpShMCreate: sizeof(wall_adm) (25648/36736/64/104)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000BDA0050, size: 5320400)

DpShMCreate: allocated sys_adm at 000000000BDA0050

DpShMCreate: allocated wp_adm at 000000000BDA1AB0

DpShMCreate: allocated tm_adm_list at 000000000BDA4830

DpShMCreate: allocated tm_adm at 000000000BDA4890

DpShMCreate: allocated wp_ca_adm at 000000000C217030

DpShMCreate: allocated appc_ca_adm at 000000000C21B680

DpShMCreate: allocated comm_adm at 000000000C21CDF0

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 000000000C2A3A70

DpShMCreate: allocated gw_adm at 000000000C2A3AF0

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 000000000C2A3B20

DpShMCreate: allocated wall_adm at 000000000C2A3B30

MBUF state OFF

DpCommInitTable: init table for 500 entries

EmInit: MmSetImplementation( 2 ).

MM global diagnostic options set: 0

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 4096 kByte.

Using implementation flat

<EsNT> Memory Reset disabled as NT default

<ES> 127 blocks reserved for free list.

ES initialized.

Thu Feb 08 09:02:42 2007

rdisp/http_min_wait_dia_wp : 1 -> 1

***LOG Q0K=> DpMsAttach, mscon ( sapr3s) [dpxxdisp.c 11644]

DpStartStopMsg: send start message (myname is >sapr3s_T01_00 <)

DpStartStopMsg: start msg sent

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

CCMS: Initalizing shared memory of size 40000000 for monitoring segment.

CCMS: start to initalize 3.X shared alert area (first segment).

DpMsgAdmin: Set release to 7000, patchlevel 0

MBUF state PREPARED

MBUF component UP

DpMBufHwIdSet: set Hardware-ID

***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]

DpMsgAdmin: Set patchno for this platform to 83

Release check o.K.

Thu Feb 08 09:03:22 2007

      • ERROR => W0 (pid 4732) died [dpxxdisp.c 14299]

      • ERROR => W1 (pid 2544) died [dpxxdisp.c 14299]

      • ERROR => W2 (pid 412) died [dpxxdisp.c 14299]

      • ERROR => W3 (pid 4944) died [dpxxdisp.c 14299]

      • ERROR => W4 (pid 2760) died [dpxxdisp.c 14299]

      • ERROR => W5 (pid 1004) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xbf --> 0xbe

      • ERROR => W6 (pid 4104) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xbe --> 0xbc

      • ERROR => W7 (pid 2208) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xbc --> 0xb8

      • ERROR => W8 (pid 3300) died [dpxxdisp.c 14299]

      • ERROR => W9 (pid 3312) died [dpxxdisp.c 14299]

      • ERROR => W10 (pid 4412) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xb8 --> 0xb0

      • ERROR => W11 (pid 4112) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xb0 --> 0xa0

      • ERROR => W12 (pid 4336) died [dpxxdisp.c 14299]

my types changed after wp death/restart 0xa0 --> 0x80

      • DP_FATAL_ERROR => DpWPCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:32 2007

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Thu Feb 08 08:03:32 2007

========================

No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table

-


0 DIA 4732 Ended no 1 0 0

1 DIA 2544 Ended no 1 0 0

2 DIA 412 Ended no 1 0 0

3 DIA 4944 Ended no 1 0 0

4 DIA 2760 Ended no 1 0 0

5 DIA 1004 Ended no 1 0 0

6 UPD 4104 Ended no 1 0 0

7 ENQ 2208 Ended no 1 0 0

8 BTC 3300 Ended no 1 0 0

9 BTC 3312 Ended no 1 0 0

10 BTC 4412 Ended no 1 0 0

11 SPO 4112 Ended no 1 0 0

12 UP2 4336 Ended no 1 0 0

Dispatcher Queue Statistics Thu Feb 08 08:03:32 2007

===========================

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

0

2

2000

5

5

--------


+
+

+

+
--


+

DIA

5

5

2000

5

0

--------


+
+

+

+
--


+

UPD

0

0

2000

0

0

--------


+
+

+

+
--


+

ENQ

0

0

2000

0

0

--------


+
+

+

+
--


+

BTC

0

0

2000

0

0

--------


+
+

+

+
--


+

SPO

0

0

2000

0

0

--------


+
+

+

+
--


+

UP2

0

0

2000

0

0

--------


+
+

+

+
--


+

max_rq_id 12

wake_evt_udp_now 0

wake events total 8, udp 6 ( 75%), shm 2 ( 25%)

since last update total 8, udp 6 ( 75%), shm 2 ( 25%)

Dump of tm_adm structure: Thu Feb 08 08:03:32 2007

=========================

Term uid man user term lastop mod wp ta a/i (modes)

Workprocess Comm. Area Blocks Thu Feb 08 08:03:32 2007

=============================

Slots: 300, Used: 1, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

0

DISPATCHER

-1

WPCAAD000

NiWait: sleep (5000ms) ...

NiISelect: timeout 5000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:37 2007

NiISelect: TIMEOUT occured (5000ms)

DpHalt: shutdown server >sapr3s_T01_00 < (normal)

DpJ2eeDisableRestart

DpModState: buffer in state MBUF_PREPARED

NiBufSend starting

NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)

MsINiWrite: sent 110 bytes

MsIModState: change state to SHUTDOWN

DpModState: change server state from STARTING to SHUTDOWN

Switch off Shared memory profiling

ShmProtect( 57, 3 )

ShmProtect(SHM_PROFILE, SHM_PROT_RW

ShmProtect( 57, 1 )

ShmProtect(SHM_PROFILE, SHM_PROT_RD

DpWakeUpWps: wake up all wp's

Stop work processes

Stop gateway

killing process (2584) (SOFT_KILL)

Stop icman

killing process (4720) (SOFT_KILL)

Terminate gui connections

wait for end of work processes

wait for end of gateway

[DpProcDied] Process lives (PID:2584 HANDLE:516)

waiting for termination of gateway ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:38 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process died (PID:2584 HANDLE:516)

wait for end of icman

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:39 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:40 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:41 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:42 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:43 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:44 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:45 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:46 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:47 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:48 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process lives (PID:4720 HANDLE:528)

waiting for termination of icman ...

NiWait: sleep (1000ms) ...

NiISelect: timeout 1000ms

NiISelect: maximum fd=553

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Feb 08 09:03:49 2007

NiISelect: TIMEOUT occured (1000ms)

[DpProcDied] Process died (PID:4720 HANDLE:528)

DpStartStopMsg: send stop message (myname is >sapr3s_T01_00 <)

NiIMyHostName: hostname = 'sapr3s'

AdGetSelfIdentRecord: > <

AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0

DpConvertRequest: net size = 189 bytes

NiBufSend starting

NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)

MsINiWrite: sent 562 bytes

send msg (len 110+452) to name -, type 4, key -

DpStartStopMsg: stop msg sent

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)

NiBufIIn: NIBUF len=274

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 274 bytes

MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -

DpHalt: received 164 bytes from message server

NiIRead: hdl 2 recv would block (errno=EAGAIN)

NiIRead: read for hdl 2 timed out (0ms)

DpHalt: no more messages from the message server

DpHalt: send keepalive to synchronize with the message server

NiBufSend starting

NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)

MsINiWrite: sent 114 bytes

send msg (len 110+4) to name MSG_SERVER, type 0, key -

MsSndName: MS_NOOP ok

Send 4 bytes to MSG_SERVER

NiIRead: hdl 2 recv would block (errno=EAGAIN)

NiIPeek: peek successful for hdl 2 (r)

NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)

NiBufIIn: NIBUF len=114

NiBufIIn: packet complete for hdl 2

NiBufReceive starting

MsINiRead: received 114 bytes

MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key -

Received 4 bytes from MSG_SERVER

Received opcode MS_NOOP from msg_server, reply MSOP_OK

MsOpReceive: ok

MsSendKeepalive : keepalive sent to message server

NiIRead: hdl 2 recv would block (errno=EAGAIN)

Thu Feb 08 09:03:50 2007

NiIPeek: peek for hdl 2 timed out (r; 1000ms)

NiIRead: read for hdl 2 timed out (1000ms)

DpHalt: no more messages from the message server

DpHalt: sync with message server o.k.

detach from message server

***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 11957]

NiBufSend starting

NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)

MsINiWrite: sent 110 bytes

MsIDetach: send logout to msg_server

MsIDetach: call exit function

DpMsShutdownHook called

NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0

SiSelNSet: set events of sock 452 to: ---

NiBufISelRemove: remove hdl 2 from set0

SiSelNRemove: removed sock 452 (pos=2)

SiSelNRemove: removed sock 452

NiSelIRemove: removed hdl 2

MBUF state OFF

AdGetSelfIdentRecord: > <

AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0

blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/13

LOCK WP ca_blk 1

make DISP owner of wp_ca_blk 1

DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)

MBUF component DOWN

NiICloseHandle: shutdown and close hdl 2 / sock 452

NiBufIClose: clear extension for hdl 2

MsIDetach: detach MS-system

cleanup EM

EsCleanup ....

EmCleanup() -> 0

Es2Cleanup: Cleanup ES2

***LOG Q05=> DpHalt, DPStop ( 4204) [dpxxdisp.c 10317]

Good Bye .....

DEV_W0 file:

-


trc file: "dev_w0", trc level: 1, release: "700"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Thu Feb 08 09:02:42 2007

B create_con (con_name=R/3)

B Loading DB library 'F:\usr\sap\T01\DVEBMGS00\exe\dbmssslib.dll' ...

B Library 'F:\usr\sap\T01\DVEBMGS00\exe\dbmssslib.dll' loaded

B Version of 'F:\usr\sap\T01\DVEBMGS00\exe\dbmssslib.dll' is "700.08", patchlevel (0.81)

B New connection 0 created

M sysno 00

M sid T01

M systemid 562 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 83

M intno 20050900

M make: multithreaded, ASCII, 64 bit, optimized

M pid 4732

M

M kernel runs with dp version 218(ext=109) (@(#) DPLIB-INT-VERSION-218)

M length of sys_adm_ext is 360 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4732) [dpxxdisp.c 1301]

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

M DpShMCreate: sizeof(wp_adm) 11648 (896)

M DpShMCreate: sizeof(tm_adm) 4663200 (23200)

M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552048/552064

M DpShMCreate: sizeof(comm_adm) 552064 (1088)

M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1496)

M DpShMCreate: sizeof(wall_adm) (25648/36736/64/104)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000DDA0050, size: 5320400)

M DpShMCreate: allocated sys_adm at 000000000DDA0050

M DpShMCreate: allocated wp_adm at 000000000DDA1AB0

M DpShMCreate: allocated tm_adm_list at 000000000DDA4830

M DpShMCreate: allocated tm_adm at 000000000DDA4890

M DpShMCreate: allocated wp_ca_adm at 000000000E217030

M DpShMCreate: allocated appc_ca_adm at 000000000E21B680

M DpShMCreate: allocated comm_adm at 000000000E21CDF0

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 000000000E2A3A70

M DpShMCreate: allocated gw_adm at 000000000E2A3AF0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 000000000E2A3B20

M DpShMCreate: allocated wall_adm at 000000000E2A3B30

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Thu Feb 08 09:02:43 2007

M ThInit: running on host sapr3s

M

M Thu Feb 08 09:02:44 2007

M calling db_connect ...

C Thread ID:2008

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'F:\usr\sap\T01\DVEBMGS00\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 81

C patchcomment Connection check on (0,0) (988711)

C np:(local) connection used on SAPR3S

C CopyLocalParameters: dbuser is 't01'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C failed to establish conn to np:(local).

C Retrying without protocol specifier: (local)

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 't01' setuser 't01']

C sloledb.cpp [ExecuteAndFlush,line 6419]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 't01' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.

C Procname: [ExecuteAndFlush - no proc]

C setuser 't01' failed -- connect terminated

C failed to establish conn. 0

B ***LOG BY2=> sql error 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]

B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]

B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]

B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]

M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]

M in_ThErrHandle: 1

M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10205]

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 semaphore = 0

M act_cs_count = 0

M control_flag = 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 vm = no VM

M

M *****************************************************************************

M *

M * LOCATION SAP-Server sapr3s_T01_00 on host sapr3s (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Thu Feb 08 09:02:44 2007

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10404

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 720]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]

M Entering ThSetStatError

M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 4732) [dpnttool.c 327]

Please let me know what to do!

Best Regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

See SAP Note # 551915. It describes a similar situation.

Former Member
0 Kudos

Hi!

Check that all enviroment variables are complete and still in place?

JAVA_HOME and DBMS_TYPE and so on

Also check that all exe files are of the same version, if not, make sure they are.

You could also try to update disp+work

rollo

ThomasKjelsrud
Participant
0 Kudos

Hi

I managed to fix this by running the SAP Tools for MS SQL:)

Regards,

Thomas

Former Member
0 Kudos

Hi,

I'm currently experiencing these same problems. Which SAP tools for the database did you run?

Thanks,

Ben

Former Member
0 Kudos

In default profile change dbs/mss/schema = <sid> <i>lover case</i>