[英]Apache 2 error and phpmyadmin not working after installation on Ubuntu 14.04
我在Ubuntu上通过apt-get安装了PHPMyAdmin,并在apache2.conf中设置了目录,但是在启动服务器时,当http://127.0.0.1/phpmyadmin
访问并且控制台上出现以下消息时,没有任何反应:
juninho-desktop:~$ /etc/init.d/apache2 restart
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
这是我的/etc/apache2/apache2.conf文件:
您可以输入:
netstat -lnptu
在您的终端中。 然后查找阻塞端口80的程序。该程序需要关闭,或者必须使用其他端口:)
权限问题,请尝试使用root特权重新启动apache2:
sudo /etc/init.d/apache2 restart
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.