Forum

Error while forking cgi process

RJ
27 April 2011, 07:43

Hiawatha version: 7.4
Operating System: debian

Hi when i try to execute my cgi i get an error that is "500 - Internal server error". Logs messages are:

Access Log File:
10.112.63.51|Sun 13 Feb 2011 08:16:02 -0500|500|585||POST /param_parser_post.cgi HTTP/1.1|Host: 10.112.63.54|User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 (.NET CLR 3.5.30729)|Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8|Accept-Language: en-us,en;q=0.5|Accept-Encoding: gzip,deflate|Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7|Keep-Alive: 115|Connection: keep-alive|Referer: http://10.112.43.73/test_xml.htm|Content-Type: application/x-www-form-urlencoded|Content-Length: 370

Error Log File:
Sun 13 Feb 2011 08:16:02 -0500|10.112.63.51|/usr/local/var/www/hiawatha/param_parser_post.cgi|error while forking CGI process

Also when i execute ps -ef command at command line my c-cgi process param_parser_post.cgi becomes defunct.


Hugo Leisink
27 April 2011, 08:47
My guess is that you have a bug in your CGI application. Can you share the source code?
This topic has been closed.