The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apache compile major errors, sites down

Discussion in 'EasyApache' started by NoAgendas, Aug 11, 2006.

  1. NoAgendas

    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
     
  2. EricG

    EricG Member

    Joined:
    Jul 10, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  3. jpellet903

    jpellet903 Member

    Joined:
    Mar 28, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New Hampshire
    Same problem here. Compiling with one of of the "beginner" options worked, but using a custom option seems to fail no matter which ones I choose.
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    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).
     
  5. consultorpc

    consultorpc Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page