Tags:
create new tag
, view all tags

SID-00932: CGI error on TWiki 5.0.0

Status: Answered Answered TWiki version: 5.0.0 Perl version: 5.8.8-27
Category: CategoryRendering Server OS: CentOS 5.5 64-bit Last update: 1 year ago

Hello All,

i get this error when i try accessing IncludeTopicsAndWebPages:

[Mon Aug 09 10:57:14 2010] [error] [client 172.16.10.10] [Mon Aug  9 10:57:14 2010] view: Use of uninitialized 
value in subroutine entry at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Socket.pm line 373., referer: 
http://172.16.10.11/twiki/bin/view/Main/FileAttachment

[Mon Aug 09 10:57:14 2010] [error] [client 172.16.10.10] [Mon Aug  9 10:57:14 2010] view: Bad arg length for 
Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Socket.pm 
line 373., referer: http://172.16.10.11/twiki/bin/view/Main/FileAttachment

i am using the ff :

  • TWiki 5.0.0
  • Apache http 2.2.3-43
  • CentOS 5.5 64-bit
  • PERL 5.8.8-27
Any suggestions?

-- AlbertUy - 2010-08-09

Discussion and Answer

Not sure, check Google:%22Bad+arg+length+for+Socket%3A%3Apack_sockaddr_in%22

Seems like a DNS issue? Check your /etc/resolv.conf for any odd characters in the nameserver lines.

-- PeterThoeny - 2010-08-23

Hello,

i checked /etc/resolv.conf; didn't find anything odd.

Anywhere else i should look into? Thanks

-- AlbertUy - 2010-08-24

bump. thanks

-- AlbertUy - 2010-08-25

just fyi, have tested this on CentOS 5.5 32-bit and 4.8 32-bit, all with the same behavior; seems that PERL incompatibilities are not in play here.

-- AlbertUy - 2010-08-25

bump. thanks

-- AlbertUy - 2010-09-08

bump..thanks

-- AlbertUy - 2010-09-09

Having the same issue on different CentOS versions confirms that this is likely a name server configuration issue.

To confirm, try creating a page that includes a web page by IP address, such as %INCLUDE{http://74.125.19.103/}% for google.com.

-- PeterThoeny - 2010-09-09

Hello,

Yup, it's a DNS resolution problem all right.

Seems that IncludeTopicsAndWebPages references www.google.com/robots.txt and Twiki.org; the page loaded successfully after i removed the lines.

Thanks big grin

-- AlbertUy - 2010-09-14

Change status to:

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.
SupportForm
Status Answered
Title CGI error on TWiki 5.0.0
SupportCategory CategoryRendering
TWiki version 5.0.0
Server OS CentOS 5.5 64-bit
Web server Apache 2.2.3-43
Perl version 5.8.8-27
Topic revision: r15 - 2010-09-14 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.