cancel
Showing results for 
Search instead for 
Did you mean: 

Disp+work started and then stopped

Former Member
0 Kudos

Hello Experts,

I upgrade the Hardware. my old OS is windows 2003 Server and my New OS is Windows 2008 server. I installed fresh SAP on new Server and updates the Patch level as OLD.... then I detach the blank database and attach the new database..... and restart the Server..... I got an error with disp+work.... its started in begining and then stopped.....

so try to solve this with your experience.

Thanks

Dhaval Thaker

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Got Very Helpful Answers from experts

former_member185954
Active Contributor
0 Kudos

What was the issue?

Former Member
0 Kudos

Hello

SID is same and what is STM ????

Edited by: Dhaval Thaker on Sep 7, 2010 1:01 PM

sebastian_dusch
Explorer
0 Kudos

Hi,

STM stands for SAP Tools for MS SQL Server.

There can also be some errors with users and logins.

You would have to do a System Copy target installation.

Best

Sebastian Dusch

former_member185954
Active Contributor
0 Kudos

Hello Dhaval,

The log shows your <sid>adm user probably doesn't have permission to startup the database.

Please grant the required permission for the user, I am not sure how its done in MSSQL, probably use the SQL Analyser or something similar to SQLPLUS (Oracle).

Have a look at the note:

Note 1414121 - Cannot execute as the server principal

Hope that helps.

Regards,

Siddhesh

Former Member
0 Kudos

Hi Dhaval ,

Issue is seems to be with the schema conversion of your source DB to target DB.

You may need either run STM tool .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.

Thanks..

Mohit

Former Member
0 Kudos

Hello

I got This error

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Tue Sep 07 17:05:55 2010

B create_con (con_name=R/3)

B Loading DB library 'I:\usr\sap\CMP\DVEBMGS00\exe\dbmssslib.dll' ...

B Library 'I:\usr\sap\CMP\DVEBMGS00\exe\dbmssslib.dll' loaded

B Version of 'I:\usr\sap\CMP\DVEBMGS00\exe\dbmssslib.dll' is "700.08", patchlevel (0.171)

B New connection 0 created

M sysno 00

M sid CMP

M systemid 562 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 175

M intno 20050900

M make: multithreaded, Unicode, 64 bit, optimized

M pid 4640

M

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

M length of sys_adm_ext is 576 bytes

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

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

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

M

M Tue Sep 07 17:05:56 2010

M DpShMCreate: sizeof(wp_adm) 29792 (1752)

M DpShMCreate: sizeof(tm_adm) 5912704 (29416)

M DpShMCreate: sizeof(wp_ca_adm) 24064 (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: 00000000100B0050, size: 6614016)

M DpShMCreate: allocated sys_adm at 00000000100B0050

M DpShMCreate: allocated wp_adm at 00000000100B21F0

M DpShMCreate: allocated tm_adm_list at 00000000100B9650

M DpShMCreate: allocated tm_adm at 00000000100B96B0

M DpShMCreate: allocated wp_ca_adm at 000000001065CF30

M DpShMCreate: allocated appc_ca_adm at 0000000010662D30

M DpShMCreate: allocated comm_adm at 0000000010664C70

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 00000000106EB900

M DpShMCreate: allocated gw_adm at 00000000106EB980

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 00000000106EB9B0

M DpShMCreate: allocated wall_adm at 00000000106EB9C0

M rdisp/queue_size_check_value : -> off

M ThTaskStatus: rdisp/reset_online_during_debug 0

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

M

M Tue Sep 07 17:05:57 2010

M calling db_connect ...

C Thread ID:4644

C Thank You for using the SLOLEDB-interface

C Using dynamic link library 'I:\usr\sap\CMP\DVEBMGS00\exe\dbmssslib.dll'

C dbmssslib.dll patch info

C patchlevel 0

C patchno 171

C patchcomment ODBC DBSL Error handling in DSQL batches (1233665)

C np:(local) connection used on CHIP-MONG2

C CopyLocalParameters: dbuser is 'cmp'

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

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

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

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

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

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

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

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

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

C Using Provider SQLNCLI

C OpenOledbConnection: MARS property was set successfully.

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

C sloledb.cpp [ExecuteAndFlush,line 6582]: Error/Message: (err 15157, sev 0), Setuser failed because of one of the following reasons: the database principal 'cmp' 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 'cmp' 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 'cmp' 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#5 @ 431] [dblink 0431 ]

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

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

M in_ThErrHandle: 1

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

M

M Info for wp 0

M

M pid = 4640

M severity = 0

M status = 0

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 mode_cleaned_counter = 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 attachedVm = no VM

M

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

M *

M * LOCATION SAP-Server chip-mong2_CMP_00 on host chip-mong2 (wp 0)

M * ERROR ThInit: db_connect

M *

M * TIME Tue Sep 07 17:05:57 2010

M * RELEASE 700

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 10754

M * COUNTER 1

M *

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

M

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 723]

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

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

M Tue Sep 07 17:05:58 2010

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

give ur suggestion

Thanks and regards

Dhaval thaker

sebastian_dusch
Explorer
0 Kudos

Hi,

the error is caused by a schema mismatch because you attached the database of a system with a different SID.

If your using Microsoft SQL Server you can se the STM Tools to repair the mismatch.

Best,

Sebastian Dusch

Former Member
0 Kudos

Dear Siddhesh,

where i can found the log file and how can i do this in simple way...

Thanks for reply Guruji

Dhaval Thaker

former_member185954
Active Contributor
0 Kudos

Hello Dhaval,

Have you tried diagnosing the cause by checking the log files? if you have, you will appreciate that nobody can help you, if there are no log files to look at.

Please post the log files found in /usr/sap/<SID>/DVEBMGS<instanc>/work directory.

For e.g. you could post the contents of dev_w0 here.

Regards,

Siddhesh

sebastian_dusch
Explorer
0 Kudos

Hi,

do the new and the old server have the same SID?

Best,

Sebastian

Edited by: Sebastian Dusch on Sep 7, 2010 12:10 PM