Dear Forum!
Our Apache24 server is exiting on signal 11 (core dumped) when logrotate is run.
Messages tells us that:
When we add this to newsyslog.conf:
When we run
One thing we know we have done, is changing the BDB-version, then we added this to make.conf and reinstalled apache:
Restarting like this is working just fine:
Our skills is limited, please let us know if we can provide any other information
Anything else is working really fine :beergrin
Thanks in advance,
Our Apache24 server is exiting on signal 11 (core dumped) when logrotate is run.
Messages tells us that:
Code:
Feb 22 00:00:01 srv02 kernel: pid 92975 (httpd), uid 0: exited on signal 11 (core dumped)
When we add this to newsyslog.conf:
Code:
/var/log/www.domain.yz-access.log 644 7 * @T00 J /var/run/httpd.pid 30
/var/log/www.domain.yz-error.log 644 7 * @T00 J /var/run/httpd.pid 30
When we run
gdb
on httpd.core, we see this:
Code:
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0000000000000000 in ?? ()
[New Thread 802806400 (LWP 100157/httpd)]
Code:
root@srv02:/ # uname -a
FreeBSD srv02 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Code:
root@srv02:/ # httpd -V
Server version: Apache/2.4.6 (FreeBSD)
Server built: Feb 21 2014 07:38:15
Server's Module Magic Number: 20120211:23
Server loaded: APR 1.4.8, APR-UTIL 1.5.3
Compiled using: APR 1.4.8, APR-UTIL 1.5.3
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types"
-D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"
Code:
root@srv02:/ # php -v
PHP 5.4.25 (cli) (built: Feb 20 2014 14:29:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
One thing we know we have done, is changing the BDB-version, then we added this to make.conf and reinstalled apache:
Code:
WITH_BDB_VER=6
Restarting like this is working just fine:
Code:
root@srv02:/ # /usr/local/etc/rc.d/apache24 restart
Our skills is limited, please let us know if we can provide any other information
Anything else is working really fine :beergrin
Thanks in advance,