Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache failed on rebuild

Discussion in 'EasyApache' started by romazom, Aug 10, 2005.

  1. romazom

    romazom Registered

    Joined:
    Feb 21, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    When i try to restart it through ssh as the root user i get this problem:


    Syntax error on line 1083 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/init.d/httpd start: httpd could not be started

    This all happened when i used the WHM feature to rebuild apache with php5 :-/

    And i was hoping to install ruby and rails :-/

    Anyone help plz?

    And if i ask my host... they will charge me $25/20 minutes!!!
     
  2. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Check if you have the following two lines in /usr/local/apache/conf/httpd.conf uncommented.

    LoadModule bytes_log_module libexec/mod_log_bytes.so

    and

    AddModule mod_log_bytes.c

    If you have them then BytesLog directive should work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. romazom

    romazom Registered

    Joined:
    Feb 21, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Permission denied... Hmm i wish i knew linux :-/

    EDIT:

    Problem fixed... i purchased "premium support" ($25/m), and my host fixed it ^^ thanks...
     
    #3 romazom, Aug 10, 2005
    Last edited: Aug 10, 2005
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice