无法重新启动 Apache

无法重新启动 Apache

我正在尝试安装 phpUnit 以便与 zend 框架协同工作。我一步一步地遵循了本教程点击此处查看教程

在第 9 步中,需要重新启动 Apache。重新启动后,我收到以下错误:

 /etc/init.d/apache2 restart
 * Restarting web server apache2                                                [Thu Dec 31 10:39:42 2009] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[Thu Dec 31 10:39:42 2009] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
(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
                                                                     [fail]

我不知道如何解决这个问题。有人能帮我吗?

答案1

尝试以 root 身份运行它,或者执行sudo /etc/init.d/apache2 restart

答案2

http://wiki.apache.org/httpd/CouldNotBindToAddress

此外,启动错误表明您的别名定义重叠,您应该修复这个问题。

相关内容