Sunucumda kendi kendine apache ve nginx bozulmuş. Başlatmaya çalıştığımda ikisinde de şu hatayı veriyor
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
çıktısı da bu
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2021-10-04 15:10:27 EDT; 57s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 9032 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 9031 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 9031 (code=exited, status=1/FAILURE)
Oct 04 15:10:27 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Oct 04 15:10:27 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 04 15:10:27 localhost.localdomain kill[9032]: kill: cannot find process ""
Oct 04 15:10:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 04 15:10:27 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Oct 04 15:10:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Oct 04 15:10:27 localhost.localdomain systemd[1]: httpd.service failed.
Merhaba batukay,
journalctl -xe çıktısı eğer ekte belirttiğiniz gibi ise;
1- selinux kaynaklı olabilir,
2- apache conf yani httpd.conf ve/veya buna bağlı diğer conf veya VirtualHost yapılandırması kaynaklı olabilir,
3- mod_ssl kaynaklı olabilir,
4- 80, 443 portları ile ilgili fw yapılandırması kaynaklı olabilir,
5- Apache conf dosyası veya virtualhost dosyalarındaki hatalı ssl yapılandırma kaynaklı olabilir,
Bu işler teknik inceleme gerektirdiğinden en ideali sunucu hizmeti aldığınız yere bildirerek sorunu çözümletmeniz olacaktır.
İyi çalışmalar.