cancel
Showing results for 
Search instead for 
Did you mean: 

Dispatcher not starting

Former Member
0 Kudos

Hey guys, when we try to start this BI7 instance we get the following error in the "Developer trace" & the Dispatcher isn't starting.... pls help...

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 1024 kByte.

Using implementation view

<EsNT> Memory Reset disabled as NT default

<ES> 511 blocks reserved for free list.

ES initialized.

***LOG Q0I=> NiIBindSocket: bind (10013: WSAEACCES: Permission denied) [nixxi.cpp 3173]

      • ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 1584

(SI_EPORT_INUSE/10013; I4; ST) [nixxi.cpp 3173]

      • ERROR => DpCommInit: NiBufListen (rc=-4) [dpxxdisp.c 9431]

      • DP_FATAL_ERROR => DpSapEnvInit: DpCommInit

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

Message was edited by:

Christopher Jansz

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Hi Chistopher,

Welcome to SDN,

can you post errors at dev_disp, dev_ms and dev_w0?

regards

Juan

Former Member
0 Kudos

the posted error is from dev_disp and the others are as follows

dev_w0: blank

dev_ms:

-


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

-


[Thr 4376] Thu Sep 20 14:36:41 2007

[Thr 4376] MsSSetTrcLog: trc logging active, max size = 20971520 bytes

systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 94

intno 20050900

make: multithreaded, ASCII, optimized

pid 11004

[Thr 4376] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 11004) [msxxserv.c 1824]

[Thr 4376] load acl file = F:\usr\sap\BI7\SYS\global\ms_acl_info.DAT

[Thr 4376] MsGetOwnIpAddr: my host addresses are :

[Thr 4376] 1 : [10.226.160.91] attnwsrv (HOSTNAME)

[Thr 4376] 2 : [127.0.0.1] ATTNWSRV.massap.corp.pri (LOCALHOST)

[Thr 4376] MsHttpInit: full qualified hostname = attnwsrv

[Thr 4376] HTTP logging is switch off

[Thr 4376] set HTTP state to LISTEN

[Thr 4376] ms/icf_info_server : deleted

[Thr 4376] *** I listen to port sapmsBI7 (3670) ***

[Thr 4376] *** I listen to internal port 3970 (3970) ***

[Thr 4376] *** HTTP port 8170 state LISTEN ***

[Thr 4376] CUSTOMER KEY: >Q0441168068<

[Thr 4376] Thu Sep 20 14:48:01 2007

[Thr 4376] *** ERROR => MsSCheckConnections: no response from client C0 (10.226.160.91) after 300 secs received [msxxserv.c 3165]

[Thr 4376] *** ERROR => MsSCheckConnections: disconnect now [10.226.160.91] [msxxserv.c 3169]

Former Member
0 Kudos

Hello Christopher,

Can you check is Database accessible ?

Please check the Database services , should be up and running .

Have you update the Kernel of the system ?

Regards,

Santosh Karadkar

Former Member
0 Kudos

Database is up...

but the dispatcher (disp+work.exe) isnt coming up

Former Member
0 Kudos

Please post dev_disp log !

Former Member
0 Kudos

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

-


sysno 70

sid BI7

systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 95

intno 20050900

make: multithreaded, ASCII, optimized

pid 9060

Thu Sep 20 14:36:41 2007

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

length of sys_adm_ext is 360 bytes

      • SWITCH TRC-HIDE on ***

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

shared lib "dw_xml.dll" version 95 successfully loaded

shared lib "dw_xtc.dll" version 95 successfully loaded

shared lib "dw_stl.dll" version 95 successfully loaded

shared lib "dw_gui.dll" version 95 successfully loaded

shared lib "dw_mdm.dll" version 95 successfully loaded

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

use internal message server connection to port 3970

Thu Sep 20 14:36:53 2007

      • WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0197.qqq.nxst) took 12 seconds

Thu Sep 20 14:37:10 2007

      • WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 17 seconds

***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5355]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

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

DpIPCInit2: start server >ATTNWSRV_BI7_70 <

DpShMCreate: sizeof(wp_adm) 13560 (904)

DpShMCreate: sizeof(tm_adm) 3605136 (17936)

DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

DpShMCreate: sizeof(comm_adm) 528048 (1048)

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

DpShMCreate: sizeof(slock_adm) 0 (96)

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

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1280)

DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 05C30040, size: 4234384)

DpShMCreate: allocated sys_adm at 05C30040

DpShMCreate: allocated wp_adm at 05C31A28

DpShMCreate: allocated tm_adm_list at 05C34F20

DpShMCreate: allocated tm_adm at 05C34F50

DpShMCreate: allocated wp_ca_adm at 05FA51E0

DpShMCreate: allocated appc_ca_adm at 05FA9830

DpShMCreate: allocated comm_adm at 05FAAFA0

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 0602BE50

DpShMCreate: allocated gw_adm at 0602BE90

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 0602BEC0

DpShMCreate: allocated wall_adm at 0602BEC8

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 1024 kByte.

Using implementation view

<EsNT> Memory Reset disabled as NT default

<ES> 511 blocks reserved for free list.

ES initialized.

***LOG Q0I=> NiIBindSocket: bind (10013: WSAEACCES: Permission denied) [nixxi.cpp 3173]

      • ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 1584

(SI_EPORT_INUSE/10013; I4; ST) [nixxi.cpp 3173]

      • ERROR => DpCommInit: NiBufListen (rc=-4) [dpxxdisp.c 9431]

      • DP_FATAL_ERROR => DpSapEnvInit: DpCommInit

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=1597

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Sep 20 14:37:20 2007

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Thu Sep 20 09:07:20 2007

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

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

-


0 DIA -1 Run no 0 0 0

1 DIA -1 Run no 0 0 0

2 DIA -1 Run no 0 0 0

Former Member
0 Kudos

Is it complete file ?

Former Member
0 Kudos

this is the complete file

-


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

-


sysno 70

sid BI7

systemid 560 (PC with Windows NT)

relno 7000

patchlevel 0

patchno 95

intno 20050900

make: multithreaded, ASCII, optimized

pid 9060

Thu Sep 20 14:36:41 2007

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

length of sys_adm_ext is 360 bytes

      • SWITCH TRC-HIDE on ***

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

shared lib "dw_xml.dll" version 95 successfully loaded

shared lib "dw_xtc.dll" version 95 successfully loaded

shared lib "dw_stl.dll" version 95 successfully loaded

shared lib "dw_gui.dll" version 95 successfully loaded

shared lib "dw_mdm.dll" version 95 successfully loaded

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

use internal message server connection to port 3970

Thu Sep 20 14:36:53 2007

      • WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0197.qqq.nxst) took 12 seconds

Thu Sep 20 14:37:10 2007

      • WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 17 seconds

***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5355]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

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

DpIPCInit2: start server >ATTNWSRV_BI7_70 <

DpShMCreate: sizeof(wp_adm) 13560 (904)

DpShMCreate: sizeof(tm_adm) 3605136 (17936)

DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

DpShMCreate: sizeof(comm_adm) 528048 (1048)

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

DpShMCreate: sizeof(slock_adm) 0 (96)

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

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1280)

DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 05C30040, size: 4234384)

DpShMCreate: allocated sys_adm at 05C30040

DpShMCreate: allocated wp_adm at 05C31A28

DpShMCreate: allocated tm_adm_list at 05C34F20

DpShMCreate: allocated tm_adm at 05C34F50

DpShMCreate: allocated wp_ca_adm at 05FA51E0

DpShMCreate: allocated appc_ca_adm at 05FA9830

DpShMCreate: allocated comm_adm at 05FAAFA0

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 0602BE50

DpShMCreate: allocated gw_adm at 0602BE90

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 0602BEC0

DpShMCreate: allocated wall_adm at 0602BEC8

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 1024 kByte.

Using implementation view

<EsNT> Memory Reset disabled as NT default

<ES> 511 blocks reserved for free list.

ES initialized.

***LOG Q0I=> NiIBindSocket: bind (10013: WSAEACCES: Permission denied) [nixxi.cpp 3173]

      • ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 1584

(SI_EPORT_INUSE/10013; I4; ST) [nixxi.cpp 3173]

      • ERROR => DpCommInit: NiBufListen (rc=-4) [dpxxdisp.c 9431]

      • DP_FATAL_ERROR => DpSapEnvInit: DpCommInit

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=1597

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Sep 20 14:37:20 2007

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Thu Sep 20 09:07:20 2007

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

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

-


