Failed to start the apache http server

Failed to start the apache http server

Запустил веб сервер apache2 на raspberry pi 3b (система Raspbian). По началу все работало нормально, но спустя 3 дня сайт перестал работать.

Apache2 показывает ошибку:

Если перезагрузить apache появляется следующее сообщение

journalctl -xe пишет:

Браузер показывает ошибку: ERR_CONNECTION_REFUSED

Сайт, который крутится на сервере: arian.ml

Заранее буду благодарен, если поможете решить проблему.

1 Answer 1

The reason Apache fails to start is because something is already listening on the port/ip combination. The log entries of "Address already in use" indicate this.

You need to identify what other service is running on those ports and then go and shut it off before turning on Apache.

However, since your log snippets ONLY are partial (and not from sudo systemctl -l status apache2 so we can see all the actual useful information in large form, or from /var/log/apache2/error.log directly), we can’t really point you at which application(s) to look at since we can’t determine the ports in use (my assumption is Port 80, in which case sudo ss -ntlp ‘sport = 80′ will get us a better idea of what is already listening on Port 80. Please replace ’80’ with whatever other port is actually in use according to the long log data, which is cut off in what you pasted here.)

protected by Community ♦ Oct 23 at 19:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Читайте также:  Billing payout request error

среда, 22 июля 2015 г.

Не стартует httpd в CentOS 7

Проблема проявилась в связке ISPmanager 5 Business и CentOS 7.

При попытке перезапуска httpd, выходит ошибка о том, что невозможно перезапустить сервис:
# service httpd status
Redirecting to /bin/systemctl status httpd.service
httpd.service — The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Sat 2015-07-18 09:45:40 MSK; 2min 12s ago
Process: 2471 ExecStop=/bin/kill -WINCH $
Process: 1401 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main P >
CGroup: /system.slice/httpd.service

Jul 18 09:45:40 localhost systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 18 09:45:40 localhost kill[2471]: kill: cannot find process ""
Jul 18 09:45:40 localhost systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 18 09:45:40 localhost systemd[1]: Failed to start The Apache HTTP Server.
Jul 18 09:45:40 localhost systemd[1]: Unit httpd.service entered failed state.

При этом в логах httpd ошибка такая:
# tail -f /var/log/httpd/error_log
AH00015: Unable to open logs

Ссылка на основную публикацию
Adblock detector