cPanel/CloudLinux “/scripts/rebuildhttpdconf” Hatası

ASP’de “A potentially dangerous Request” Hatası ve Çözümü
21 Ekim 2019

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 "/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 "/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

Bu makale size yardımcı oldu mu?

Kimler Neler Demiş?

avatar
  Subscribe  
Bildir
Show Buttons
Hide Buttons