The “/usr/local/apache/bin/httpd -DSSL hatasının çözümü

SSH üzerinden apache rebuild işlemi için  /scripts/rebuildhttpdconf komutunu girdiğinizde aşağıdaki gibi bir hata alıyorsanız:

 

The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.eeee1023.cfgcheck -C Include "/usr/local/apache/conf.modules.d/*.conf"” command (process 13754) 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.eeee1023

Error:

The “/usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.work.eeee1023.cfgcheck -C Include "/usr/local/apache/conf.modules.d/*.conf"” command (process 13765) 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 yolu için apache2 yi yeniden kurmalıyız. Aşağıdaki komutları sırayla girelim

 

cd /etc/

mv apache2 apache2bk

yum reinstall ea-apache* -y

/scripts/rebuildhttpdconf

/scripts/restartsrv_httpd

  • 198 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

CENTOS 7 DE ROOT ŞİFRESİ DEĞİŞTİRME-RESETLEME

CENTOS 7 DE ROOT ŞİFRESİ NASIL DEĞİŞTİRİLİR? Centos 7 de root şifresini değiştirmek alışmış...

Almalinux screen yükleme

Almalinux 8 ve üzeri sürümlerde screen yüklemek için aşağıdaki komutları girmeniz yeterlidir....

Cloudlinux opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py hatasınin çözümü

Merhaba   Cloudlinux de alınan hata içeriğine göre çözümü şu şekildedir.     Hata: The...

Linux de tar.gz uzantılı tüm dosyaları yedek klasörüne taşıma

Merhaba   Sunucunuzda tüm yedek dosyaları farklı klasörler içinde ve bir araya toplamak zaman...

Linux Disk Performansı Nasıl Ölçülür ? (Performans Testi)

Linux Disk Performansı Nasıl Ölçülür ? [Detaylı Disk Performans Testi] Ubuntu, CentOS ve benzeri...