Quando estou correndo service apache2 start
recebo a resposta
* Starting web server apache2 /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 [::]:80
(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.
[fail]
Ao executar `netstat -tulpn| grep:80
Eu recebo a resposta.
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::80 :::* LISTEN
Como posso resolver isso?
Responder1
Você deve executar este comando com permissões de administrador. Chamar sudo service apache2 start
.
E se isso não ajudar. Vá em frente su
e após o login bem-sucedido execute seu comando. Deve funcionar desta vez.