Consultor Eletrônico



Kbase P792: Non-loopback localhost IP in /etc/resolv.conf file causing NS1 startup to fail
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

SYMPTOM(s):

Unable to connect to the NameServer on the local machine

Can connect to the NameServer remotely

NameServer process starts, but will not register with adminserver

Error: Unable to connect to Progress AdminServer using rmi://localhost:20931/Chimera (8287)

Unable to find NS1 (8281)

Pinging localhost returns an address other than 127.0.0.1

/etc/hosts has the correct loopback mapping.

CAUSE:

Within the Ubroker.properties file, the Progress NameServer (NS1) is, by default, being started on the localhost. A loopback address is expected. Problems arise when localhost is mapped to a non loopback address. The machine is getting it's localhost address from another server based upon entries in the /etc/resolv.conf file.

FIX:

Locate and add the following entry in the /etc
etsvc.conf file:

hosts=local,bind

This will force the machine to look into it's own /etc/host file first to resolve it's naming needs.