cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone SAP Web Dispatcher & wdisp/permission_table problem

Former Member
0 Kudos

Dear all,

I am trying to configure standalone web dispatchers for several SAP systems.

I have give the wdisp/permission_table parameter a value in the profile file.

After running sapwebdisp -checkconfig, I get the following errors:

[Thr 2196] ICR: update server info from description file.

[Thr 2196] *** ERROR => could not open server description file 'C:\usr\sap\<SAPSID>\profile\<SAPSID>_saprouttrab.txt'. [ictxxtool.c  115]

[Thr 2196] ICR: IcrIUpdatePermissionTableFromDescrFile() -> 20

[Thr 2196] *** ERROR => IctUpdatePermissionTableFromDescrFile() failed 20 [icrxx.c      3737]

[Thr 2196] *** ERROR => IcrMain: IcrInit failed (rc=-1) [icxxman.c    782]

I have tried to google those errors but with no success.

Any suggestions on how to proceed?

Thanks & regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi,

Did you try using sapwebdisp pf=<profil> -checkconfig

Try to bootstrap again if this is not working.

Divyanshu

Former Member
0 Kudos

I got the errors after running sapwebdisp pf=<profil> -checkconfig.

If I remove the wdisp/permission_table, the check will be successful.

divyanshu_srivastava3
Active Contributor
0 Kudos

While profile are you passing in the check? It should be the one generated at the time of bootstrap.

Divyanshu

Former Member
0 Kudos

I pasted the profile file to my second post.

As I wrote, if I remove the parameter wdisp/permission_table, the checkconfig will find no errors. So, the bootstrap generated profile file also worked.

Former Member
0 Kudos

Profile file:

Autostart = 1
SAPGLOBALHOST = <wdisphostname>

# -------------------------------------------------------------------------
# unique instance identifier
# -------------------------------------------------------------------------
SAPSYSTEMNAME = RED

# -------------------------------------------------------------------------
# unique instance number
# -------------------------------------------------------------------------
SAPSYSTEM = 05

# -------------------------------------------------------------------------
# add default directory settings
# -------------------------------------------------------------------------
DIR_INSTANCE = C:\usr\sap\$(SAPSYSTEMNAME)
DIR_EXECUTABLE = $(DIR_INSTANCE)\SAPWEBDISP
_PF = $(DIR_INSTANCE)\profile\$(SAPSYSTEMNAME)_$(SAPSYSTEM)_<wdisphostname>.pfl

# -------------------------------------------------------------------------
# Accessibility of Message Servers
# -------------------------------------------------------------------------
rdisp/mshost = abc.host.com

ms/http_port = 8100

# -------------------------------------------------------------------------
# configuration for default scenario (medium size)
# -------------------------------------------------------------------------
icm/max_conn      = 500
icm/max_sockets   = 1024
icm/req_queue_len = 500
icm/min_threads   = 10
icm/max_threads   = 50
mpi/total_size_MB = 80

# -------------------------------------------------------------------------
# SAP Web Dispatcher Ports
# -------------------------------------------------------------------------
icm/server_port_0 = PROT=HTTP,PORT=81$$

# -------------------------------------------------------------------------
# SAP Web Dispatcher Web Administration
# -------------------------------------------------------------------------
icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=$(DIR_EXECUTABLE)\admin,PORT=8105,AUTHFILE=icmauth.txt

# -------------------------------------------------------------------------
# Start Web Dispatcher
# -------------------------------------------------------------------------
_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)
Start_Program_00 = local $(_WD) pf=$(_PF)
wdisp/permission_table = $(DIR_INSTANCE)\profile\$(SAPSYSTEMNAME)_saprouttrab.txt

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Sjoman,


# SAP Web Dispatcher test permission table

P  /sap/bc/test.cgi

D  *.cgi

P  /sap/bc/cachetest

P  /sap/bc/public/*

P  /sap/bc/ping

D  *

The permission table should be like this.

Can you match the entry.

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Alos, give read/write access to this file.

As you can see below,

IcrIUpdatePermissionTableFromDescrFile()

The function call is not able to update permission table from source file.

So, 1st fix the permission of this file.

Divyanshju

Former Member
0 Kudos

The permission table looks like this:

P /sap/bc/bsp/sap/<dir>/*

P /sap/public/bsp/sap/public/*

P /sap/public/bsp/sap/htmlb/*

P /sap/bc/bsp/sap/<dir2>/*

D *

Former Member
0 Kudos

I had checked the permissions for the file <SAPSID>_saprouttrab.txt and everything should be in order. The same error will come even with full permissions.

Thanks,

Aleksi

Former Member
0 Kudos

There was a typo in a parameter's value, so now there's no errors.

Thanks for your input, though, Divyanshu!