Question

LEMP (One-click App) with Phpmyadmin ERROR, only since 3 days

I am autocreating droplets with the API to digitalocean but you can do it manually too. I just followed the tutorials and the error continues

  1. Create Droplet -> INSTALL LEMP on 14.04 One-click App in DO
  2. Create sudo user and login https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
  3. follow to install phpmyadmin https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-14-04-server
sudo apt-get update
sudo apt-get install phpmyadmin
  1. ERROR follows DURING Install phpmyadmin

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 (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: 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.

ALL DONE LIKE TUTORIAL. DID work this way last week, now not. Automated and working last week, so NO CODE errors.

Whats the issue?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

How long did you wait at this point? I just replicated the issue. These warnings are expected since you already have nginx installed and the phpmyadmin Ubuntu package lists apache as a prerequsite.

I noticed that when I went through the process the output paused at this point for about 30 seconds. It is also important that you do not let the installation process auto-configure apache, when prompted you should tab down and choose next without selecting either option.

PHPMyAdmin is not super hard to install from scratch and if you plan to use it without Apache on Ubuntu this might be a good option. Since it’s just a PHP application you should be able to create a new directory on your LEMP web root and download PHPMyAdmin from the official site.

Yet another option (and one I’ve used myself where I didn’t need to do a lot of direct administation of my database) is Adminer. It is similar to PHPMyAdmin but is implemented in just one file so you can drop it anywhere in your web root and browse to it. Log in using your existing MySQL credentials and you can manage your databases.