[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI returns a "Host name look up failed"



Hi Rich,

What is the hostname you're having trouble with?   Does a lookup succeed 
from the command-line, but fails from HTTPAPI?   If you can give me the 
hostname, I'll check if it fails for me too...


Rich Kitterman wrote:
>    Hi,
>    I'm a complete novice at this, but am in the process of trying to
>    educate myself.  This problem is happening on a machine running V5R1,
>    with HTTPAPI version 1.23.  I'm trying to run the GEOIP sample
>    application and get the host name lookup error.  When I check in the
>    /TMP/HTTPAPI_DEBUG.txt log, I see the following:
>     ************Beginning of data**************
>    HTTPAPI Ver 1.23 released 2008-04-24
>    OS/400 Ver V5R1M0
> 
>    http_persist_open(): entered
>    http_long_ParseURL(): entered
>    DNS resolver retrans: 2
>    DNS resolver retry  : 2
>    DNS resolver options: x'00000136'
>    DNS default domain: S105VX7M.COM
>    DNS server found: 206.163.82.4
>    DNS server found: 208.161.110.79
>    SetError() #2: Host name look up failed.
>    http_url_get(): entered
>    http_persist_open(): entered
>    http_long_ParseURL(): entered
>    DNS resolver retrans: 2
>    DNS resolver retry  : 2
>    DNS resolver options: x'00000136'
>    DNS default domain: S105VX7M.COM
>    DNS server found: 206.163.82.4
>    DNS server found: 208.161.110.79
>    SetError() #2: Host name look up failed.
>    http_url_get(): entered
>    http_persist_open(): entered
>    http_long_ParseURL(): entered
>    DNS resolver retrans: 2
>    DNS resolver retry  : 2
>    DNS resolver options: x'00000136'
>    DNS default domain: S105VX7M.COM
>    DNS server found: 206.163.82.4
>    DNS server found: 208.161.110.79
>    SetError() #2: Host name look up failed.
>    http_url_get(): entered
>    http_persist_open(): entered
>    http_long_ParseURL(): entered
>    DNS resolver retrans: 2
>    DNS resolver retry  :
>    2
>    DNS resolver options:
>    x'00000136'
>    DNS default domain:
>    S105VX7M.COM
>    DNS server found:
>    206.163.82.4
>    DNS server found:
>    208.161.110.79                                                  
>    SetError() #2: Host name look up
>    failed.
>    New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819.
>    ProtLoc=0
>    http_persist_open():
>    entered
>    http_long_ParseURL():
>    entered
>    DNS resolver retrans:
>    2
>    DNS resolver retry  :
>    2
>    DNS resolver options:
>    x'00000136'
>    DNS default domain:
>    S105VX7M.COM
>    DNS server found:
>    206.163.82.4
>    DNS server found:
>    208.161.110.79
>    SetError() #2: Host name look up
>    failed.
>     ************End of Data********************
>    I'd really appreciate some help understanding what's wrong and what I
>    can do to correct it.
>    Thanks!
>    Rich
> 
> References
> 
>    Visible links
>    Hidden links:
>    1. javascript:;
>    2. javascript:;
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------