httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Interesting.... :/
Date Wed, 04 Jun 2003 07:06:53 GMT
>-----Original Message-----
>From: Chris Knipe [mailto:savage@savage.za.org]
>
>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.

I guess you are dynamically loading the PHP module, so therefore you
shouldn't need to recompile apache - you'd think... I don't currently
use PHP but when I did use it a while ago, I recall that you had to
compile PHP "--with-apache", i.e. you had to give it the path to the
apache sources. I suspect that this was so that the PHP configure script
could patch apache. If this is still the case, then you will have to
recompile apache against the new PHP distro.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>
>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
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message