Що не так .. Я не можу запустити apache2? використовуючи команду: /etc/init.d/apache2 start


0
 * Starting web server apache2                                                  
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 * 
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

Ви читали файл журналу? Що він говорить?
Wayne_Yux

Відповіді:


2
Address already in use: AH00072: make_sock: could not bind to address [::]:80

Як випливає з помилки, тоді у вас вже є послуга прослуховування порту 80. Спробуйте:

service apache2 restart

Це може бути вже запущений апарат, тому ви можете спробувати перезапустити його. Якщо у вас все ще виникають проблеми, перевірте, чи немає у вашій системі інших процесів, які можуть використовувати порт 80.

Використовуючи наш веб-сайт, ви визнаєте, що прочитали та зрозуміли наші Політику щодо файлів cookie та Політику конфіденційності.
Licensed under cc by-sa 3.0 with attribution required.