On 27/1/09 15:55, Carl Brewer wrote:
> Following up on this, I'm still stuck, but maybe someone here can help 
> with a debugging step?
> 
> I'm trying to get httpd to dump cores, as we're seeing this a lot :
> 
> [Sun Jan 25 18:14:17 2009] [notice] child pid 20822 exit signal 
> Segmentation fault (11)
> 
> 
> and I figure a core might just help.  So, in httpd-perl's config :
> 
> CoreDumpDirectory /var/cores
> 
> and /var/cores is 777
> 
> And in the (RHEL/CentOS format) init.d script
> start() {
>          echo -n $"Starting $prog: "
>          ulimit -S -c unlimited >/dev/null 2>&1
>          LANG=$HTTPD_LANG daemon $httpd $OPTIONS -f $conf
>          RETVAL=$?
>          echo
>          ulimit -c
>          [ $RETVAL = 0 ] && touch ${lockfile}
>          return $RETVAL
> }
> 
> 
> I think I got just about everything needed to get a coredump, but 
> nothing shows up in /var/cores, despite many segfaults in the logs.
> 
> Anything I've missed?

Selinux enabled ?

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to