On a hetzner VM running a "vanilla" debian 8.2 minimal I tried to install virtualmin through cloudmin - the server was added as a physical system with SSH - connection ok. This was the output from trying to install virtualmin:
Starting installation process .. .. installation started OK. Waiting for install to complete .................................................................................. ................................................................................ ................................................................................ ................................................................................ ................................................................................ .................................Opening firewall ports for Webmin .. .. IPtables firewall is not installed
.. failed : Virtualmin was not found, even though the install appeared to complete successfully.
Updating system status .. .. status successfully retrieved.
Comments
Submitted by JamieCameron on Tue, 01/19/2016 - 21:27 Comment #1
Can you post the contents of the
/root/virtualmin-install.log
file from the VM?Submitted by dyvel on Wed, 01/20/2016 - 03:42 Pro Licensee Comment #2
I can't as I did a reinstall, but tried again with a fresh vanilla debian 8.2 minimal. Only difference is, this time I set a qualified hostname before I installed through cloudmin. Seems to install fine this time, but I noticed that after the install was done, I don't get the normal "guide" to set up the system in virtualmin, and MySQL password was not set.
Tried to set it but got a: Failed to change administration password : DBI connect failed : Access denied for user 'root'@'localhost' (using password: NO) Tried again and then it worked.
It also complained about mailman: The mailman queue processor /var/lib/mailman/bin/qrunner is not running on your system. It can be started in the Bootup and Shutdown module.
Went in to features and plugins and disabled mailman, as I dont' use it. Now I got the "Post-Installation Wizard" showing up after I hit save.
Starting installation process .. .. installation started OK. Waiting for install to complete .................................................................................. ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ...............Opening firewall ports for Webmin .. .. IPtables firewall is not installed
.. installation completed successfully!
Updating system status .. .. status successfully retrieved.
Submitted by dyvel on Wed, 01/20/2016 - 05:07 Pro Licensee Comment #3
Now I found the "issue" - the install fails if hostname is an IP
This is the last lines when using IP as hostname:
Configuration file `/etc/spamassassin/sa-compile.pre', does not exist on system.
Installing new config file as you requested.
Running sa-compile (may take a long time)
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Processing triggers for systemd (215-17+deb8u2) ...
Processing triggers for dovecot-core (1:2.2.13-12~deb8u1) ...
Processing triggers for libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Errors were encountered while processing:
postfix
postfix-pcre
FATAL - 2016-01-20 11:47:07 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2016-01-20 11:47:07 - Cannot continue installation.
FATAL - 2016-01-20 11:47:07 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2016-01-20 11:47:07 - re-attempted after any problems have been resolved.
FATAL - 2016-01-20 11:47:08 - Removing temporary directory and files.
FATAL - 2016-01-20 11:47:08 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2016-01-20 11:47:08 - in /root/virtualmin-install.log
Submitted by JamieCameron on Wed, 01/20/2016 - 21:14 Comment #4
Ok, that's not surprising actually - many servers like Postfix need to work out your domain name from the hostname, which they can't do if it is an IP.