Kbase P101013: AdminServer binding to localhost instead of system hostname
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/6/2006 |
|
Status: Unverified
FACT(s) (Environment):
HP-UX 11.0
OpenEdge 10.x
SYMPTOM(s):
AdminServer does bind to system hostname when started
Proadsv -query returns message
RegistryManager - could not get hostname, using "localhost"
AdminServer log shows Exception in thread "main" java.lang.NullPointerException
OS hostname query returns correct hostname of machine.
System /etc/hosts file has machine name properly entered.
Proadsv script had -Djava.rmi.server.hostname=hostname to force AdminServer to find hostname.
CAUSE:
The OS /etc
sswitch.conf file was set to use DNS to find system host information first before looking at files (/etc/hosts). DNS was set to append the fully qualified domain to the host name. For example: instead of machine name hp1 it was hp1.progress.com.
FIX:
To ensure Progress AdminServer attaches to the machine's hostname , edit the nsswitch.conf file to have files in the lookup path.
(hostname: files dns )