Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 17:10:04 +0000
From:      krad <kraduk@googlemail.com>
To:        Doug Poland <doug@polands.org>
Cc:        questions@freebsd.org
Subject:   Re: Trouble getting a core dump from clamd
Message-ID:  <d36406631001190910g5c56b43en9ca9b87bf244a40d@mail.gmail.com>
In-Reply-To: <db60663b086aed5329984a666b8b7e08.squirrel@email.polands.org>
References:  <db60663b086aed5329984a666b8b7e08.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/19 Doug Poland <doug@polands.org>

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d36406631001190910g5c56b43en9ca9b87bf244a40d>