• 06-12-2018, 16:58:34
    #1
    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?
  • 06-12-2018, 17:10:21
    #2
    line 310 of /usr/local/apache/conf.d/vhosts-ssl.conf
    bu dosyada 310 nolu satırda sorun olduğu yazıyor. Bir incele
  • 06-12-2018, 17:11:15
    #3
    Özelden yazarsan kontrol etmeye çalışırım. CWP pek bilmem ama kontrol ederiz.
  • 06-12-2018, 17:24:25
    #4
    Allah belasını versin onun
  • 06-12-2018, 17:27:12
    #5
    Hocam port değiştirmeyi denediniz mi?
  • 06-12-2018, 20:53:39
    #6
    caliente adlı üyeden alıntı: mesajı görüntüle
    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?
    Sorun devam ediyorsa çözelim
  • 07-12-2018, 02:31:51
    #7
    caliente adlı üyeden alıntı: mesajı görüntüle
    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?
    Dec 6 14:55:23 server1 apachectl: AH00112: Warning: DocumentRoot [/home/xxx4/public_html] does not exist
    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:07
    #8
    cwpye 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:01
    #9
    aCadir adlı üyeden alıntı: mesajı görüntüle
    cwpye 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.
    Aynen, güncelleme yaptıktan sonra bu durumla cebelleştik. Sağolsun @PRGRUP; yardımcı oldu, kendisine tekrar teşekkür ederim.