SAP Knowledge Base Article - Preview

2701615 - HttpModParseFile: syntax error in line

Symptom

After making parameter changes in the file icm_filter_rules.txt and restart the server, server fails to start with the following similar errors.

dev_jstart log:

LOG => Process icm stopped (pid 8900).
ERROR => Emergency shutdown: 1 node failed to start. [sfxxinst.hpp 1061]
ERROR => Node icm: failed with exit code 0 [sfxxinst.hpp 1072]
LOG => Instance state is "Stopping the processes" (STOPPING @ 0, INACTIVE).
LOG => Run level 3 completed.
LOG => Instance state is "All processes stopped" (STOPPED @ 0, INACTIVE).
dynamic quotas disabled.
init, created: pipes=4000 buffers=2718 reserved=815 quota=10%, buffer size=65536, total size MB=170
ERROR => FcaInit: already initialized [fcaxxcomm.c 956]
ERROR => EvtRmMgt: Evt Mgt Table not init'd [evtnt.c 255]
ERROR => ShmDelete: Invalid shared memory Key=62. [shmnt.c 753]
ERROR => ShmCleanup: ShmDelete failed for Key:62. [shmnt.c 872]
ERROR => ShmCleanup(62) failed 1 [mpixx.c 4609]
LOG => exiting (exitcode 0, retcode 0).

dev_icm log:

Adding HttpModHandler: PREFIX=/,FILE=D:\usr\sap\S1J\SYS\global/security/data/icm_filter_rules.txt

ERROR => HttpModCondSetFlags: illegal option: QSA [http_rewrite 6970]
ERROR => HttpModParseFile: syntax error in line 2: >if %{REMOTE_ADDR}!stricmp::1RegIRedirectUrl ^/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/.*$ /nwa/remote_access_error [QSA]< [http_rewrite 5592]
ERROR => FATAL: HttpModHandlerInit: Error processing rule file D:\usr\sap\S1J\SYS\global/security/data/icm_filter_rules.txt: syntax error in line 2: >if %{REMOTE_ADDR}!stricmp::1RegIRedirectUrl
ERROR => HttpISubHandlerAdd: init_func of HttpModHandler failed (701) [http_hdl.c 480]
ERROR => HttpParseAndAddSubHandler: HttpSubHandlerAdd failed for PREFIX=/,FILE=D:\usr\sap\S1J\SYS\global/security/data/icm_filter_rules.txt(rc=0) [http_plg.c 9559]
ERROR => HttpPlugInInit: initialization of modification subhandler failed -> cannot continue [http_plg.c 1502]
ERROR => IcmAddServiceInfo: PlugInInit failed (rc=701 [icxxserv.c 3370]
ERROR => IcmAddService: IcmAddServiceInfo failed (rc=701) [icxxserv.c 1127]


Read more...

Environment

SAP NetWeaver Composition Environment 7.1

SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1
SAP NetWeaver Composition Environment 7.2
SAP NetWeaver 7.3
SAP enhancement package 1 for SAP NetWeaver 7.3
SAP NetWeaver 7.4
SAP NetWeaver 7.5

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Application Server for Java 7.1 ; SAP NetWeaver Application Server for Java 7.2 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Application Server for Java 7.1

Keywords

changes, profiles, startup, syntax, icm , KBA , BC-JAS-SF , Startup Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.