Question
I installed 4.0.4 plus hotfix 2 on HP Itanium, and set up Apache from the generated file, and configured TWiki with no errors or warnings. When I attempt to register the first time, however, I hang during the submit.
I am hanging in
TWiki/UI, line 78, on the line:
read(STDIN, my $buf, $content_length, 0 ) if $content_length;
$content_length is 308. I enabled script logging in
Apache/mod_cgid.c and forced an error just before the read to capture the request. The full request is:
%% [Fri Aug 11 16:43:25 2006] POST /twiki/bin/register/Main/WebHome HTTP/1.1
%% 500 /dblitz-test/wiki/twiki/bin/register
%request
Host: mildev08.kenan.com:3080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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: 300
Connection: keep-alive
Referer: http://mildev08.kenan.com:3080/twiki/bin/view/TWiki/TWikiRegistration
Cookie: TWIKISID=5cc94a0d56e1f16f8aa9606ef0d608bd
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
Content-Length: 308
Twk1FirstName=James&Twk1LastName=Parker&Twk1WikiName=JamesParker&Twk1Email=james.parker%40comverse.com&Twk0Password=test123&Twk0Confirm=test123&Twk0OrganisationName=&Twk0OrganisationURL=&Twk1Country=USA&Twk0Comment=&rx=%25BLACKLISTPLUGIN%7B+action%3D%22magic%22+%7D%25&topic=TWikiRegistration&action=register
Does anyone have any ideas or suggestions? I've been working this for almost three days now. Any and all additional
Other Notes
Apache is built 64-bit IA64, and perl is built 32-bit IA64.
I upgraded
List/Util.pm and
Scalar/Util.pm from CPAN, since the versions I had did not recognize
refaddr
Environment
--
JamesParker - 11 Aug 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
This appears to be an Apache problem, rather than a TWiki configuration or perl problem. using
mod_cgi.c rather than
mod_cgid.c resolved the problem (although I did not discover the root cause).
--
JamesParker - 11 Aug 2006
See
Bugs:Item2753
and also
Bugs:Item2753
. And see
TWikiOnApache2dot0Hangs
This problem is nasty. We are fighting an Apache bug by making a work around and this work around creates new problems.
We cannot just ask people to upgrade Apache and I am not even sure that cures the problem completely.
We either need a better fix for this issue or at least we need to make the work around conditioned. But what is then the condition?
--
KennethLavrsen - 12 Aug 2006