From owner-freebsd-questions Mon Jan 5 17:27:50 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA07665 for questions-outgoing; Mon, 5 Jan 1998 17:27:50 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA07660 for ; Mon, 5 Jan 1998 17:27:41 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id LAA23589; Tue, 6 Jan 1998 11:56:50 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA16120; Tue, 6 Jan 1998 11:56:49 +1030 (CST) (envelope-from grog) Message-ID: <19980106115649.48897@lemis.com> Date: Tue, 6 Jan 1998 11:56:49 +1030 From: Greg Lehey To: Jason Hudgins Cc: jcj@phoenix.net, questions@FreeBSD.ORG Subject: Re: inetd coredumps repeatedly? References: <34B0B5DE.DD957ABE@basil.stthom.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Jason Hudgins on Mon, Jan 05, 1998 at 10:59:28AM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, Jan 05, 1998 at 10:59:28AM -0600, Jason Hudgins wrote: >> Have youy examined the core dump, anything from the system logs? > > I've never examined a core dump before... =) Don't know how to > begin.. There's some information in the online handbook. To get much use out of it, you should recompile inetd with debugging symbols: # make clean all install clean CFLAGS=-g When you get the dump, start with something like: # gdb /usr/sbin/inetd inetd.core (gdb) dir /usr/src/usr.sbin/inetd (gdb) l (this will list where it died) (gdb) bt (this will show how it got there) > and unfortunatly the /var/log/messages just got turned over, its got a > total of two lines in it at the moment.. That's OK, the old /var/log/messages is now called /var/log/messages.0. Greg