[Sunhelp] Re: Very strange telnet/rlogin/ftp error

John Lee johnlee at sc.mcel.mot.com
Thu Oct 26 22:00:12 CDT 2000


Hi Andre,

Thanks for  your help.

I tried your methods and found that possible causes1&2 are not the real
reason. When I use ifconfig change the hostA's IP address, the telnet works.
So I think maybe the possible cause 3 is the real cause. In fact, there is a
router between hostA& hostB. It seems nobody changed the configuration of
router recently. I will look into this.

Once again, thanks for your hints. Thanks for all others' help !

Regards.
John Lee



-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
Behalf Of Andre' Cervera
Sent: Friday, October 27, 2000 9:04 AM
To: sunhelp at sunhelp.org
Subject: [Sunhelp] Re: Very strange telnet/rlogin/ftp error



Hi John:

Possible Cause 1

>From HostA, run a truss of the telnet, rlogin and ftp session to see exactly
where it fails.
# /usr/bin/truss telnet hostB > /tmp/errors.out
# /usr/bin/truss rlogin hostB > /tmp/errors.out
# /usr/bin/truss ftp hostB > /tmp/errors.out

then
# grep connect /tmp/errors.out

if all the errors are
connect(3, 0xEffffb10, 16)              = 126 (EADDRNOAVAIL)
it means that the local system has run out of available ports.

Check how many ports are already in use
# netstat -an | grep 65535

65,535 - Limit of ports in Solaris 2.6


Possible Cause 2

Check if your inetd daemon is running
# ps -ef | grep inetd

if not, run it manually
# /usr/sbin/inetd -s -t

if it's running, maybe your inetd.conf is corrupted


Possible Cause 3

Firewall or Router tcp/udp filters


Regards,
Andre' Cervera
Systems Engineer
Sun Microsystems Philippines

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp






More information about the SunHELP mailing list