cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher Stops

Former Member
0 Kudos

Dear All,

We have recently installed an image of SAP ECC 6.0. After working for a day, when I try to start the services in SAP Management console, the status of dispatcher changes to 'stopped' and everything under ABAP WP Tables changes to 'Ended'.

I have detached and re-attached the database{the files are on an external HDD}. I have even tried changing the db owner to my sysid (=ec6) but without any success.

I am pasting the dev_w0 & dev_w1 for your reference. Please check it and let me know what needs to be done to get it working!

dev_w0

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Thu Apr 03 17:11:24 2008

B create_con (con_name=R/3)

B Loading DB library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' ...

B Library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' loaded

B Version of 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' is "700.08", patchlevel (0.72)

B New connection 0 created

M sysno 01

M sid EC6

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 75

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 292

M

M kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)

M length of sys_adm_ext is 572 bytes

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

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

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

M

M Thu Apr 03 17:11:25 2008

M DpShMCreate: sizeof(wp_adm) 18304 (1408)

M DpShMCreate: sizeof(tm_adm) 3994272 (19872)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

M DpShMCreate: sizeof(comm_adm) 528064 (1048)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1440)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 08190040, size: 4653368)

M DpShMCreate: allocated sys_adm at 08190040

M DpShMCreate: allocated wp_adm at 08191E40

M DpShMCreate: allocated tm_adm_list at 081965C0

M DpShMCreate: allocated tm_adm at 081965F0

M DpShMCreate: allocated wp_ca_adm at 08565890

M DpShMCreate: allocated appc_ca_adm at 0856B650

M DpShMCreate: allocated comm_adm at 0856D590

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 085EE450

M DpShMCreate: allocated gw_adm at 085EE490

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 085EE4C0

M DpShMCreate: allocated wall_adm at 085EE4C8

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 ThInit: running on host bpecc60

M

M Thu Apr 03 17:11:26 2008

M calling db_connect ...

C Thread ID:2768

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 72

C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)

C np:(local) connection used on BPECC60

C CopyLocalParameters: dbuser is 'ec6'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C Provider Release:9.00.2047.00

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ERROR: schema user ec6 has administrator fixed server role (user_name() is 'dbo').

C This is not allowed. Please check the Server Roles of user ec6.

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

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 = V-1

M

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

M *

M * LOCATION SAP-Server bpecc60_EC6_01 on host bpecc60 (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Thu Apr 03 17:11:26 2008

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10354

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 292) [dpnttool.c 327]

-


dev_w1

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Thu Apr 03 17:11:24 2008

B create_con (con_name=R/3)

B Loading DB library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' ...

B Library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' loaded

B Version of 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll' is "700.08", patchlevel (0.72)

B New connection 0 created

M sysno 01

M sid EC6

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 75

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 1956

M

M kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)

M length of sys_adm_ext is 572 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 1956) [dpxxdisp.c 1299]

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) 18304 (1408)

M DpShMCreate: sizeof(tm_adm) 3994272 (19872)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

M DpShMCreate: sizeof(comm_adm) 528064 (1048)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1440)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 08190040, size: 4653368)

M DpShMCreate: allocated sys_adm at 08190040

M DpShMCreate: allocated wp_adm at 08191E40

M DpShMCreate: allocated tm_adm_list at 081965C0

M DpShMCreate: allocated tm_adm at 081965F0

M DpShMCreate: allocated wp_ca_adm at 08565890

M DpShMCreate: allocated appc_ca_adm at 0856B650

M DpShMCreate: allocated comm_adm at 0856D590

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 085EE450

M DpShMCreate: allocated gw_adm at 085EE490

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 085EE4C0

M DpShMCreate: allocated wall_adm at 085EE4C8

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 1 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Thu Apr 03 17:11:25 2008

M ThInit: running on host bpecc60

M

M Thu Apr 03 17:11:26 2008

M calling db_connect ...

C Thread ID:4288

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'C:\usr\sap\EC6\DVEBMGS01\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 72

C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)

C np:(local) connection used on BPECC60

C CopyLocalParameters: dbuser is 'ec6'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C Provider Release:9.00.2047.00

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

C ERROR: schema user ec6 has administrator fixed server role (user_name() is 'dbo').

C This is not allowed. Please check the Server Roles of user ec6.

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

M

M Info for wp 1

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 = V-1

M

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

M *

M * LOCATION SAP-Server bpecc60_EC6_01 on host bpecc60 (wp 1)

M * ERROR ThInit: db_connect

M *

M * TIME Thu Apr 03 17:11:26 2008

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10354

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)...

B dbtbxbuf: Buffer TBX_SINGLE not available

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

Regards,

Gyanesh Rupani

Edited by: Gyanesh Rupani on Apr 4, 2008 3:34 PM

Accepted Solutions (1)

Accepted Solutions (1)

clas_hortien
Active Contributor

Hi,

this is the problem:

C ERROR: schema user ec6 has administrator fixed server role (user_name() is 'dbo').

C This is not allowed. Please check the Server Roles of user ec6.

Open the properties of the ec6 login and remove the System Admin Role. The login has to have the Server Admin, Bulk Admin and DB Creator role.

Regards

Clas

Former Member
0 Kudos

Hi Clas,

Thanks a ton for the solution. It works!

Regards,

Gyanesh Rupani

Former Member
0 Kudos

i am having a similar problem but would like to get a more detailed step wise solution.. i am unable to search ec6 login properties. can u please be more specific in this regard. thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

execute following query in query analyzer

use EC6

EXEC sp_grantdbaccess 'ec6'

EXEC sp_addrolemember 'db_owner', 'ec6'

go

use master

EXEC sp_grantdbaccess 'ec6'

EXEC sp_addrolemember 'db_owner', 'ec6'

go

use msdb

EXEC sp_grantdbaccess 'ec6'

EXEC sp_addrolemember 'db_owner', 'ec6'

go

use model

EXEC sp_grantdbaccess 'ec6'

EXEC sp_addrolemember 'db_owner', 'ec6'

go

use tempdb

EXEC sp_grantdbaccess 'ec6'

EXEC sp_addrolemember 'db_owner', 'ec6'

go

EXEC sp_addsrvrolemember 'ec6', 'serveradmin'

EXEC sp_addsrvrolemember 'ec6', 'dbcreator'

EXEC sp_addsrvrolemember 'ec6', 'bulkadmin'

go

EXEC sp_grantlogin 'saphostname\ec6adm'

EXEC sp_grantlogin 'saphostname\sapserviceec6'

EXEC sp_defaultdb 'saphostname\ec6adm','EC6'

EXEC sp_defaultdb 'saphostname\sapserviceec6','EC6'

go

EXEC sp_addsrvrolemember 'saphostname\ec6adm', 'sysadmin'

EXEC sp_addsrvrolemember 'saphostname\sapserviceec6', 'sysadmin'

start the sap.

regards,

kaushal

Former Member
0 Kudos

Hi Kaushal,

Thank you for the prompt response. I had already run these queries but without any success. But the solution provided by Clas has solved my issue.

I appreciate help provided by both of you.

Regards,

Gyanesh

Former Member
0 Kudos

thx a lot, I had the same error message in the work trace log. I had to uninstall MSSQL2005 and reinstall MSSQL 2008 after an upgrade problem. By manually creation of login user, db user and shema I added sysadmin instead of serveradmin role... that was the mistake... the following provided solution solved the problem.

Open the properties of the ec6 login and remove the System Admin Role. The login has to have the Server Admin, Bulk Admin and DB Creator role.