cPanel/Cloudlinux ‘/scripts/rebuildhttpdconf’ Hatası
EA4 hizmetini yeniden yükleyerek, CloudLinux işletim sistemini kullanan cPanel sunucusunda / scripts / rebuildhttpdconf sırasında karşılaşılan aşağıdaki hata çözülebilir.
1 2 3 4 5 6 7 8 9 10 11 12 | 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.burtinet.com/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.burtinet.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 İçin;
1 2 | yum reinstall ea-apache24-config-runtime.noarch -y /scripts/rebuildhttpdconf |
Alternatif olarak, kurulu tüm EasyApache4 modüllerini yeniden yüklemek için aşağıdaki komutu çalıştırabilirsiniz:
1 2 | yum reinstall ea-apache* -y /scripts/rebuildhttpdconf |