Interesting.... :/

From: Date: Tue, 03 Jun 2003 19:23:19 +0000
Subject: Interesting.... :/
Groups: php.general 
Request: Send a blank email to php-general+get-150049@lists.php.net to get a copy of this message
Lo all, Some input much appreciated. I upgraded mod_php4 from 4.2.3 to 4.3.2, and needless to say, something went horribly wrong. PHP compiled without any serious problems, and the installation seemed to have gone fine as well. When issuing a apachectl restart, apache immediately core dumped... OOOPS. Well, my attempts at debugging, so far, was very much unsuccessful... root@netsphere:/usr/local/etc/apache# httpd --help Segmentation fault (core dumped) root@netsphere:/usr/local/etc/apache# root@netsphere:/usr/local/etc/apache# httpd -h Usage: httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T] [-F] Options: -D name : define a name for use in <IfDefine name> directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled-in modules -L : list available configuration directives -S : show parsed settings (currently only vhost settings) -t : run syntax check for config files (with docroot check) -T : run syntax check for config files (without docroot check) -F : run main process in foreground, for process supervisors root@netsphere:/usr/local/etc/apache# httpd -v Server version: Apache/1.3.27 (Unix) Server built: Dec 10 2002 22:10:01 root@netsphere:/usr/local/etc/apache# httpd -V Server version: Apache/1.3.27 (Unix) Server built: Dec 10 2002 22:10:01 Server's Module Magic Number: 19990320:13 Server compiled with.... -D EAPI -D EAPI_MM -D EAPI_MM_CORE_PATH="/var/run/httpd.mm" -D HAVE_MMAP -D USE_MMAP_SCOREBOARD -D USE_MMAP_FILES -D HAVE_FLOCK_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D HARD_SERVER_LIMIT=512 -D SO_ACCEPTFILTER -D ACCEPT_FILTER_NAME="httpready" -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/sbin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard" -D DEFAULT_LOCKFILE="/var/run/httpd.lock" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D TYPES_CONFIG_FILE="etc/apache/mime.types" -D SERVER_CONFIG_FILE="etc/apache/httpd.conf" -D ACCESS_CONFIG_FILE="etc/apache/access.conf" -D RESOURCE_CONFIG_FILE="etc/apache/srm.conf" root@netsphere:/usr/local/etc/apache# httpd -l Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper /usr/local/sbin/suexec root@netsphere:/usr/local/etc/apache# httpd -S Segmentation fault (core dumped) root@netsphere:/usr/local/etc/apache# httpd -t Segmentation fault (core dumped) root@netsphere:/usr/local/etc/apache# httpd -T Segmentation fault (core dumped) root@netsphere:/usr/local/etc/apache# httpd -F Segmentation fault (core dumped) checking libphp4.so.... root@netsphere:/usr/ports/www/mod_php4# ldd /usr/local/libexec/apache/libphp4.so /usr/local/libexec/apache/libphp4.so: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28297000) libmcal.so => /usr/local/lib/libmcal.so (0x282b0000) libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x282bf000) libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x28371000) libsnmp.so.4 => /usr/local/lib/libsnmp.so.4 (0x2838e000) libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x283e8000) libpdf.so.4 => /usr/local/lib/libpdf.so.4 (0x283ea000) libz.so.2 => /usr/lib/libz.so.2 (0x2847b000) libtiff.so.4 => /usr/local/lib/libtiff.so.4 (0x28489000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x284cd000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x284f1000) libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x2850f000) libmhash.so.2 => /usr/local/lib/libmhash.so.2 (0x2852b000) libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x28544000) libltdl.so.1 => /usr/local/lib/libltdl.so.1 (0x28580000) libpam.so.1 => /usr/lib/libpam.so.1 (0x28584000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2858e000) libintl.so.4 => /usr/local/lib/libintl.so.4 (0x28669000) libgdbm.so.3 => /usr/local/lib/libgdbm.so.3 (0x28671000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28677000) libssl.so.4 => /usr/local/lib/libssl.so.4 (0x28687000) libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x286b6000) libm.so.2 => /usr/lib/libm.so.2 (0x287a9000) libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x287c5000) libudmsearch.so.1 => /usr/local/lib/libudmsearch.so.1 (0x287e5000) libssl.so.2 => /usr/lib/libssl.so.2 (0x2881c000) libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x2884a000) libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x28907000) libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x289d4000) libc.so.4 => /usr/lib/libc.so.4 (0x28069000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x28a1b000) libssl.so.3 => /usr/lib/libssl.so.3 (0x28b1a000) Needless to say, I am baffled. The system is FreeBSD 4.8-STABLE, running apache13-modssl (FreeBSD Ports). I am reinstalling apache as well now to see if that maybe fixes the problem, but ya... *ANY* ideas much appreciated... -- me

« previous php.general (#150049) next »