Regardless of whether you are running Warp Connect or Warp Server, you must install the fixpack ic12657.zip before running PowerWeb, as this fixes a number of problems with IBM's TCP/IP that can cause system crashes and invalid IP addresses to be reported. The fixpack is available from our FTP site at:
ftp://www.compusource.co.za/pub/tcpipfix/ic12657.zip
Run the program "Install -d" to diagnose any TCP/IP problems and to report the IP address and Host name that PowerWeb believes to be the primary interface on your machine.
Important note: If you are running a dialup connection ONLY, then you do not have a permanent IP address so you must install PowerWeb in local mode, which will avoid this error message, by executing
install -local
If you are running a dialup connection on a different IP address in addition to the main IP address of your server, you may see the IP address of your dialup connection being reported instead of your server. A similar situation can occur if you have multiple network cards on your machine. The primary IP address can be changed by running the HOSTID program that is contained within the IBM ic12657 fixpack mentioned above.
To inform TCP/IP that 196.12.34.56 is your primary IP address, use:
hostid 196.12.34.56Simply add this line at the top of your "PowerWeb.cmd" startup file to force TCP/IP to consistently use the same primary IP address.
Error 1: The operating system cannot find an IP address on your system.
Either TCP/IP is not installed on your system, or there is no IP address defined on your machine. To install TCP/IP, purchase Warp Connect or Warp Server and perform a selective install of Networking Products.
If you have installed TCP/IP, and you haven't got a LAN adapter or a permanent Internet link, you will need to run PowerWeb in local mode, which means that it will serve to your machine only. The easiest way to setup OS/2 to server locally is:
If you have a LAN adapter or permanent Internet link, then use "ping" to determine whether your interface is working. For example, if your IP address is 196.12.34.56, then use ping 196.12.34.56 and check whether the ping packets are being transmitted successfully. If they are not coming through, your TCP/IP configuration is not setup correctly, and you will need to run the TCPCFG.EXE (the icon labelled "TCP/IP Configuration" in your TCP/IP folder) configuration program.
If the ping was successful, then try running "hostid 196.12.34.56" (according to your IP address) and repeat running "install -d". If this still does not find an IP address, you could have a damaged set of TCP/IP or PowerWeb files, in which case you should re-install TCP/IP and unzip and re-install PowerWeb again.
Error 2: The operating system cannot find a host name on your system.
TCP/IP requires a one-to-many mapping between an IP address and its host names. This mapping is set up either within your HOSTS file or by your domain name server (DNS). We recommend that you set up your HOSTS file regardless of whether you are running DNS, as it enables faster lookup of your server's host name while PowerWeb is running.
The HOSTS file is contained within your TCP/IP etc directory. To discover its location, type "set etc" on an OS/2 command line. If this ETC environment variable is not set, your TCP/IP should be re-installed.
Your HOSTS file is a list of IP addresses (one per line) followed by the equivalent host names. For example, our HOSTS file looks like this:
196.31.1.61 www.compusource.co.za compusource.co.zaAn alternative way of defining your host names is:
127.0.0.1 localhost
Error 3: Your host name does not resolve to any IP address.
PowerWeb ensures that your IP address maps to your host name and also that your host name maps back to the original IP address. If the mapping back from the host name to the IP address fails, it means that your HOSTS file is not set up correctly.
Refer to the notes regarding Error 2 above for setting up your HOSTS file.
Error 4: Your host name maps to the IP address xx whereas TCP/IP reports your IP address to be yy
This error message occurs when you have multiple IP addresses defined on your machine, and your HOSTS file is inconsistent. In this case PowerWeb mapped your primary IP address to a specific host name, but when that host name was mapped back to an IP address, a different IP address was returned. This is a serious error and will cause malfunctioning of your server.
Refer to the notes regarding Error 2 above for setting up your HOSTS file.
Warning 5: The operating system is unable to resolve an external host name to an IP address.
This warning message indicates that you are either not online to the Internet or that your domain name server (DNS) is malfunctioning. If you are serving only locally or to your private LAN and not to the Internet you can ignore this warning.
If your server is meant to be online to the Internet, then the most likely cause of this message is that your TCP/IP configuration settings do not specify a valid DNS server IP address, or your service provider's DNS is either not operating or is not setup correctly. The easiest way to test this is to use your Web browser to access other sites on the Internet.
To define your DNS server's IP address for a permanent Internet connection:
Error 6: A xx Server is already running on socket port yy.
This message indicates that you were previously running a server on the same machine as you are installing PowerWeb. If you shut down that TCP/IP service and wait a while (sometimes as long as 5 minutes), IBM's TCP/IP will release the port and enable PowerWeb to use it. In the case of port 80 (for HTTP), PowerWeb will automatically choose port 8000 instead and install itself on that port, allowing you to run your old server (if any) alongside PowerWeb. You can always change your HTTP port later by choosing "Services" from the main PowerWeb admin page while PowerWeb is running.
Warning 7: Your computer does not have its timezone defined.
PowerWeb needs to know your timezone for your machine's location so that it can send the correct timestamp information to remote clients. Many Web browsers rely on the server's clock and timezone being correctly set so that they can cache images or documents locally, fetching new copies only when the cache is out-of-date.
To define your timezone:
submit -r10which will send 10 consecutive requests to your server for its home page.
submit -r10 -i12.34.56.78
ping 12.34.56.78