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

Andre' Cervera andre at sun.com.ph
Thu Oct 26 20:46:10 CDT 2000


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






More information about the SunHELP mailing list