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!

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:
    316
    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:
    316
    Solved with help of Cpanel tech. Thanks.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What was the ticket number? This way we can see the exact resolution. Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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