These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Missing CLI on new Ubuntu 14.04 install on the new forum.
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?
Howdy,
Hmm, what is the output of these two commands:
ls -l /usr/sbin/virtualmin
dpkg -l webmin-virtual-server
ls -l /usr/sbin/virtualmin
ls: cannot access /usr/sbin/virtualmin: No such file or directory
dpkg -l webmin-virtual-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-==========================-==========================-=========================================================================================
ii webmin-virtual-server 5.01.gpl all Webmin module for 'Virtualmin Virtual Servers (GPL)'
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.
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 :-)