I have a brand new server with Ubuntu 14.04, never used Virtualmin GPL on that before.
I follow the install instructions on https://www.virtualmin.com/download.html
But the virtualmin CLI script is either missing or in a directory on in my path.
# virtualmin restore-domain --source /root/backups/virtualmin.tar.gz --all-virtualmin
-bash: virtualmin: command not found
Any ideas?
Eric
April 5, 2016, 4:26pm
2
Howdy,
Hmm, what is the output of these two commands:
ls -l /usr/sbin/virtualmin
dpkg -l webmin-virtual-server
Eric
April 6, 2016, 2:10am
4
Wow, that’s really strange… the Virtualmin package is installed, but not all the files appear to be there.
Could you try running this command:
apt-get install --reinstall webmin-virtual-server
Afterwards, do you then see the “virtualmin” command?
-Eric
That was weird Eric, but it worked.
apt-get install --reinstall webmin-virtual-server
I didn’t think of that, I just ran install.sh several times without success.
Eric
April 6, 2016, 2:51pm
6
Great, glad to hear that helped!
Yeah the installer won’t reinstall packages. It just ensures that the ones it wants are installed.
Now, it is possible to uninstall Virtualmin with the installer… after which you could then try reinstalling it. But now that things are working I wouldn’t recommend that