Apache 2.4.10 Error On CentOS 5.7

Home » CentOS » Apache 2.4.10 Error On CentOS 5.7
CentOS 2 Comments

Hey guys,

I realize this release is a little old. But I’m hoping to get some help with this anyway if that’s cool.

This is my employer’s box and I don’t have the option of upgrading it.

I installed apr 1.5.1 and apr-util 1.5.4. Then downloaded the source for apache 2.4.10 for a project that I’m working on.

I gave these configure flags along with make and install

[root@uszwsls00008la httpd-2.4.10]# ./configure –prefix=/opt/apache2
–with-suexec-bin=/opt/apache2/bin/suexec –enable-so –enable-expires
–enable-speling && make && make install

And when I tried to start apache I got this weird error:

[Wed Nov 05 13:55:14.696079 2014] [core:crit] [pid 17290:tid
47424788414864] AH00102: [Wed Nov 05 13:55:14 2014] file mod_setenvif.c, line 637, assertion “is_header_regex_regex != NULL” failed
/opt/apache2/bin/apachectl: line 79: 17290 Aborted $HTTPD
-k $ARGV

I’ve been googling my head of to get the solution to this error, with no luck. There just seems to be no good info out there for this problem.

I was wondering if anyone has seen this kind of error before and knew how to get around this?

Thanks Tim

2 thoughts on - Apache 2.4.10 Error On CentOS 5.7

  • That error is telling you that the problem is in mod_setenvif.c, or in whatever is calling it.

    Line 637 in that file is an assert macro, of course, so find out what it isn’t getting what it expects to get when that function is called.

  • Am 05.11.2014 um 22:59 schrieb Tim Dunphy:

    Again: going from 5.7 to current 5.11 is not upgrading. It is just updating with the required bug and security fixes. It is far from an upgrade step.

    It is an absolutely unclever decision to run network services like a webserver on such outdated, unpatched version. 5.7 is vulnerable to so many issues, shellshock is just one of them.

    Alexander