HTTP::Server::Simple error

Hi,

I’m new to the world of perl and am trying to install RT. I’m wondering
if this is an appropriate forum for posting questions about installing
RT on a FC3 box… Perhaps a perl/CPAN forum would be more appropriate

  • please let me know.

I’m getting an error when installing dependencies, specifically
HTTP::Server::Simple.

Upgrading this object to an HTTP::Server::Simple::CGI object
# started server on 27543
#     Failed test (t/04cgi.t at line 44)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 21
# remote_host: nanmysql'
#     doesn't match '(?-xism:remote_host: localhost)'
#     Failed test (t/04cgi.t at line 44)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 26
# url: http://nanmysql:13432'
#     doesn't match '(?-xism:url:
http://localhost(?:\.localdomain)?:13432)'
#     Failed test (t/04cgi.t at line 44)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 21
# server_name: nanmysql'
#     doesn't match '(?-xism:server_name: localhost)'
#     Failed test (t/04cgi.t at line 53)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 21
# SERVER_NAME: nanmysql'
#     doesn't match '(?-xism:SERVER_NAME: localhost)'
#     Failed test (t/04cgi.t at line 53)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 21
# REMOTE_HOST: nanmysql'
#     doesn't match '(?-xism:REMOTE_HOST: localhost)'
#     Failed test (t/04cgi.t at line 53)
#                   'HTTP/1.0 200 OK
# Content-Type: text/html
# Content-Length: 34
# SERVER_URL: http://nanmysql:13432/'
#     doesn't match '(?-xism:SERVER_URL:
http://localhost(?:\.localdomain)?:13432/)'
# Looks like you failed 6 tests of 22.
Failed 1/5 test scripts, 80.00% okay. 6/44 subtests failed, 86.36% okay.
make[1]: *** [test_dynamic] Error 2
Warning: prerequisite HTTP::Server::Simple 0.04 not found.

The server in on a private network (192.168.2.0 DMZ) and the hostname
is set to nanmysql. I suspect the missmatching of ServerName/hostname
to REMOTE_HOST needs to be addressed. I wonder though which should be
changed and how…

Paul O’Rorke

paul@paulororke.net

Paul O’Rorke wrote:

The server in on a private network (192.168.2.0 DMZ) and the hostname
is set to nanmysql. I suspect the missmatching of ServerName/hostname
to REMOTE_HOST needs to be addressed. I wonder though which should be
changed and how…

Sounds like a bug in your /etc/hosts file. Apparently some
vendors seem to think it’s a good idea to return something
other than “localhost” when asked about 127.0.0.1…

(and yes. HTTP::Server::Simple really should be able to cope
with that.)

hi,

i’ve been getting a very similar problem. i am trying to install perl modules on a vserver - http://linux-vserver.org - and the problem is that the vserver cannot have the ip 127.0.0.1 correspond to localhost as that ip is already “owned” by the host server. i have tried to put localhost on the same line as the vserver ip, but that doesn’t work either. did you ever find out how to solve this problem?

thanks,

 --gdm

View this message in context: http://www.nabble.com/HTTP%3A%3AServer%3A%3ASimple-error-t138059.html#a2267213