Apache2无法启动,ulimit错误?

kyl*_*xel 5 apache apache2

这是尝试启动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.
Run Code Online (Sandbox Code Playgroud)

我是新手来运行我自己的Apache.知道是什么导致了这次失败吗?

Ank*_*kit 10

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

sudo service apache2 start
Run Code Online (Sandbox Code Playgroud)