简体   繁体   中英

Apache 2 error and phpmyadmin not working after installation on Ubuntu 14.04

I installed PHPMyAdmin via apt-get on my Ubuntu and I set the directory in apache2.conf, but when starting the server, nothing happens when http://127.0.0.1/phpmyadmin access and the following message appears I my console:

    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

This is my /etc/apache2/apache2.conf file:

http://pastebin.com/yafW00S6

you could type:

netstat -lnptu

in your terminal. Then look for a programm that is blocking the Port 80. This programm needs to be closed or must use another port :)

权限问题,请尝试使用root特权重新启动apache2:

sudo /etc/init.d/apache2 restart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM