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.

EasyApache problems - empty values for UseCanonicalName

Discussion in 'EasyApache' started by H2Hosting.com, Jul 14, 2012.

  1. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Cannot update httpd.conf after easyapache upgrade.
    ------------------------------------------------------------
    /usr/local/cpanel/bin/build_apache_conf
    info [build_apache_conf] 'local' datastore in use (/var/cpanel/conf/apache/local)
    info [build_apache_conf] 'local' template in use (/var/cpanel/templates/apache2/main.local)
    Initial configuration generation failed with the following message:

    An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.iq9Y7jaM_tPsmo_4
    Exit signal was: 0
    Exit value was: 1
    Output was:
    ---
    Syntax error on line 42 of /usr/local/apache/conf/httpd.conf.work.iq9Y7jaM_tPsmo_4:
    UseCanonicalName takes one argument, How to work out the ServerName : Port when constructing URLs
    ---

    Rebuilding configuration without any local modifications.

    Built /usr/local/apache/conf/httpd.conf OK
    ------------------------------------------------------------

    Finally found a way to look at temp.httpd.conf file (modify /usr/local/cpanel/bin/build_apache_conf script) and found this in the temp file:

    UseCanonicalName
    HostnameLookups
    SetOutputFilter

    No values at all.

    What to do? How to fix it?
     
  2. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Solved with help of Cpanel tech. Thanks.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What was the ticket number? This way we can see the exact resolution. Thanks!
     
Loading...

Share This Page