SID-00932: CGI error on TWiki 5.0.0
| Status: |
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
--
AlbertUy - 2010-09-14
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.