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.

Error while upgrading to apache2

Discussion in 'EasyApache' started by onkar, Dec 18, 2007.

  1. onkar

    onkar Member

    Joined:
    Jul 9, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    We are facing problems while upgrading to apache2. Following are the error details that we got while upgrading.

    --------------------------------------------------------------------------------------------------
    !! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1198026829):
    Syntax error on line 380 of /usr/local/apache/conf/httpd.conf.1198026829:
    error in condition clause
    !!
    !! Archiving successful build so it can be restored via --restore-archive once the httpd.conf are resolved !!
    !! Done Archiving successful build !!
    !! Restoring original working apache !!
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    Compiling report...
    Sending report (469 bytes)...
    !! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '524591' !!
    Report processed.
    !! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1198025566' !!
    -----------------------------------------------------------------------------------------------------

    Please let us know if any one has the resolution for this error.

    Thanks
    Onkar
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What is on and around line 380in that httpd.conf file?
     
  3. useradmin

    useradmin Well-Known Member

    Joined:
    Oct 8, 2004
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    INDIA
    same problem

    HI,

    i am getting same problem.

    379 CustomLog /usr/local/apache/domlogs/domainname.com combined
    380 CustomLog /usr/local/apache/domlogs/domainname.com -bytes_log "%{%s}t %I .\n%{%s}t %O ."
    381 ## User domain # Needed for Cpanel::ApacheConf
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Is that actually a space between the m in .conf and the - in -bytes_log?
     
  5. richu

    richu Registered

    Joined:
    Jul 14, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    Yes..your right...

    Hello Kenneth,

    your right,

    its must like following
    379 CustomLog /usr/local/apache/domlogs/domainname.com combined
    380 CustomLog /usr/local/apache/domlogs/domainname.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
     
Loading...

Share This Page