Re: apache 2.4 core dump on launch, no error logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 17, 2016, at 2:39 PM, Nick Kew <niq@xxxxxxxxxx> wrote:
> On Thu, 2016-11-17 at 08:08 -0700, @lbutlr wrote:
>> On Nov 17, 2016, at 3:56 AM, Nick Kew <niq@xxxxxxxxxx> wrote:
>>> On Wed, 2016-11-16 at 12:12 -0700, @lbutlr wrote:
>>>> When launching apache 2.4 I get a core dump. Nothing is logged to the http-error log. I’ve tried rebuilding it to no avail. Ideas?
>>>> 
>>> At the top of your coredump is libpcre.  Could it be that your
>>> httpd has been built against a different/slightly incompatible
>>> pcre version?
>> 
>> Maybe? I’ve rebuilt apache several times and there’s been no change in behavior, and I’ve updated all port versions as of yesterday.
>> 
>> PCRE-8.39 is installed. I’m not sure how to tell if http is trying to access a different version.
> 
> On second thoughts, I was completely misreading your info.
> Comes of trying to reply while also listening to a talk at ApacheCon.
> 
> OpenSSL is possibly implicated at the end of your dump.  But your
> Apachectl -M doesn't list mod_ssl.  Possibly mod_php is loading it.
> Indeed, if httpd and php were linked against *different versions* of
> the same library (which could be OpenSSL or pcre or something else
> entirely), that would likely segfault.

I updated to 10.3-RELEASE. I removed apache24, mod_php56, php56, and php56-extensions. I reinstalled apache24 and loaded it and it runs fine and pages load. I recompiled php56 and php56-extensions. Then mod_php56. After enabling mod_php56 and restarting apache24, it core dumps. If I don’t load mod_php56, apache runs fine.

Every package in port master is up-do-date (portmaster -L | grep New returns no results).

If there is an old openSSL lurking somewhere, I cannot find it. I have 1.0.2j installed and working with dovecot/postfix.

Scouring around I did find a directory

/usr/local/lib/php/20100525/ 

which I’ve now moved aside. Rebuilding php and mod_php again. Fingers crossed.

> Finally, you shouldn't load both mod_cgi and mod_cgid.

Oops. fixed that. Thanks.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux