From owner-freebsd-questions Mon Feb 11 5:24:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from apache.metrocom.ru (www.metrocom.ru [195.5.128.139]) by hub.freebsd.org (Postfix) with ESMTP id 797BE37B405; Mon, 11 Feb 2002 05:24:29 -0800 (PST) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by apache.metrocom.ru (8.12.1/8.12.1) with ESMTP id g1BDOKuo017583; Mon, 11 Feb 2002 16:24:20 +0300 (MSK) Date: Mon, 11 Feb 2002 16:24:20 +0300 (MSK) From: Varshavchick Alexander To: Peter Pentchev Cc: questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: lsof and listening processes on 4.5 In-Reply-To: <20020211151757.H355@straylight.oblivion.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You fired almost to the point - many of the system directories remained not updated by some reason after an 'upgrade' option in sysinstall, however new kernel is working fine. So it seems that the OLD userland utilities cannot quite deal with the NEW kernel's way of presenting things. It's interesting if was it something in the upgrade procedure for 4.5, because I upgraded severl times before with the earlier system versions and there were no such problems. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Mon, 11 Feb 2002, Peter Pentchev wrote: > Date: Mon, 11 Feb 2002 15:17:57 +0200 > From: Peter Pentchev > To: Varshavchick Alexander > Cc: Edwin Groothuis , questions@FreeBSD.ORG, > freebsd-hackers@FreeBSD.ORG > Subject: Re: lsof and listening processes on 4.5 > > On Mon, Feb 11, 2002 at 03:13:55PM +0300, Varshavchick Alexander wrote: > > Of cause, I recompiled lsof for 4.5. But now it seems to be more likely a > > some general problem with the system, because the command > > > > sockstat -4 -l > > > > doesn't print anything either. What can it be...? > > Just as a guess: you did not update your 'world' sources, then forgot > to reboot with a new kernel, did you? At some point, a slight ABI > incompatibility was introduced somewhere around the network sockets > data, and the new userland utilities - netstat, apparently sockstat > too - cannot quite deal with the old kernel's way of presenting > the information. > > As a side question, what is the output of: > netstat -an | grep '^tcp.*LISTEN' > > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > This sentence is false. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message