Ошибка Apache : httpd: Could not reliably determine the server’s fully qualified domain name

Установил Apache 2.0 …..  в процессе запуска выбивает ошибки и не стартует…….

bsd#/usr/local/etc/rc.d/apache22 start

Появляется сообщение об ошибке :

Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for bsd.onat.in.ua
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Starting apache22.
httpd: apr_sockaddr_info_get() failed for bsd.onat.in.ua
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22

Решение простое  : наш сервер не знает какой IP присвоить bsd.onat.in.ua….. поможем ему ……

Правим файл hosts :

bsd# ee /etc/hosts

::1 localhost localhost.bsd.onat.in.ua
127.0.0.1                 localhost localhost.bsd.onat.in.ua
172.16.51.167           bsd.onat.in.ua

Где 172.16.51.167  – адрес нашего сервера , bsd.onat.edu.ua – имя сервера (можно посмотреть командой hostname)

Запускаем :

bsd# /usr/local/etc/rc.d/apache22 start

Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.

Проверяем :

bsd# ps -ax | grep apache
2234 p1 S+ 0:00.00 grep apache

bsd# sockstat | grep :80
www      httpd      1283  3  tcp4   *:80                  *:*
www      httpd      1282  3  tcp4   *:80                  *:*
www      httpd      1281  3  tcp4   *:80                  *:*
www      httpd      1280  3  tcp4   *:80                  *:*
www      httpd      1279  3  tcp4   *:80                  *:*
www      httpd      1278  3  tcp4   *:80                  *:*
www      httpd      1277  3  tcp4   *:80                  *:*
root     httpd      1276  3  tcp4   *:80                  *:*

bsd# sockstat | grep httpd
www      httpd      1283  3  tcp4   *:80                  *:*
www      httpd      1282  3  tcp4   *:80                  *:*
www      httpd      1281  3  tcp4   *:80                  *:*
www      httpd      1280  3  tcp4   *:80                  *:*
www      httpd      1279  3  tcp4   *:80                  *:*
www      httpd      1278  3  tcp4   *:80                  *:*
www      httpd      1277  3  tcp4   *:80                  *:*
root     httpd      1276  3  tcp4   *:80                  *:*

Понравилось ? Поделись с другом:
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name
  • Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name

Ошибка Apache : httpd: Could not reliably determine the servers fully qualified domain name

Добавить в:
Bookmark and Share
Читать в Яндекс.Ленте
Если Вам понравилась статья, то Вы можете получать новые материалы по RSS (как читать RSS) или на e-mail:

Получать обновления:

Похожие материалы:

Оставить комментарий

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!:

Я не робот!
RSS Подписка:  →

Метки по темам


службы мониторинга серверов