From owner-freebsd-newbies Mon Nov 16 12:18:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03670 for freebsd-newbies-outgoing; Mon, 16 Nov 1998 12:18:57 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from irwell.zetnet.co.uk (irwell.zetnet.co.uk [194.247.47.48]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03654; Mon, 16 Nov 1998 12:18:52 -0800 (PST) (envelope-from drmarsh@bigfoot.com) Received: from trek.squelch.localnet (man-169.dialup.zetnet.co.uk [194.247.40.215]) by irwell.zetnet.co.uk (8.8.7/8.8.5) with ESMTP id UAA25984; Mon, 16 Nov 1998 20:18:05 GMT Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <003801be1108$01485240$6cb611cb@saruman.scitec.com.au> X-No-Archive: yes Date: Mon, 16 Nov 1998 20:16:32 -0000 (GMT) Organization: David_Marsh@HOME: see signature for information. From: David Marsh To: John Saunders Subject: RE: leafnode has died on me, can anybody help? Cc: FreeBSD-Questions Cc: FreeBSD-Questions , FreeBSD-Newbies Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi John, [Also cc'ed to -newbies for information as the troubleshooting advice given might prove to be a useful little learning experience] On 16-Nov-98, John Saunders wrote: >> ..and the following error in my console window: >> >> Nov 15 23:55:29 trek /kernel: pid 413 (leafnode), uid 8: exited >> on signal 11 >> >> Trying to run the leafnode program itself (as root) results in >> Segmentation fault (core dumped) > > Sounds like either a disk space problem or possibly corrupted > files in the news spool. A-ha.. Thanks for the tip. I took a guess and examined the groupinfo file: it turns out it had been corrupted and truncated (presumably due to running out of disk space during a rewrite). I renamed it, and restarted leafnode, which then happily retrieved a new newsgroup list from my ISP. :-) It seems a little ungraceful for a program to die horribly in such a circumstance, rather than return an error message, though! Everything seems fine again now, thanks! Apologies for troubling -questions with something that (with a bit of forethought on my part) I ought to have been able to sort out for myself. I just got a little panicked at the thought of being without news: sad, huh? * Lesson for myself for today: if something breaks, check out the config files first, before panicking.. > Have you tried using ktrace on the > program. i.e. > ># ktrace leafnode > [enter commands that make it crash] ># kdump > > P.S. You need "option KTRACE" in your kernel config file. Thanks, I'll bear that tip in mind for future use. This wasn't a feature I was aware of. I guess I'd need a kernel recompile to enable that feature, so I may pass just for now.. Regards, Dave. --- David Marsh,drmarsh@bigfoot.com | http://www.doko.freeserve.co.uk/ | Glasgow/Glaschu, Scotland. *If urgent, phone: +44 141 400-0577*| >CYCLEWAY: cycle activism GB/IE: http://www.doko.freeserve.co.uk/cycleway/< >includes bikes on public transport, & cycle organisation directories< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message