尝试启动apache2时出错

尝试启动apache2时出错,apache2,Apache2,当我尝试启动apache2时,会收到以下消息 * Restarting web server apache2 ulimit: 88: error setting limit (Operation not permitted) ulimit: 88: error setting limit (Operation not permitted) (13)Permission denied: make_soc

当我尝试启动apache2时,会收到以下消息

* Restarting web server apache2                                                
ulimit: 88: error setting limit (Operation not permitted)
ulimit: 88: error setting limit (Operation not permitted)
(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.
[fail]

您的
80
端口可能已被占用。如果您有skype或其他可能使用80端口的软件,请将其关闭,然后重试。

请尝试以下操作:

sudo /etc/init.d/apache2 restart


你运行的是Windows还是Linux?你使用的是Ubuntu11.10来增加这个功能。如果您正在使用skype,您可以转到
skype选项
,单击
高级>连接
,然后取消选中
使用端口80和443作为传入连接的备选端口
su -
/etc/init.d/apache2 restart