Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2002 18:42:57 -0500 (EST)
From:      Mikhail Teterin <mi@corbulon.video-collage.com>
To:        questions@FreeBSD.org, net@FreeBSD.org
Subject:   rlogin, ssh tak forever
Message-ID:  <200212162342.gBGNgvmg014658@corbulon.video-collage.com>

next in thread | raw e-mail | index | archive | help
Hello!

Rlogin and/or ssh into my machine takes forever. Apparently -- a name
resolving issue, since rlogind remains idle for most of the time. Attaching
debugger to the server rlogind process yields:

	0x280ba50f in kevent () from /usr/lib/libc.so.5
	(gdb) where
	#0  0x280ba50f in kevent () from /usr/lib/libc.so.5
	#1  0x280e968d in res_send () from /usr/lib/libc.so.5
	#2  0x280f0feb in getaddrinfo () from /usr/lib/libc.so.5
	#3  0x280f14c1 in getaddrinfo () from /usr/lib/libc.so.5
	#4  0x280f11e5 in getaddrinfo () from /usr/lib/libc.so.5
	#5  0x280f062c in getaddrinfo () from /usr/lib/libc.so.5
	#6  0x280f964d in nsdispatch () from /usr/lib/libc.so.5
	#7  0x280ef1ad in getaddrinfo () from /usr/lib/libc.so.5
	#8  0x280ef06c in getaddrinfo () from /usr/lib/libc.so.5
	#9  0x280a9714 in __ivaliduser_sa () from /usr/lib/libc.so.5
	#10 0x280a9453 in __ivaliduser_sa () from /usr/lib/libc.so.5
	#11 0x280a8e5f in iruserok_sa () from /usr/lib/libc.so.5

It feels like something times out and proceeds, because once logged
in, the connection is as fast as the LAN is supposed to be.

I'd look into the name resolution issues, but nslookup(1) and host(1)
are both very quick with answers about all machines involved.

/etc/resolv.conf contains five domains and two (local) name servers.
host.conf lists hosts, bind, nis in this order.

Any clues? Thanks!

	-mi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212162342.gBGNgvmg014658>