cancel
Showing results for 
Search instead for 
Did you mean: 

SAP WEB Dispatcher error

Former Member
0 Kudos

I install the SAP Web dispatcher.

The install log says that everything is ok but I can not log on the web dispatcher via url.

I checked the dev_webdisp and I found the following error:

      • ERROR => ShmCreate: Invalid size. Key=63 Size=15080 [shmux_mt.c 1429]

[Thr 01] *** ERROR => IcmShmCreate: ShmCreate(63, 15080) failed 2 [icxxshm_mt.c 254]

[Thr 01] WARNING: MPI Pipe 29 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 28 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 27 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 26 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 25 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 24 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 23 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 22 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 21 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 20 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 19 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 18 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 17 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 16 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 15 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 14 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 13 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 12 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 11 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 10 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 9 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 8 still in use 0 0 1 1

[Thr 01] WARNING: MPI Pipe 7 still in use 0 0 1 1

[Thr 01] IcrCoreInitSessionTable: Session table initialized

[Thr 01] MtxInit: -2 0 0

[Thr 01] IcrCoreInit: SAP Web Dispatcher server process started

[Thr 515] *** ERROR => NiPBind: bind failed (socket=8) (13: Permission denied) [niuxi_mt.c 1432]

[Thr 515] *** ERROR => NiIBind: service '80' (80) in use [nixxi_r_mt.c 3911]

[Thr 515] *** ERROR => NiIListen: NiBind (rc=-4) [nixxi_r_mt.c 800]

[Thr 515] *** ERROR => IcmBindService: You might not have the permissions to bind the service: <hostname>com:80 [icxxserv_mt. 1544]

[Thr 515] *** ERROR => IcmBindService: NiBuf2Listen failed for host <http:<hostname:80>

[Thr 01] IcmCreateWorkerThreads: created worker thread 0

[Thr 01] IcmCreateWorkerThreads: created worker thread 1

[Thr 01] IcmCreateWorkerThreads: created worker thread 2

[Thr 01] IcmCreateWorkerThreads: created worker thread 3

[Thr 01] IcmCreateWorkerThreads: created worker thread 4

[Thr 01] IcmCreateWorkerThreads: created worker thread 5

[Thr 01] IcmCreateWorkerThreads: created worker thread 6

[Thr 01] IcmCreateWorkerThreads: created worker thread 7

[Thr 01] IcmCreateWorkerThreads: created worker thread 8

[Thr 01] IcmCreateWorkerThreads: created worker thread 9

[Thr 1029] *** ERROR => IcmConnClientRqCreate: No service for protocol HTTP started [icxxconn_mt. 2503]

[Thr 1029] *** ERROR => IcmConnClientRqCreate() failed (rc=-1) [icrxx_mt.c 4566]

[Thr 1029] *** ERROR => IcrIHandleHTTPClientRequest() failed -1 [icrxx_mt.c 2166]

[Thr 3599] IcmWatchDogThread: watchdog started

Any idea about the error?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Perform this and restart the Web Disp:

First stop or kill the webdispatcher process and then

1. sapwebdisp pf=.... -cleanup

