Não é possível reiniciar o servidor Apache

1

Eu escrevi código no terminal:

sudo service apache2 restart

E recebi a resposta:

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

Qual é esse erro?

    
por Jitendra Damor 12.06.2015 / 08:52

1 resposta

0

Para evitar que essa mensagem seja exibida, você deve informar que deseja veicular a partir do host local adicionando a seguinte linha ao seu arquivo /etc/apache2/apache2.conf :

sudo gedit /etc/apache2/apache2.conf

Em seguida, adicione a linha

ServerName localhost

Salve e saia e tente reiniciar:

sudo service apache2 restart
    
por Maythux 12.06.2015 / 08:53