Unable to Install Virtualmin on Ubuntu 20.04

I am trying to install Virtualmin on Ubuntu 20.04 using SSH Putty. My VPS is hosted on Digital Ocean!

I am using the following commands:

wget http://software.virtualmin.com/gpl/scripts/install.sh
sudo /bin/sh install.sh

I have successfully installed Virtualmin on another VPS using the same commands last week but now I am getting some errors: (screenshot is attached)

I would appreciate if anyone can help in solving these errors??


You are installing Virtualmin with the correct commands but you must install Virtualmin on a newly created server. The error with this particular install is being triggered due to an earlier failed attempt at installing Virtualmin on this server.

Ref - Warning: Virtual may already be installed…

You must re-instantiate the vps or reinstall the OS, then install Virtualmin. That should rid you of this problem.

@calport Thanks a lot man!

Your comment just saved me. Created a new VPS and its INSTALLED :slight_smile:


I have created the server successfully but during configuring Virtualmin, I got this error when I clicked “Recheck and refresh configuration”.

Error Details:
(2)No such file or directory: AH02291: Cannot access directory ‘/var/log/virtualmin/’ for error log of vhost defined at /etc/apache2/sites-enabled/mailSMTP-02.growthandmotivation.com.conf:1
AH00014: Configuration check failed
Action ‘configtest’ failed.
The Apache error log may have more information.

How to get over this?

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.