Apache

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Mar 7 09:29:00 UTC 2006


Pgold wrote:
> Hi guys, i'm trying to start apache using: apachectl start. But apache
> simply won't start, configurations files seems ok. If I try httpd -X i
> receive a Segmentation fault(core dumped).
> Anyone know what this could be? Nor help debugging the core output?

segfaults on apache startup are usually due to loading DSO modules either
linked against a different set of shlibs or to a DSO that assumes threading
when the base apache doesn't (or vice versa).

You should try a binary search amongst the modules you load into apache to
see if you can isolate the one that is triggering the problem.  (You can pretty
much assume that any DSOs installed from the same package as the base apache
will be OK)

Another thing to try is to make sure that all the apache related stuff is either
installed from packages downloaded from the FTP servers or locally compiled from
ports.  That includes any PHP modules. While a mixture of the two *should* work,
it is possible to end up for example with different modules linked against different
versions of OpenSSL libs quite easily.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060307/e0abf328/signature.bin


More information about the freebsd-questions mailing list