EasyApache problems - empty values for UseCanonicalName

H2Hosting.com

Well-Known Member
Sep 4, 2001
192
0
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?