Apache başlatılamıyor, çıkan hata;
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Log detayları
Dec 6 14:55:23 server1 systemd: Starting Web server Apache...
Dec 6 14:55:23 server1 apachectl: AH00112: Warning: DocumentRoot [/home/xxx4/public_html] does not exist
Dec 6 14:55:23 server1 apachectl: AH00526: Syntax error on line 310 of /usr/local/apache/conf.d/vhosts-ssl.conf:
Dec 6 14:55:23 server1 apachectl: SSLCertificateFile: file '/etc/pki/tls/certs/domainadi.online.cert' does not exist or is empty
Dec 6 14:55:23 server1 systemd: httpd.service: control process exited, code=exited status=1
Dec 6 14:55:23 server1 systemd: Failed to start Web server Apache.
Dec 6 14:55:23 server1 systemd: Unit httpd.service entered failed state.
Dec 6 14:55:23 server1 systemd: httpd.service failed.
Sorunun çözümü nasıl olacaktır bilgisi olan varsa yardımcı olabilir mi?
Centos Web Panel hata alıyorum.
8
●724
- 06-12-2018, 20:53:39Sorun devam ediyorsa çözelimcaliente adlı üyeden alıntı: mesajı görüntüle
- 07-12-2018, 02:31:51Dec 6 14:55:23 server1 apachectl: AH00112: Warning: DocumentRoot [/home/xxx4/public_html] does not existcaliente adlı üyeden alıntı: mesajı görüntüle
xxx4 adında bir hesap varmış bunu silmişsiniz ama conf dosyasında bu hesaba ait kalıntılar webserverin başlamasını etkilemiş
Dec 6 14:55:23 server1 apachectl: AH00526: Syntax error on line 310 of /usr/local/apache/conf.d/vhosts-ssl.conf:
Dec 6 14:55:23 server1 apachectl: SSLCertificateFile: file '/etc/pki/tls/certs/domainadi.online.cert' does not exist or is empty
Bu iki satırda aynı şekilde silinen bir ssl sertifikasını çağırmaya çalışmış ama bulamadığı için hataya sürüklenmiş.
Çözüm :
xxx4 ve domainadi.online.cert ile ilgili kayıtları aşağıdaki dosyalardan silip systemctl restart httpd.service komutu uygulamak
/usr/local/apache/conf.d/vhosts-ssl.conf:
/usr/local/apache/conf.d/vhosts.conf:
Eğer kendiniz çözemezseniz pm ile root bilgisi iletin yardımcı olayım. - 07-12-2018, 03:01:07cwpye yeni php-fpm güncellemesi geldi. vhost yapısını da değiştirdi ve dosyalar da güncellendi. Sanırım ondan kaynaklı bir “apacheyi başlatamama” hatası alıyorsunuz. Yedek vhost ve vhost-ssl varsa elinizde onları geri atın ve apache restart edin. Yok ise (hata kodlarında belirtilen) ilgili dosyadaki ilgili satırdaki hatayı düzelmeniz gerekiyor.
- 07-12-2018, 05:01:01Aynen, güncelleme yaptıktan sonra bu durumla cebelleştik. Sağolsun @PRGRUP; yardımcı oldu, kendisine tekrar teşekkür ederim.aCadir adlı üyeden alıntı: mesajı görüntüle