Running Node.js with IBM HTTP Server for i

Issue #76 closed
Iftikhar Ahmed created an issue

Dear Xu Ming,

I have just refresh the FASTCGI and trying to implement the same project what we have did last time but now it is not working I have deleted the server and re create all the folders and files but still it is not working please see the below error.

http://10.200.65.227:8383/index.html

Moving but not loading the page. below Error log.

[Fri Sep 13 17:22:12.596512 2019] [core:emerg] [pid 221513093:tid 0000040E] (3474)Unknown system state.: ZSRV_MSG09AA: Could not create the rewrite-map mutex (file /QIBM/ProdData/HTTPA/symlinks/instance/rewrite-map-FASTCGI.221513093)
[Fri Sep 13 17:23:13.681896 2019] [core:emerg] [pid 221513095:tid 00000026] (3474)Unknown system state.: ZSRV_MSG09AA: Could not create the rewrite-map mutex (file /QIBM/ProdData/HTTPA/symlinks/instance/rewrite-map-FASTCGI.221513095)
[Fri Sep 13 17:24:14.531536 2019] [mpm_worker:notice] [pid 221513074:tid 00072A9C] ZSRV_MSG0387: SIGTERM received. Shutting down.

Please help and advise.

Comments (3)

  1. Iftikhar Ahmed reporter

    Configuration originally created by Create HTTP Server wizard on Fri Sep 13 16:54:51 GMT+05:00 2019

    Listen 10.200.65.227:8383
    LoadModule zend_enabler_module /QSYS.LIB/QHTTPSVR.LIB/QZFAST.SRVPGM
    AddType application/x-httpd-javascript .jsx
    AddHandler fastcgi-script .jsx
    DocumentRoot /www/fastcgi/htdocs
    TraceEnable Off
    Options -FollowSymLinks
    LogFormat "%h %T %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
    LogFormat "%{Cookie}n "%r" %t" cookie
    LogFormat "%{User-agent}i" agent
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%h %l %u %t "%r" %>s %b" common
    CustomLog logs/access_log combined
    LogMaint logs/access_log 7 0
    LogMaint logs/error_log 7 0
    SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
    SetEnvIf "User-Agent" "JDK/1.0" force-response-1.0
    SetEnvIf "User-Agent" "Java/1.0" force-response-1.0
    SetEnvIf "User-Agent" "RealPlayer 4.0" force-response-1.0
    SetEnvIf "User-Agent" "MSIE 4.0b2;" nokeepalive
    SetEnvIf "User-Agent" "MSIE 4.0b2;" force-response-1.0
    <Directory />
    Require all denied
    </Directory>
    <Directory /www/fastcgi/htdocs>
    Require all granted
    </Directory>

  2. Iftikhar Ahmed reporter

    I could not found the below article on the IBM Developers Works site.

    Running Node.js with IBM HTTP Server for i

    https://www.ibm.com › Learn › IBM i

    Sep 14, 2015 - Start HTTP Server and the Node.js FastCGI application. Open the IBM Web Administration for i http://your.server.name:2001/HTTPAdmin) and click the button to the start the HTTPSERV instance. If the instance has been running already, click the button to restart it.

  3. Log in to comment