On 2010-01-20 17:11, Boris Samorodov wrote:
On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote:
% sysctl -a | grep core
kern.corefile: /var/coredumps/%U/%N.core
As CORE(5) says %U is a UID...
% touch /var/coredumps/file
% ll !$
ll /var/coredumps/file
-rw-r--r-- 1 doug wheel 0 Jan 20 15
On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote:
> % sysctl -a | grep core
> kern.corefile: /var/coredumps/%U/%N.core
As CORE(5) says %U is a UID...
> % touch /var/coredumps/file
> % ll !$
> ll /var/coredumps/file
> -rw-r--r-- 1 doug wheel 0 Jan 20 15:13 /var/coredumps/file
... so you s
Hi--
On Jan 20, 2010, at 1:24 PM, Doug Poland wrote:
> % sysctl -a | grep core
> kern.corefile: /var/coredumps/%U/%N.core
Does /var/coredumps/doug and/or /var/coredumps/clamav exist and have
appropriate permissions (or be 1777 like /tmp to avoid a problem with that)...?
--
-Chuck
On Wed, January 20, 2010 15:05, Chuck Swiger wrote:
> Hi--
>
> On Jan 20, 2010, at 12:46 PM, Doug Poland wrote:
>> Thanks for the suggestion and the pointer to man 5 core. I
>> implemented your suggestions but still get no core dump. Very
>> strange...
>
> Check your default resource limits (she
Hi--
On Jan 20, 2010, at 12:46 PM, Doug Poland wrote:
> Thanks for the suggestion and the pointer to man 5 core. I
> implemented your suggestions but still get no core dump. Very
> strange...
Check your default resource limits (shell startup files & /etc/login.conf) and
see whether coredumpsiz
On Tue, January 19, 2010 12:35, Chuck Swiger wrote:
> Hi--
>
> On Jan 19, 2010, at 10:04 AM, Doug Poland wrote:
>> No joy.
>>
>> # sysctl kern.corefile=/var/crash/clamd.core
>> # /usr/local/etc/rc.d/clamav-clamd start
>> Starting clamav_clamd.
>> Segmentation fault
>> # ll /var/crash
>> total 2
Hi--
On Jan 19, 2010, at 10:04 AM, Doug Poland wrote:
> No joy.
>
> # sysctl kern.corefile=/var/crash/clamd.core
> # /usr/local/etc/rc.d/clamav-clamd start
> Starting clamav_clamd.
> Segmentation fault
> # ll /var/crash
> total 2
> -rw-r--r-- 1 root wheel 5 Apr 10 2005 minfree
Please see
On Tue, January 19, 2010 11:10, krad wrote:
> 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.
>>
>
> set a path in the sysctl variable kern.corefile. WIll make the core
> file easier to find
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
> foun