From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 17:10:06 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 341BE106566C for ; Tue, 19 Jan 2010 17:10:06 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id B68D98FC24 for ; Tue, 19 Jan 2010 17:10:05 +0000 (UTC) Received: by fxm10 with SMTP id 10so939974fxm.14 for ; Tue, 19 Jan 2010 09:10:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=GnmdYabdLEVY8YtSa6YhdV2ZkCJcYPDWN3trRUtBtRE=; b=kZxFdyj6MM2tzbEgv3xjhvafGqBjIiY2d2H3FKpuHGVZFvi7exYLU195Em5anIPU0C AFAsNtrsqJAnbUOhb7Zn6qvomJBMWeykuhhKrDraFxZ7txjeq2HL2XpiCjFAg9b2Kw86 FH0FMmtMAsCGKaUXfJtVMij8+ZIhayza7wBP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=R96QshuIO6GqTZYONk4ztWjYtlVc0vNdDhLjZRBohNXl5Qs0D9c58ysRK7W40fzMaf 2ahECRL5CAq/rYnnjCxrNCuf42CpouUNYRUsPKPEIObc/eHSx0joC9inW8ZRta2ala+L /V4QtZsC3Jjc/oHq33xxzKeD3WTWlbidD6Oic= MIME-Version: 1.0 Received: by 10.239.188.201 with SMTP id q9mr828857hbh.189.1263921004602; Tue, 19 Jan 2010 09:10:04 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Jan 2010 17:10:04 +0000 Message-ID: From: krad To: Doug Poland Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 17:10:06 -0000 2010/1/19 Doug Poland > Hello, > > I'm running 7.2-RELEASE-p3 i386 and am having an issue getting a core > dump from a program that is seg faulting. > > Last night, inexplicably, clamd started to seg fault. I was trying to > obtain a core dump for further analysis but no .core file can be > found. > > I've tried the following in a tcsh: > > # sysctl -a | grep core > kern.corefile: %N.core > kern.nodump_coredump: 0 > kern.coredump: 1 > kern.sugid_coredump: 0 > debug.elf32_legacy_coredump: 0 > > # set ulimit=-c > > # /usr/local/sbin/clamd /usr/local/etc/clamd.conf > Segmentation fault > > # tail /var/log/messages > Jan 19 10:16:19 hostname kernel: pid 42315 (clamd), uid 106: exited on > signal 11 > > > But I get no .core file. Suggestions? > > > > -- > Regards, > Doug > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > set a path in the sysctl variable kern.corefile. WIll make the core file easier to find if one is generated. Generally much tider as well then having core files littered all over the system