这是尝试启动apache2的日志:
* Starting web server apache2
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
(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.
我刚开始运行自己的Apache。知道是什么导致了这次失败吗?
答案 0 :(得分:10)
使用sudo启动apache服务器,问题是由于权限:
sudo service apache2 start