Re: Telnet Not Responding On Connection To AIX Box.



evilbastard9@xxxxxxxxx wrote:
On Aug 8, 10:10 am, evilbasta...@xxxxxxxxx wrote:
On Aug 8, 9:14 am, miles <my_spam_acco...@xxxxxxx> wrote:



On Aug 8, 7:36 am, evilbasta...@xxxxxxxxx wrote:

I am trying to debug why I can no longer connect to an AIX box. I
believe that something was changed on the AIX box, but not sure where
to look.

When I try a connection, all I get back is a blank screen instead of
the login prompt. I am able to telnet to a box on the same switch,
then telnet to the problem box from there. I looked compared the
hosts files on both boxes but didn't see any discrepancies there. Not
sure where to look next.

Any help, or direction pointing would be appreciated.

I might check the routing tables, use: netstat -r

Run it on both boxes and compare the output. See if, on the problem
server, there is an entry matching the subnet mask of your PC (I
presume that's where you are connecting from).

Do you use TCP Wrapper on the servers?
Is there more than one network interface?
When you telnet from the other server is it over the same network
interface?
Did you check the cables?

Miles

Its definitely not a cable issue. I have Websphere running on the
server and can connect to the Console through the

http://servername:9060/admininterface. But it won't continue with the
login, it returns a login error (I know that the user ids are correct,
I use the same ones to telnet from Server1 to Server2)

Just to clarify, I am not getting connection refused error, it appears
to make a connection, but no login prompt is returned.

Both Server1 and Server2 share the same access control list, and are
behind the same switch.

I can telnet to Server1 then Telnet to Server2, but cannot directly
telnet to Server2 from my pc. Running Netstat -r on my PC lists my
local IPs ie

192.*
127.*
and my gateway.

Netstat -r on Server1 shows my machine name as connected to it and a
bunch of other peoples pcs. After telneting to Server2 from Server1,
Netstat -r only reports it's local IPs and no other connections.

It does respond to PINGS so I know that I can at least see Server2
from my PC.


OK I spoke to soon, I can successfully connect to the Websphere
console on Server2 from my PC. Also the netstat command on Server2
takes FOREVER to complete.

It sounds like there is something wrong with name resolution on your
server. Check /etc/resolv.conf, /etc/netsvc.conf or the NSORDER env variable.

telnetd does a reverse name lookup when connecting, if name resolution is
misconfigured, you will see a delay or timeout of your telnet session. Try
adding -c to the end of the telnet line in /etc/inetd.conf. Also try
netstat -n. If both are significantly quicker, your problem quite likely is
in name resolution.

Regards,
Gregory Young

.