× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you want to be sure you have everything set up correctly for your HOST
TABLE and DOMAIN,  compile and run this java program.

// Test retrieving IP address
import java.net.*;
import java.io.*;

public class GetIP
{

 private  String OutIP = null;

public GetIP(String PmOutIP)
 {
  super();
  OutIP = PmOutIP;

 try
   {
    InetAddress MyInet = InetAddress.getLocalHost();
    System.out.println("Local Host Name = " + MyInet);
    String MyIP = MyInet.getHostAddress();
    System.out.println("Local IP Address: " + MyIP);
    OutIP = MyIP;
     }
     catch (UnknownHostException e)
     { System.out.println("Error..." + e);}
    }


  // Main Method
   public static void main(java.lang.String[] args)
    {
     String OutIP = null;
 //    OutIP = args[0].trim();
     GetIP Ip = new GetIP(OutIP);
     System.exit(0);
    }
}


To compile, move this source file to your IFS, say the "/home" directory
and call the source file GetIP.java

Start the Qshell environment by entering the following on
a command line:

QSH

Compile it by entering the following on the QShell command line:

javac /home/GetIP.java


Now run it by entering the following on the QShell command line:

java -cp /home GetIP

Your output should look like this:

Local Host Name = MYDOG.ISTIRED.COM/192.168.1.2
Local IP Address: 192.168.1.2
$


If you don't get your own Host information and IP address as shown above,
then you have a problem
in the HOST Table and Domain information.



 Shannon O'Donnell




----- Original Message -----
From: "Shannon O'Donnell" <shannono@janodata.com>
To: <midrange-l@midrange.com>
Sent: Tuesday, August 21, 2001 2:28 PM
Subject: Re: Model 270 - HTTP Product Lic


> I had the same problem recently with a V5R1 box.  Couldn't get the *ADMIN
> server started no matter what I did.  I applied ALL the latest PTFs,
etc..no
> luck.
>
> Finally,  I looked at the iSeries HOST and DOMAIN information and
discovered
> the problem.  Here's the solution that worked for me.
>
> CFGTCP
>
> Select option 12 - Change TCP/IP Domain Information
>  Note the values for:  HOSTNAME AND DMNNAME (Domain Name).  For example:
>
> HOSTNAME =  MYDOG
> DMNNAME = ISTIRED.COM
>
> Therefore, your DOMAIN will be MYDOG.ISTIRED.COM
>
> Select option 10 - Work with TCP/IP Host Table Entries
> Make sure you have a HOSTNAME in there that matches, exactly, the DOMAIN
> information from the previous step.
> For example, if your IP address is 192.168.2.1
>
> Then you'd have an entry in the HOST table like this:
>
> Internet Address:  192.168.2.1
> Host Names:   MYDOG.ISTIRED.COM
>
>
> Once those two pieces match, you SHOULD! be able to start the HTTP Server
> *ADMIN instance.
>
> On V4R5 and below, they don't have to match exactly. V5R1 and above, it
> appears that they do.
>
> Other problems might be if you are using SSL with HTTP. That can cause
> problems. There's a workaround, but it escapes me at the moment. If you
are
> in that situation, let me know and I'll see if I can rediscover the fix.
>
> Let me know if this fixes the problem. I'm curious if this was just an
> anomoly on my system, or if it is a fix that spans boxes.
>
> Shannon O'Donnell
>
>
>
> ----- Original Message -----
> From: "Joel R. Cochran" <jrc@masi-brac.com>
> To: <midrange-l@midrange.com>
> Sent: Tuesday, August 21, 2001 2:20 PM
> Subject: RE: Model 270 - HTTP Product Lic
>
>
> > I am currently going through this exact problem. I had a brand new 270
> > delivered a month ago.  The sole purpose of this machine is for Internet
> > development.  As you might guess, the HTTP server is very important to
me.
> > I also could not get the *ADMIN instance to start.  After much effort
and
> > frustration, Brad Stone told me that there were a bunch of PTFs that
> should
> > fix my problem.
> >
> > Since we cannot seem to get the modem in our new 270 to work, we ordered
> the
> > "cumulative" PTFs for V5R1.  A week or so later, after receiving and
> > installing these PTFs... drum roll please... there was no change.  After
> > another round with our support people, we found out that there are
*other*
> > PTFs we need to fix this!  Silly me thinking that *cumulative* meant
> > everything! Ha ha!
> >
> > We have since ordered the new PTFs which were scheduled to be delivered
> last
> > Thursday.  As of this writing they are not here yet.  Just thought I'd
> > share!  You need group PTF SF99156, hopefully this will help.
> >
> > Joel R. Cochran
> > Director of Internet Services
> > VamaNet.com
> > 800-480-8810 (va toll free)
> > 540-885-8050 (phone)
> > 540-886-1589 (fax)
> > www.vamanet.com
> > mailto:custservice@vamanet.com
> >
> >
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.