zPanel Install Stuck at ‘Restarting web server apache2 … waiting …done’

zPanel installation sometimes get stuck at ‘Restarting web server apache2 … waiting …done’. While I can’t figure out the reason, I managed get pass it without making a mess. So if you’re on similar situation, this post will help you get pass it.

I was setting up a server for a client this morning when I encounter this. Everything was normal till the script tried to restart Apache2 server. And it seemed like Apache2 was successfully restarted. But it got stuck there for more than 15 minutes. The problem is that the installer didn’t get to the point where it gives me all the login details of the server including MySQL root password and password for zPanel control panel itself.

Since this happened just before the completion of the installation process, I was pretty sure that zPanel was successfully installed. So if I have a way to get those access details, I can avoid going through the whole process again. With few minutes of online research I found a way to get those logins without destroying server. Those passwords and logins are stored on a passwords.txt file on your server. So lets open it,

Log in to server as root and run following command,

nano passwords.txt

Within this file, you’ll find your zPanel admin password and MySQL root password. Now you can open your IP address on browser and login to zPanel with admin account zadmin and the password you found on the passwords.txt

Tharindu

Hey!! I'm Tharindu. I'm from Sri Lanka. I'm a part time freelancer and this is my blog where I write about everything I think might be useful to readers. If you read a tutorial here and want to hire me, contact me here.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button