12/05/2011

Error ServerName apache en Ubuntu

usuario@server:~$ 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

Para corregir el error "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" al reiniciar apache en Ubuntu tenemos que editar el fichero httpd.conf

sudo vim /etc/apache2/httpd.conf

Por lo general está vacío entonces agregamos "ServerName localhost" en la primera línea, guardamos y reiniciamos apache

sudo /etc/init.d/apache2 restart

Fuente
http://blog.miasoftware.net/?p=171

No hay comentarios.: