user2297392
user2297392

Reputation:

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

Upvotes: 0

Views: 2761

Answers (2)

haodemon
haodemon

Reputation: 106

Permission problems, try to restart apache2 using root priviliges:

sudo /etc/init.d/apache2 restart

Upvotes: 0

Jacob A.
Jacob A.

Reputation: 270

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 :)

Upvotes: 1

Related Questions