martes, 11 de mayo de 2010

Como arreglar el mensaje de error : 'Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName'

Seguramente cuando intentaron reiniciar su servidor Apache desde la linea de comandos se encontraron con este error fastidioso.

Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName



no hay problema, sucede porque Apache no sabe cual es el nombre del servidor local (localhost)

basta con abrir el archivo: /etc/apache2/httpd.conf

entonces;

$ sudo kate /etc/apache2/httpd.conf

seguramente esta vacio, entonces agregar la siguiente linea:

ServerName localhost

guardar el archivo y reiniciar el servidor Apache2

$ sudo /etc/init.d/apache2 restart


listo ...
salu2

No hay comentarios:

Publicar un comentario