HATA
CloudLinux işletim sistemli cPanel sunucularda /scripts/rebuildhttpdconf sırasında yaşanan aşağıdaki hata, EA4’ün bir servisinin yeniden kurulmasıyla çözülüyor.
Initial configuration generation failed with the following message:
The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.4c2d0a9f.cfgcheck -C Include "https://cdn.hostingall.net/usr/local/apache/conf.modules.d/*.conf"” command (process 2723171) reported error number 1 when it ended. httpd_ls_bak: 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.4c2d0a9f Error: The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.4c2d0a9f.cfgcheck -C Include "https://cdn.domainhizmetleri.com/usr/local/apache/conf.modules.d/*.conf"” command (process 2723210) reported error number 1 when it ended. httpd_ls_bak: Syntax error in -C/-c directive: Include/IncludeOptional: Could not open directory /usr/local/apache/conf.modules.d: No such file or directory
ÇÖZÜM
yum reinstall ea-apache24-config-runtime.noarch -y
/scripts/rebuildhttpdconf
veya, tüm kurulu EasyApache4 modüllerini yeniden temiz haliyle kurmak için aşağıdaki komutu çalıştırabilirsiniz:
yum reinstall ea-apache* -y
/scripts/rebuildhttpdconf