--On Thursday, March 25, 2004 11:45:54 -0800 Stas Bekman <[EMAIL PROTECTED]>
wrote:
>
>>>> and test, whether i can connect to one of the listen-ports (e.g.
>>>> "netcat localhost 8529 -vv") => conection refused
>
> so:
>
> netcat localhost 8529 -vv
>
> doesn't work. but:
>
> netcat 127.0.0.1 8529 -vv
>
> right?
>
no - i don not think it is a problem of my computers name resolution of
the hosts entry "localhost" because "ping localhost" etc. works.
Also "netcat -l localhost -p 8529" together with "netcat localhost 8529" are
working perfect.
"/etc/hosts.conf" has "order hosts, bind" which means, as far as i
understand it,
first ask the /etc/hosts file and then the specified name servers, but this
is
- i guess - what most standard linux systems have.
But i think i found it:
In my /etc/hosts i have more than one entry for the address 127.0.0.1.
I am using this for testing my virtual hosts on the local machine.
When i delete/uncomment all other entries but the one
"127.0.0.1 localhost" "make test" works.
No - more testing:
At least only the IP V6 entry
::1 localhost ipv6-localhost ipv6-loopback
which is a default entry in my SuSE 9.0 system, was it.
After uncommenting it, the test works (as far as the httpd is accessed).
Hope this helps.
Helmut
>>>> I replaced all "localhost:<port>" directives in http.conf by
>>>> 127.0.0.1:<port> =>
>>>> at least i get a connection to the ports now.
>>>
>>> You mean it does work ('make test' passes) if you
>>> s/localhost/127.0.0.1/g?
>>
>>
>> yes - but not 'make test', rather t/TEST where i do
>> s/localhost/127.0.0.1/g in t/conf/apache_test_config.pm.
>
> You mean what works is:
>
> t/TEST -conf
> perl -pi -e 's|localhost|127.0.0.1|g' t/conf/*
> t/TEST
>
> 'make test' always forces reconfig, that's why you lose your changes.
>
>> Except two tests (but this is perhaps another problem):
>> ..
>> Failed Test Stat Wstat Total Fail Failed List of Failed
>> ------------------------------------------------------------------------
>> --- ----
>> t/apache/conftree.t 8 1 12.50% 4
>
> that's because of your change. try t/TEST -v t/apache/conftree.t
>
>> t/modules/apache_status.t 11 1 9.09% 1
>
> try this one with the current cvs.
>
>>
>>> Do you have the entry:
>>>
>>> 127.0.0.1 localhost
>>>
>>> in your /etc/hosts? If not please add one and try again.
>>
>>
>> the entry is (and was allways) there.
>
> but it seems that it has no effect. Is your dns resolver configured to
> even look there? e.g. on my machine:
>
> cat /etc/host.conf
> order hosts,bind
> multi on
>
> It looks that your problem is resolving localhost.
>
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html