cPanel 11.18.1-C20683
Easy Apache always compiles everything fine, but it never likes httpd.conf and "restores working apache"
Here is the log with the error. Notice the PORT line is blank for some reason. The only thing I can think is that I have the main "Listen" line commented out, and I use custom "Listen" lines in httpd.conf in the form of:
#Listen 80
Listen xx.xx.xx.xx:80
Listen yy.yy.yy.yy:80
Is that causing CPanel to get confused?
Here is the error log:
Code:Updating Apache configuration Updating Apache configuration Updating Apache configuration Distilled successfully !! Failed to utilized existing Apache configuration file. Resetting Apache configuration to default. !! Updating Apache configuration Updating Apache configuration Updating Apache configuration Updating Apache configuration Updating Apache configuration Distilled successfully !! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1204168157): Configuration problem detected on line 48 of file /usr/local/apache/conf/httpd.conf.1204168157: Port takes one argument, A TCP port number --- /usr/local/apache/conf/httpd.conf.1204168157 --- 42KeepAliveTimeout 15 43MinSpareServers 5 44MaxSpareServers 10 45StartServers 5 46MaxClients 150 47MaxRequestsPerChild 0 48 ===> Port <=== 49AccessFileName .htaccess 50UseCanonicalName On 51DefaultType text/plain 52HostnameLookups Off 53ErrorLog /usr/local/apache/logs/error_log 54LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined --- /usr/local/apache/conf/httpd.conf.1204168157 --- !! !! 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/initsslhttpd' !! !! Executing '/scripts/initfpsuexec' !! !! Executing '/scripts/initsslhttpd' !! !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1204167675' !!


LinkBack URL
About LinkBacks
Reply With Quote