From owner-freebsd-questions Tue Jul 13 0:55:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 7E07214EFF for ; Tue, 13 Jul 1999 00:55:39 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id KAA01720; Tue, 13 Jul 1999 10:53:55 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <378AF08E.F6305C87@prime.net.ua> Date: Tue, 13 Jul 1999 10:53:51 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Dima Dorfman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: passwd stalling References: <199907122145.OAA73823@switch.unixfreak.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Definitly U are trying to send from socket. Can U tcpdump ur traffic? Dima Dorfman wrote: > hi, on one of my freebsd machines, whenever i run passwd (root or > non-root) it takes about 180 seconds to get the 1st prompt. at first i > thought this was a dns problem, but dns is fine, and why would passwd need > to do a dns lookup anyway? heres is the last part of the truss output for > it: > > syscall bind(0x4,0xefbfd540,0x10) > returns 0 (0x0) > syscall ioctl(4,FIONBIO,0xefbfd570) > returns 0 (0x0) > syscall sendto(0x4,0x80529f0,0x38,0x0,0x8052808,0x10) > returns 56 (0x38) > syscall gettimeofday(0xefbfd4bc,0x0) > returns 0 (0x0) > syscall select(0x5,0xefbfd52c,0x0,0x0,0xefbfd4b4) > returns 0 (0x0) > syscall sendto(0x4,0x80529f0,0x38,0x0,0x8052808,0x10) > returns 56 (0x38) > syscall gettimeofday(0xefbfd4bc,0x0) > returns 0 (0x0) > > now it sits there for awhile (not sure exactly how long). when i get the > 1st prompt everything is ok. any ideas? > > SYSTEM INFO: > > FreeBSD 3.1-RELEASE (custom kernel) > nis/kerberos disabled > > thanks in advance, > --dima > > -- > Dima Dorfman > /-----------------------------------------------------\ > | irc: eclipze@efnet/dalnet | whois: DD10140@internic | > | email: dima@unixfreak.org | http: www.unixfreak.org | > \-----------------------------------------------------/ > > Windoze droolz. FreeBSD rulez. http://www.FreeBSD.org/ > Whats the same between computers and air conditioners? They both stop working when you open windows. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message