cPanel

reconstruir problema httpdconf

Initial configuration generation failed with the following message:

The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.7f3ce1df.cfgcheck -C Include “/usr/local/apache/conf.modules.d/*.conf”” command (process 18108) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Include/IncludeOptional: Could not open directory /usr/local/apache/conf.modules.d: No such file or directory

Rebuilding configuration without any local modifications.

Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at /usr/local/apache/conf/httpd.conf.work.7f3ce1df
Error:
The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.7f3ce1df.cfgcheck -C Include “/usr/local/apache/conf.modules.d/*.conf”” command (process 18151) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Include/IncludeOptional: Could not open directory /usr/local/apache/conf.modules.d: No such file or directory

 

 

Solução para o problema é executar estes comandos abaixo:

rpm -e –nodeps –justdb ea-apache24-config-runtime.noarch
yum install ea-apache24-config-runtime.noarch

 234 Total visualizações,  1 Visualizações hoje

Artigos relacionados