5

这是尝试启动 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 的新手。知道是什么导致了这个失败吗?

4

1 回答 1

10

使用 sudo 启动 apache 服务器,如果由于权限问题:

sudo service apache2 start
于 2013-04-10T05:04:00.693 回答