apache compile major errors, sites down

N

NoAgendas

Guest
Never seen this before, compiling apache via whm, saw this in red when compiling with new php 4.4.3 and versioning off. Same thing with #8 on easyapache

Dulpicated this on 2 servers, all sites getting 500 errors, while only one server is showing the above error.

All of this after recompiling apache with prevoius config but php 4.4.3 instead of 4.4.2, amazing!



sh: -c: line 1: syntax error near unexpected token `('
sh: -c: line 1: ` @p = ("|","/","-","\\"); '
tee: standard output: Broken pipe
tee: write error
-------------------------------------------------
|| Add support for the HTTPS scheme and the additional SSL_XXXX
|| environment variables mod_ssl provides to CGI scripts.
|+---------------------------------------------------------------------------
|Index: src/support/suexec.c
|--- src/support/suexec.c 28 Jul 2006 13:55:23 -0000 1.1.1.13
|+++ src/support/suexec.c 28 Jul 2006 13:56:30 -0000 1.14
--------------------------
Patching file src/support/suexec.c using Plan A...
Hunk #1 succeeded at 98 (offset 7 lines).
done
-------------------------------------------------
-------------------------------------------------
|+---------------------------------------------------------------------------
||
|+---------------------------------------------------------------------------
|Index: conf/httpd.conf-dist-win
|--- conf/httpd.conf-dist-win 22 Oct 2004 10:15:46 -0000 1.1.1.19
|+++ conf/httpd.conf-dist-win 22 Oct 2004 10:18:59 -0000 1.18
--------------------------
Patching file conf/httpd.conf-dist-win using Plan A...
Hunk #1 succeeded at 190.
done
-------------------------------------------------
-------------------------------------------------
|| Add hyperlinks for all SSL directives which are
|| documented inside the mod_ssl document.
|+---------------------------------------------------------------------------
|Index: htdocs/manual/mod/directives.html.en
|--- htdocs/manual/mod/directives.html.en 7 May 2006 18:10:41 -0000 1.1.1.8
|+++ htdocs/manual/mod/directives.html.en 7 May 2006 18:12:44 -0000 1.9
--------------------------
Patching file htdocs/manual/mod/directives.html.en using Plan A...
Hunk #1 succeeded at 563.
done
-------------------------------------------------
-------------------------------------------------
|+---------------------------------------------------------------------------
|| Add a hyperlink for the Define directives.
|+---------------------------------------------------------------------------
|Index: htdocs/manual/mod/directives.html.en
|--- htdocs/manual/mod/directives.html.en 7 May 2006 18:10:41 -0000 1.1.1.8
|+++ htdocs/manual/mod/directives.html.en 7 May 2006 18:12:44 -0000 1.9
--------------------------
Patching file htdocs/manual/mod/directives.html.en using Plan A...
Hunk #1 succeeded at 233.
done
-------------------------------------------------
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
+ using -lgdbm for DBM support
enabling DBM support for mod_rewrite
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.28
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr
+ SSL library version: OpenSSL 0.9.7a Feb 19 2003
+ SSL library type: installed package (stand-alone)
+ enabling Extended API (EAPI)
+ using system Expat
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/extra
 

EricG

Member
Jul 10, 2006
11
0
151
I just had a very similar problem. Rebuilded Apache from WHM, didn't get any errors but httpd won't restart. My VPS provider has been working on it for almost 3 hours now.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
If httpd won't restart, check the log files for any errors. This is the first step you should do to troubleshoot Apache. Among other things, it might be a syntax, and/or corrupted module(s).
 

consultorpc

Well-Known Member
PartnerNOC
Jun 18, 2003
51
0
156
If it's help:

httpd was failing because the LoadModule entries for mod_rewrite and
mod_expires were missing from httpd.conf. I recreated these entries, and was
successfully able to start httpd after doing so.