Re: Apache



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

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: improper handling of dlpeneds C++/atexit() code?
    ... output of lsof -p <some apache child process pid> for apache running ... runtime support for exception handling, ... Both lines 282 and 283 produce dynamic relocations in final DSO, ... First relocation is resolved immediately on DSO load, ...
    (freebsd-stable)
  • Re: improper handling of dlpeneds C++/atexit() code?
    ... output of lsof -p <some apache child process pid> for apache ... runtime support for exception handling, ... Both lines 282 and 283 produce dynamic relocations in final DSO, ... First relocation is resolved immediately on DSO load, ...
    (freebsd-stable)
  • PHP 4.3.4_6 make failed
    ... I was compiling PHP 4.3.4_6 ... checking for Apache 1.x module support via DSO through APXS... ...
    (freebsd-questions)
  • mod_perl headaches
    ... I've installed Apache and it works. ... I installed mod_perl as a DSO, ... installation. ... Also, if this is not a Perl problem, I apologize in advance. ...
    (comp.lang.perl.misc)
  • php4-imap && apache virtual domains
    ... Recently I upgraded apache, php4, ... php-imap pachages and since then apache exit with error "Segmentation ... fault". ... When I disable php4-imap module or remove all ...
    (Debian-User)