Обычно, когда я вхожу в свою систему, апачи автоматически запускаются, и хорошо работает, сегодня нет.
Затем я пытаюсь запуститься service apache2 start
затем это отображает следующую ошибку.
* Starting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:8
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 127.0.0.1:8080
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
Какова могла быть проблема? Помогите мне решить это..
Перейдите к этому файлу/etc/apache2/apache2.conf и добавьте follwing Конец строк файла
ServerName localhost
, Это установит директиву сервера Глобально.