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
sudo apt-get update
sudo apt-get 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?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there,
To answer the question re: the error you’re seeing, apache2 isn’t able to start as nginx is already listening on :80:
Since nginx is already listening, naturally apache2 isn’t going to be able to listen on the same port. If you continue on through the article, there will be the following set of commands:
The key here is to reload nginx/php5-fpm, and you should be able to see the phpmyadmin page from http://<YOURDROPLETIP>/phpmyadmin. You can also test this from inside your droplet using the following:
Which should yield something like:
Can you give that a shot and let me know what that yields for you?