我收到以下错误... 怎么办?
* Restarting 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
/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.
答案 0 :(得分:0)
要解决此问题,您需要设置ServerName。
vim /etc/apache2/conf.d/name
例如,set add ServerName localhost或任何其他名称:
ServerName localhost
重启Apache 2
service apache restart