Erros ao tentar reiniciar o Apache

1

Ao tentar reiniciar o Apache (com: service apache2 restart ), recebo o seguinte erro:

/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

Quando tento reiniciar com outro comando ( sudo /etc/init.d/apache2 restart ), recebo o seguinte erro:

* 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

Eu já havia editado etc/apache2/httpd.conf com:

ServerName localhost

Para resolver a questão acima, mas parece que não funcionou.

Alguém pode me ajudar com isso?

    
por babbaggeii 08.04.2013 / 12:33

1 resposta

1

Eu vou ser ridicularizado do planeta. Eu estava recebendo esse erro também; Eu tinha esquecido o sudo todo importante de sudo service apache2 restart

    
por wruckie 25.02.2015 / 22:59