Kbase 20316: Progress Explorer Fails to Connect to Unix AdminServer with error 8336
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
UNIX
SYMPTOM(s):
Connecting the Progress Explorer to the Progress AdminServer.
Unable to connect to Admin Server. Ensure Admin Server is running. (8336)
CAUSE:
Mismatch between the data in the /etc/hosts file, the name returned by the hostname command, and/or the IP address returned by the ifconfig -a command.
For example the following configuration of the /etc/hosts file causes the 8336 error to appear and connection to the Progress Explorer to fail:
127.0.0.1 localhost testmachine
The address 127.0.0.1 is reserved for localhost; host name testmachine should be on a line of its own.
FIX:
To verify the proper hostname and IP Address configuration perform the following:
- Log into the machine as root.
- Run the hostname command to determine the defined hostname for the system and note the output:
[root]# hostname
testmachine
- Run the ifconfig -a command to determined the proper IP Address.
Sample output:
[root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:B0:D0:22:4F:25
inet addr:196.73.183.13 Bcast:196.73.183.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15725088 errors:0 dropped:0 overruns:1 frame:0
TX packets:4908316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2763980438 (2635.9 Mb) TX bytes:684874469 (653.1 Mb)
Interrupt:9 Base address:0xdc80
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2953042 errors:0 dropped:0 overruns:0 frame:0
TX packets:2953042 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:452792803 (431.8 Mb) TX bytes:452792803 (431.8 Mb)
The above output describes the TCP/IP interfaces on the system. Thelo is the loopback interface and is no interest here. Look at the other interface (eth0 in the example), which describes the network card defined on this system. The IP address defined for the Network card appears after inet addr (196.73.183.13 in the example).
- Go to the /etc/hosts file and make sure that there is one and only one line with the host name (testmachine) with the IP address (196.73.183.13). The host name and the IP address must not appear in any other line. For example the following snippet from /etc/hosts is correct:
# correct snippet
127.0.0.1 loopback
196.73.183.13 testmachine
The following snippets are not correct (the reason is given in the comment):
# incorrect snippet 1
127.0.0.1 loopback testmachine # testmachine maps to 127.0.0.1 !
# incorrect snippet 2
127.0.0.1 loopback
196.73.184.25 testmachine # two lines with host testmachine !
196.73.183.13 testmachine
# incorrect snippet 3
127.0.0.1 loopback
196.73.183.13 testalias # two lines with IP address 196.73.183.13 !
196.73.183.13 testmachine
- After changing the /etc/hosts file, stop and restart the AdminServer.