0 DIA -1 Run no 0 0 0

1 DIA -1 Run no 0 0 0

2 DIA -1 Run no 0 0 0

3 DIA -1 Run no 0 0 0

4 DIA -1 Run no 0 0 0

5 DIA -1 Run no 0 0 0

6 UPD -1 Run no 0 0 0

7 UPD -1 Run no 0 0 0

8 UPD -1 Run no 0 0 0

9 ENQ -1 Run no 0 0 0

10 BTC -1 Run no 0 0 0

11 BTC -1 Run no 0 0 0

12 BTC -1 Run no 0 0 0

13 SPO -1 Run no 0 0 0

14 UP2 -1 Run no 0 0 0

Dispatcher Queue Statistics Thu Sep 20 09:07:20 2007

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

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

0

0

2000

0

0

--------


+
+

+

+
--


+

DIA

0

0

2000

0

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 0

wake_evt_udp_now 0

wake events total 0, udp 0 ( 0%), shm 0 ( 0%)

since last update total 0, udp 0 ( 0%), shm 0 ( 0%)

Dump of tm_adm structure: Thu Sep 20 09:07:20 2007

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

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

Workprocess Comm. Area Blocks Thu Sep 20 09:07:20 2007

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

Slots: 300, Used: 0, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

NiWait: sleep (5000ms) ...

NiISelect: timeout 5000ms

NiISelect: maximum fd=1597

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Sep 20 14:37:25 2007

NiISelect: TIMEOUT occured (5000ms)

DpHalt: shutdown server >ATTNWSRV_BI7_70 < (normal)

DpJ2eeDisableRestart

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

[DpWpDied] W0 handle not set (PID:-1)

[DpWpDied] W1 handle not set (PID:-1)

[DpWpDied] W2 handle not set (PID:-1)

[DpWpDied] W3 handle not set (PID:-1)

[DpWpDied] W4 handle not set (PID:-1)

[DpWpDied] W5 handle not set (PID:-1)

[DpWpDied] W6 handle not set (PID:-1)

[DpWpDied] W7 handle not set (PID:-1)

[DpWpDied] W8 handle not set (PID:-1)

[DpWpDied] W9 handle not set (PID:-1)

[DpWpDied] W10 handle not set (PID:-1)

[DpWpDied] W11 handle not set (PID:-1)

[DpWpDied] W12 handle not set (PID:-1)

[DpWpDied] W13 handle not set (PID:-1)

[DpWpDied] W14 handle not set (PID:-1)

Stop work processes

Terminate gui connections

wait for end of work processes

not attached to the message server

cleanup EM

EsCleanup ....

EmCleanup() -> 0

Es2Cleanup: Cleanup ES2

***LOG Q05=> DpHalt, DPStop ( 9060) [dpxxdisp.c 10333]

Good Bye .....

Former Member
0 Kudos

Have you check the SAP Note 907856 - Error WSAEACCES when binding a port in NiIBindSocket ?

Former Member
0 Kudos

Hi Christrosher,

May be that you could try to do a comeplete shutdown and reboot of the System and then do a proper startup of SAP appplication.

You will have to Stop the SAP Application and then the database.

Next, You can stop the SAP Services then after that the Dtabase (Oracle) services.

After this you can reboot the System (OS level)!

After the system has come up. You can start the Oracle Services first next try to make the Oracle listerner & instance startup.

After this you can do a SAP to Database Check using the following command:

R3trans -d and R3trans -w !

For details on R3trans utility u can refer http://help.sap.com/saphelp_47x200/helpdata/en/60/e560c8591b11d2b413006094b9ea64/frameset.htm

If the outcome for SAP to Database connection is o.k , then you can Startup the SAP application NOW.

Please maintain the sequence of startup and shutdown that I have mentioned ....

I hope that this helps you. If not please update with proper error message!

Regards,

Prem

Message was edited by:

Premkishan Chourasia

Answers (2)

Answers (2)

former_member256962
Participant
0 Kudos

Hi,

Check Dispatcher port in services file(sapdp<instnum> with 32<instnum>)

Regards,

Ravindran D

JPReyes
Active Contributor
0 Kudos

Hi Christopher,

This looks like an access error.... are you logon as <sid>adm when starting the system?

regards

Juan

Former Member
0 Kudos

Yes.... we use the sid adm user to start the server