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

Re: HTTPAPI EXAMPLE16



    I fixed the DNS.

    Now, I got this error  "Host name look up failed."

    In addition, the httpapi_debug.txt has

    HTTPAPI Ver 1.24 released 2012-01-23
    OS/400 Ver V6R1M0
    http_persist_open(): entered
    http_long_ParseURL(): entered
    DNS resolver retrans: 2
    DNS resolver retry : 2
    DNS resolver options: x'000001B6'
    DNS default domain: gsadev.metro-dade.com
    DNS server found: 10.9.25.225
    DNS server found: 10.9.25.225
    DNS server found: 10.9.25.225
    SetError() #2: Host name look up failed.


    Someone  knows  what is it wrong?



    john
    --- On Mon, 2/6/12, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

      From: Michael Ryan <michaelrtr@xxxxxxxxx>
      Subject: Re: HTTPAPI EXAMPLE16
      To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
      Date: Monday, February 6, 2012, 11:03 AM

    Is DNS configured on your i? I'm thinking not. Try CFGTCP, option 12.
    Add a (or better yet more) Domain name server entries.
    On Mon, Feb 6, 2012 at 10:51 AM, John Andrade
    <[1]johnandra2003@xxxxxxxxx> wrote:
    >
    >    Hello,
    >    When you called  example16, I got this msg:
    >
    >
    >     Message ID . . . . . . :   CPF9897       Severity . . . . . . . :
    >    40
    >     Message type . . . . . :
    >    Information
    >     Date sent  . . . . . . :   02/06/12      Time sent  . . . . . . :
    >    10:38:47
    >
    >
    >     Message . . . . :   Host name look up
    >    failed.
    >     Cause . . . . . :   No additional online help information is
    >    available.
    >
    >
    >    It's happened  when the contion if (rc <> 1) is true.
    >
    >    I want to know if some component on my iSeries is missing or some
    >    service is not running.
    >
    >
    >    Thanks,
    >
    >    John Andrade
    >
    >
    -----------------------------------------------------------------------
    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > [2]http://www.scottklement.com/mailman/listinfo/ftpapi
    >
    -----------------------------------------------------------------------
    >
    -----------------------------------------------------------------------
    This is the FTPAPI mailing list.  To unsubscribe, please go to:
    [3]http://www.scottklement.com/mailman/listinfo/ftpapi
    -----------------------------------------------------------------------

References

   1. http://us.mc1612.mail.yahoo.com/mc/compose?to=johnandra2003@xxxxxxxxx
   2. http://www.scottklement.com/mailman/listinfo/ftpapi
   3. 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
-----------------------------------------------------------------------