[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: HTTPAPI returns a "Host name look up failed"
Hi Michael,
Thanks for the help. It's embarrassing what I don't know. Yes, I had
the wrong primary and secondary addresses in the DNS configuration.
When I changed them to the currently correct values, I got past the
error and actually got the GEOIP program to return to the statement
where the DSPLY occurs - which I interpret as meaning that the request
went out and got a normal reply of some sort. However, the
countryname variable contains a blank value - which I interpret to
mean that there's something still wrong. I'm sort of like a blind man
trying to get through a maze. Any ideas on what I should do to
determine why I'm not getting a value back for the country name?
Thanks,
Rich
> Date: Mon, 20 Apr 2009 14:38:04 -0400
> Subject: Re: HTTPAPI returns a "Host name look up failed"
> From: michaelrtr@xxxxxxxxx
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>
> Check CFGTCP option 12. Do you have anything specified for Domain
name
> server?
>
> On Tue, Apr 14, 2009 at 3:52 PM, Rich Kitterman <
> richardkitterman@xxxxxxxxxxx> 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
-----------------------------------------------------------------------