Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: HP-UX mildev08 B.11.23 U ia64 unlimited-user license
Web server: Server version: Apache/2.0.50 HP-UX_Apache-based_Web_Server
Perl version: This is perl, v5.8.0 built for IA64.ARCHREV_0-thread-multi
Client OS: MS Win2K (Version 5.0 Build 2195 Service Pack 4)
Web Browser: Firefox 1.5.0.6
Categories: Installation, Registration

-- JamesParker - 11 Aug 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r3 - 2006-08-12 - KennethLavrsen
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.