2. sapwebdisp pf= < location of profile> -shm_attach_mode 6 & (IN THIS CASE FIRST CHECK THE PROFILE IF shm_attach_mode = 6 THEN YOU DON'T HAVE TO USE THIS, INSTEAD USE THE 3RD COMMAND)

3. sapwebdisp pf=<LOCATION> & (IF THIS IS WINDOWS CREATE A SERVICE)

Regards

SM

Former Member
0 Kudos

Dear SM

i didn't understand the last command: 3. sapwebdisp pf=<LOCATION> & (IF THIS IS WINDOWS CREATE A SERVICE)

My case is AIX OS

Tks

RE

Former Member
0 Kudos

Then just use this command:

3. sapwebdisp pf=<LOCATION OF PROFILE FILE> &

After you hit ENTER webdispatcher should be started with outputting the PID and you can leave the console after like 1 minute.

If there is any issue it will show you right away.

Thanks

SM

Former Member
0 Kudos

I noticed that not exist mode 6...just 1, 2 and 4:

1 delete existing shm

2 attach to existing shm

4 create new shm

Former Member
0 Kudos

What is the value of shm_attach_mode in the sapwebdisp.pfl ?

You can use 4, to create SHM but it crashesout if there is any SHM still present in the system.

Thanks

SM

Former Member
0 Kudos

Dear SM

I don't have the parameter shm_attach_mode in the sapwebdisp.pdf

Former Member
0 Kudos

Can you paste the web disp profile parameters here. I would advice you to create one using the below command

sapwebdisp -bootstrap

followed by

sapwebdisp pf=<profil> -checkconfig

-SM

Former Member
0 Kudos

For sure

  1. Profile generated by sapwebdisp bootstrap

  1. unique instance number

SAPSYSTEM = 1

  1. Accesssability of Message Servers

rdisp/mshost = HOSTNAME

ms/http_port = 8101

  1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

  1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=80,TIMEOUT=45,EXTBIND=1

  1. SAP Web Dispatcher Web Administration

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin

Former Member
0 Kudos

So did you tried to start the webdispatcher?

I'm using HP-UX and we use SHM=6 and it works fine, I don't know why you don't see SHM=6 at your side.

But I would try to put wdisp/shm_attach_mode = 6 in the profile file and then start the webdisp.

Thanks

SM

Former Member
0 Kudos

Hello Re,

Kindly stop the instance once and try run ipcs |grep -i<sidadm>

If you find any processes with your sidadm

Kindly clean them using ipcrm.

Basically clear all the shared memory and start the webdisptacher.

It should help.

Regards

Vivek

Former Member
0 Kudos

What is the command to start it?

Former Member
0 Kudos

Guys,

I re-created the sapwebdisp and the error persists:

[Thr 01] IcmInit: listening to admin port: 64997

[Thr 01] *** ERROR => ShmCreate: Invalid size. Key=63 Size=15080 [shmux_mt.c 1429]

[Thr 01] *** ERROR => IcmShmCreate: ShmCreate(63, 15080) failed 2 [icxxshm_mt.c 254]

[Thr 01] WLM Tag 'ICM' successfully set for this process

[Thr 01] IcrCoreInitSessionTable: Session table initialized

[Thr 01] MtxInit: -2 0 0

[Thr 01] IcrCoreInit: SAP Web Dispatcher server process started

[Thr 515] *** ERROR => NiPBind: bind failed (socket=8) (13: Permission denied) [niuxi_mt.c 1432]

[Thr 515] *** ERROR => NiIBind: service '82' (82) in use [nixxi_r_mt.c 3911]

[Thr 515] *** ERROR => NiIListen: NiBind (rc=-4) [nixxi_r_mt.c 800]

[Thr 515] *** ERROR => IcmBindService: You might not have the permissions to bind the service: hostname:82 [icxxserv_mt. 1544]

[Thr 515] *** ERROR => IcmBindService: NiBuf2Listen failed for host hostname:82 (rc=-4): NIESERV_USED [icxxserv_mt. 1549]

[Thr 515] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=0, flags=4101) for /sap/wdisp/admin:0

[Thr 515] HttpSubHandlerAdd: Added handler HttpWebDispHandler(slot=1, flags=28677) for /:0

[Thr 01] IcmCreateWorkerThreads: created worker thread 0

[Thr 1030] *** ERROR => IcmConnClientRqCreate: No service for protocol HTTP started [icxxconn_mt. 2503]

[Thr 1030] *** ERROR => IcmConnClientRqCreate() failed (rc=-1) [icrxx_mt.c 4566]

[Thr 1030] *** ERROR => IcrIHandleHTTPClientRequest() failed -1 [icrxx_mt.c 2166]

[Thr 01] IcmCreateWorkerThreads: created worker thread 1

[Thr 01] IcmCreateWorkerThreads: created worker thread 2

[Thr 01] IcmCreateWorkerThreads: created worker thread 3

[Thr 01] IcmCreateWorkerThreads: created worker thread 4

[Thr 01] IcmCreateWorkerThreads: created worker thread 5

[Thr 01] IcmCreateWorkerThreads: created worker thread 6

[Thr 01] IcmCreateWorkerThreads: created worker thread 7

[Thr 01] IcmCreateWorkerThreads: created worker thread 8

[Thr 01] IcmCreateWorkerThreads: created worker thread 9

[Thr 3343] IcmWatchDogThread: watchdog started

[Thr 1030] Mon May 9 22:15:49 2011

[Thr 1030] *** ERROR => IcmConnClientRqCreate: No service for protocol HTTP started [icxxconn_mt. 2503]

[Thr 1030] *** ERROR => IcmConnClientRqCreate() failed (rc=-1) [icrxx_mt.c 4566]

[Thr 1030] *** ERROR => IcrIHandleHTTPClientRequest() failed -1 [icrxx_mt.c 2166]

[Thr 773] Mon May 9 22:17:49 2011

[Thr 773] *** ERROR => IcmConnClientRqCreate: No service for protocol HTTP started [icxxconn_mt. 2503]

[Thr 773] *** ERROR => IcmConnClientRqCreate() failed (rc=-1) [icrxx_mt.c 4566]

[Thr 773] *** ERROR => IcrIHandleHTTPClientRequest() failed -1 [icrxx_mt.c 2166]

I don't have clue what it can be!

Former Member
0 Kudos

Guys,

I solved the problem.

I change the SAP Web dispatcher port to 8855 and it worked.

thank you so much guys..

but I have a question...What is the command to restart the sapwebdisp?

Former Member
0 Kudos

I was looking for something else, stumbled upon this. Someone looking for a clue, this is due to the fact that a user without root priviliges (eg <sid>adm) does not have permissions to bind ports below 1024. U should use the paramater EXTBIND=1, which is explained in note 421359

Restarting teh WebDispatcher is done from the administration window (<wbdispatcher url>/sap/wdisp/admin)

Edited by: M. Loohuizen on Oct 26, 2011 2:57 PM

Answers (0)