Consultor Eletrônico



Kbase 21901: Setting Hostname for V9 Database Server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/04/2002
SUMMARY:

When making a connection to a Progress Version 9 database server with the "virtual" or "logical" <hostname> parameter, error 5149 is returned:

"The Host parameter supplied was <host>, however, this Host is
<host>. (5149)"
The wrong host parameter was supplied. Try again with the correct
host.

EXPLANATION:

In Version 9, the <hostname> must be the name of the machine where the server is started. (Progress Knowledge Base Solution 19681 explains how -H functions differently in Version 8 and Version 9.)

This is because when you start up a database server with -H, Progress converts the host name to its IP address, and then the IP address back to a host name. If the host name returned by this backward conversion does not match the host name given in the -H option, you get error 5149. (Progress Knowledge Base Solution 19720 provides more detail on the technicalities of IP address translation between network domains.)

SOLUTIONS:

-- Don't use the -H parameter at all. -H is not mandatory in starting up a local database server. When -H is omitted, Progress defaults to "localhost".

- or -

-- Set -H to "localhost" (or the "physical host") for machine that starts the database server.
**Customer should be careful when using -H Localhost, see kb 21410.

NOTES:

A) If there is a different /etc/hosts file on each machine, make sure that for each machine, the first entry is the one related to the local host name of that machine.

B) The parameter -H should only be omitted when starting PROSERVE. Client sessions do need -H, followed either by an IP address or a host name that will resolve to that IP address. The IP address can only be in use by any one machine at any given time.

C) The TCP clients will either use:
"-H <IP_address>" or
"-H <host_name>", the host_name being translated to the IP address.


References to Written Documentation:

Progress Knowledge Base Solutions:
19681, "Procontrol, Error 5149 in Progress Version 9.1A But Not in V8"
19720, "NAT Network Address Translation-Webspeed Distributed Config"
21410, "Specifying -H localhost at Database Startup in V9"