cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher starts & die immediately

Former Member
0 Kudos

Hi Experts,

I am having 1 Production server. Taken the full databse backup.

This backup I wanted to restore on new production server.

I kept same System name, System ID,System No.& IP address as same as old production server.

I restore that database on new production server. But afer restoration of databse the SAP MMC (dispatcher starts then stop) workprocesses dispayed status Ended.

Please give me solution how can I recover SAP MMC.

Thanks & Regards,

Nitin.

Accepted Solutions (1)

Accepted Solutions (1)

Nibu
Contributor
0 Kudos

Hi Nitin,

The issue is with the schema conversion of your source DB to target Db .

To solve this issue, either run STM tool as mentioned above by Rohit .Otherwise you can run the scripts attached with the SAP note Refer SAP note Note 551915 .Here You will get a Zip file in that Two scripts are attached. Use the appropriate script to run. You have to customize the scripts for your scenario . Run it using Query Analizer /visual Studio .

After running this script, it would be fine , that your system will be runnig fine as the schema will be converted .

Regards,

Nibu Antony

Answers (5)

Answers (5)

Former Member
0 Kudos

Perfect ,It gives me much help.

Former Member
0 Kudos

Thanks everybody issue has been resolved...

Former Member
0 Kudos

Hi Nitin

Please read note 551915

Hope this will solve your problem.

Regards

Mohammmed

Former Member
0 Kudos

Hello Nitin,

It looks as you have not run the STM (SAP Tools for Mssql Server).We need to run these after the restoration so as map the schemas and all

Please refer to Note 683447 and download the SAP tools for MSSQL server from

https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000704766&;

and run the tools

Your issue will get resolved

Let me know of any issues

Rohit

former_member182505
Contributor
0 Kudos

Hi Rohit,

my issue is like same..

i have made a test server. with same sid as production server. i have taken full backup from MS SQL Studio.

i have restored the backup and overwrites sapdata1,sapdata2,sapdata3 and log file of newly installed test server.

after restoring the backup my disp+work is stoped.

i aslo run the querry on sql server script.

use PRD

go

ALTER AUTHORIZATION ON SCHEMA::[prd] TO [prd]

go

i have downloaded STM tool but i have no idea how to use STM tool.

and the log of dev_o is as bellow.

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Sat Apr 17 13:33:47 2010

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' ...

B Library 'D:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' loaded

B Version of 'D:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' is "700.08", patchlevel (0.109)

B New connection 0 created

M sysno 00

M sid PRD

M systemid 562 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 111

M intno 20050900

M make: multithreaded, Unicode, 64 bit, optimized

M pid 1612

M

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

M length of sys_adm_ext is 576 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1612) [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) 19248 (1480)

M DpShMCreate: sizeof(tm_adm) 5584592 (27784)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

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

M DpShMCreate: sizeof(comm_adm) 552080 (1088)

M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M DpShMCreate: sizeof(slock_adm) 0 (104)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1864)

M DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000F270050, size: 6275136)

M DpShMCreate: allocated sys_adm at 000000000F270050

M DpShMCreate: allocated wp_adm at 000000000F272150

M DpShMCreate: allocated tm_adm_list at 000000000F276C80

M DpShMCreate: allocated tm_adm at 000000000F276CE0

M DpShMCreate: allocated wp_ca_adm at 000000000F7CA3B0

M DpShMCreate: allocated appc_ca_adm at 000000000F7D0170

M DpShMCreate: allocated comm_adm at 000000000F7D20B0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 000000000F858D40

M DpShMCreate: allocated gw_adm at 000000000F858DC0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 000000000F858DF0

M DpShMCreate: allocated wall_adm at 000000000F858E00

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

X <EsNT> Using memory model view.

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Sat Apr 17 13:33:48 2010

M ThInit: running on host SAPPRD

M calling db_connect ...

C Thread ID:2840

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'D:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 110

