@hollanditkzn

Как исправить ошибку в apache2 на linux debian 9?

У меня стоит linux debian 9, но не получается перезагрзить apache2. Вот вся моя командная строка
root@debian:/home/ruslan# /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
 failed!
root@debian:/home/ruslan# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: 
   Active: failed (Result: exit-code) since Fri 2018-01-05 16:29:19 MSK; 1s ago
  Process: 1837 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU
      CPU: 32ms

янв 05 16:29:19 debian apachectl[1837]: (98)Address already in use: AH00072: mak
янв 05 16:29:19 debian apachectl[1837]: (98)Address already in use: AH00072: mak
янв 05 16:29:19 debian apachectl[1837]: no listening sockets available, shutting
янв 05 16:29:19 debian apachectl[1837]: AH00015: Unable to open logs
янв 05 16:29:19 debian apachectl[1837]: Action 'start' failed.
янв 05 16:29:19 debian apachectl[1837]: The Apache error log may have more infor
янв 05 16:29:19 debian systemd[1]: apache2.service: Control process exited, code
янв 05 16:29:19 debian systemd[1]: Failed to start The Apache HTTP Server.
янв 05 16:29:19 debian systemd[1]: apache2.service: Unit entered failed state.
янв 05 16:29:19 debian systemd[1]: apache2.service: Failed with result 'exit-cod

root@debian:/home/ruslan# apachectl configtest
Syntax OK

Что мне делать?
  • Вопрос задан
  • 742 просмотра
Решения вопроса 1
@Fixid Куратор тега Linux
Кто то занял порт.
Покажите netstat -nlp
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы