Ubuntuda “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” hatasını çözmek

ubuntu-logo1

Sizlerde muhtemelen benim gibi aşağıdaki hata ile karşılaştınız.

evren@ubuntu:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
… waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

Sorunu çözmek için, httpd.conf dosyasını düzenlemeniz gerekiyor.

sudo gedit /etc/apache2/httpd.conf

yazıp dosya içerisine uygun bir yere

ServerName localhost

satırını ekleyip

sudo /etc/init.d/apache2 restart

komutu ile restart atabilirsini. Eğer httpd.conf u açtığınızda boş bir sayfa görüyosanız

sudo gedit /etc/apache2/apache2.conf

komutu ile dosyayı açıp, söylediğim satırı eklemeniz yeterli olacaktır.

Etiketler:, , , , , ,

Bir yorum to “Ubuntuda “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” hatasını çözmek”

  1. Serhat 14 Kasım 2012 de 06:48 #

    Çok teÅŸekkürler iÅŸime yaradı…

Bir Cevap Yazın