C patchcomment MSSQL: Connect error handling (1053754)

C np:(local) connection used on SAPPRD

C CopyLocalParameters: dbuser is 'prd'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' 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() != 'prd' setuser 'prd']

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C failed to establish conn. 0

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

B ***LOG BY0=> Setuser failed because of one of the following reasons: the database principal 'prd' 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. [dbsh#2 @ 1204] [dbsh 1204 ]

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

B ***LOG BY0=> Setuser failed because of one of the following reasons: the database principal 'prd' 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. [dblink#3 @ 431] [dblink 0431 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 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 req.vm = no VM

M attachedVm = no VM

M

M M *

M * LOCATION SAP-Server SAPPRD_PRD_00 on host SAPPRD (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Sat Apr 17 13:33:48 2010

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10486

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

Kinldy help me regarding.

thanks

iqbal

Former Member
0 Kudos

Hell Nitin,

post the dev_w0 logs from work directory to let us know of the issues

Rohit

Former Member
0 Kudos

Thanks For quick reply

Please check the logs(dev_w0) below:

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Thu Feb 26 09:39:16 2009

B create_con (con_name=R/3)

B Loading DB library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' ...

B Library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' loaded

B Version of 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' is "700.08", patchlevel (0.109)

B New connection 0 created

M sysno 00

M sid PRD

M systemid 560 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 111

M intno 20050900

M make: multithreaded, Unicode, optimized

M pid 3628

M

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

M length of sys_adm_ext is 576 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3628) [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) 18672 (1436)

M DpShMCreate: sizeof(tm_adm) 4232256 (21056)

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 DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M DpShMCreate: sizeof(slock_adm) 0 (96)

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

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1536)

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

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 07A80040, size: 4892312)

M DpShMCreate: allocated sys_adm at 07A80040

M DpShMCreate: allocated wp_adm at 07A82090

M DpShMCreate: allocated tm_adm_list at 07A86980

M DpShMCreate: allocated tm_adm at 07A869B0

M DpShMCreate: allocated wp_ca_adm at 07E8FDF0

M DpShMCreate: allocated appc_ca_adm at 07E95BB0

M DpShMCreate: allocated comm_adm at 07E97AF0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 07F189B0

M DpShMCreate: allocated gw_adm at 07F189F0

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 07F18A20

M DpShMCreate: allocated wall_adm at 07F18A28

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

X <EsNT> Using memory model view.

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Thu Feb 26 09:39:17 2009

M ThInit: running on host sapprd

M

M Thu Feb 26 09:39:18 2009

M calling db_connect ...

C Thread ID:3632

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 110

C patchcomment MSSQL: Connect error handling (1053754)

C np:(local) connection used on SAPPRD

C CopyLocalParameters: dbuser is 'prd'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' 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() != 'prd' setuser 'prd']

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6450]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'prd' 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 'prd' failed -- connect terminated

C failed to establish conn. 0

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

B ***LOG BY0=> Setuser failed because of one of the following reasons: the database principal 'prd' 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. [dbsh#2 @ 1204] [dbsh 1204 ]

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

B ***LOG BY0=> Setuser failed because of one of the following reasons: the database principal 'prd' 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. [dblink#3 @ 431] [dblink 0431 ]

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M stat = WP_RUN

M waiting_for = NO_WAITING

M reqtype = DP_RQ_DIAWP

M act_reqtype = NO_REQTYPE

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source =

M last_tid = 0

M last_mode = 0

M semaphore = 0

M act_cs_count = 0

M csTrack = 0

M csTrackRwExcl = 0

M csTrackRwShrd = 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 req.vm = no VM

M attachedVm = no VM

M

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

M *

M * LOCATION SAP-Server sapprd_PRD_00 on host sapprd (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Thu Feb 26 09:39:18 2009

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10486

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 Thu Feb 26 09:39:19 2009

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

Regards,

Nitin