When trying to restart Apache (with: service apache2 restart
), I get the following error:
/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.
When I try to restart it with another command (sudo /etc/init.d/apache2 restart
), I get the following error:
* 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
I had previously edited etc/apache2/httpd.conf
with:
ServerName localhost
In order to resolve the above issue, but it seems not to have worked.
Can anyone help me out with this?
sudo service apache2 restart
, 2.The Apache error log may have more information.
, 3apache2: Could not reliably determine the server's fully qualified
is not a problem but a configuration issue (and has been answered before: askubuntu.com/questions/256013/… ) after this apache still is started./var/log
It will have an apache log there.docker
by any chance?