Does Cloudmin need Virtualmin to function?

15 posts / 0 new
Last post
#1 Tue, 12/11/2012 - 01:45
yngens

Does Cloudmin need Virtualmin to function?

Trying Cloudmin for the first time, I had installed it on a fresh CentOS 6.3 system by running 'cloudmin-kvm-redhat-install.sh'. However, unfortunately, it was not available on https://host.mydomain.com:10000 As I understood Cloudmin installation script didn't install Apache, so no wonder webinterface was not available.

Then I proceeded to install Virtualmin by running its 'install.sh' script and only then I could login to https://host.mydomain.com:10000 Now I have all three: Virtualmin, Cloudmin, Webmin, which is fine by me and I know they can run together.

However my question is what is minimum requirements to get Cloudmin installed? I will not be creating virtual servers on the main server, so I don't really need Virtualmin, I only need Cloudmin on it. Is it at all possible to have only Cloudmin? Should've I had Apache preinstalled for this?

Tue, 12/11/2012 - 04:54
Locutus

The Cloudmin installer should have installed Webmin alongside with it. It does not need Apache; since it's a Webmin module, it uses Webmin's built-in mini webserver.

You might want to repeat the process and make sure that Webmin gets installed by the Cloudmin script, or check out what went wrong (by checking the install log e.g.) if it doesn't.

Tue, 12/11/2012 - 13:09 (Reply to #2)
yngens

Thanks for prompt reply. install.log file contains:

cat install.log
Installing libgcc-4.4.6-3.el6.x86_64
warning: libgcc-4.4.6-3.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Installing setup-2.8.14-13.el6.noarch
Installing filesystem-2.4.30-3.el6.x86_64
Installing basesystem-10.0-4.el6.noarch
Installing dhcp-common-4.1.1-25.P1.el6.x86_64
Installing ca-certificates-2010.63-3.el6_1.5.noarch
Installing ncurses-base-5.7-3.20090208.el6.x86_64
Installing kernel-firmware-2.6.32-220.el6.noarch
Installing tzdata-2011l-4.el6.noarch
Installing nss-softokn-freebl-3.12.9-11.el6.x86_64
Installing glibc-common-2.12-1.47.el6.x86_64
Installing glibc-2.12-1.47.el6.x86_64
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
Installing bash-4.1.2-8.el6.centos.x86_64
Installing libattr-2.4.44-7.el6.x86_64
Installing libcap-2.16-5.5.el6.x86_64
Installing zlib-1.2.3-27.el6.x86_64
Installing info-4.13a-8.el6.x86_64
Installing popt-1.13-7.el6.x86_64
Installing chkconfig-1.3.47-1.el6.x86_64
Installing libcom_err-1.41.12-11.el6.x86_64
Installing libacl-2.2.49-6.el6.x86_64
Installing nspr-4.8.8-3.el6.x86_64
Installing audit-libs-2.1.3-3.el6.x86_64
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
Installing db4-4.7.25-16.el6.x86_64
Installing readline-6.0-3.el6.x86_64
Installing libsepol-2.0.41-4.el6.x86_64
Installing libselinux-2.0.94-5.2.el6.x86_64
Installing gamin-0.1.10-9.el6.x86_64
Installing glib2-2.22.5-6.el6.x86_64
Installing sed-4.2.1-7.el6.x86_64
Installing shadow-utils-4.1.4.2-13.el6.x86_64
Installing nss-util-3.12.10-2.el6.x86_64
Installing gawk-3.1.7-6.el6.x86_64
Installing libuuid-2.17.2-12.4.el6.x86_64
Installing libblkid-2.17.2-12.4.el6.x86_64
Installing libstdc++-4.4.6-3.el6.x86_64
Installing libgpg-error-1.7-4.el6.x86_64
Installing dbus-libs-1.2.24-5.el6_1.x86_64
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
Installing libudev-147-2.40.el6.x86_64
Installing lua-5.1.4-4.1.el6.x86_64
Installing sqlite-3.6.20-1.el6.x86_64
Installing iptables-1.4.7-4.el6.x86_64
Installing iproute-2.6.32-17.el6.x86_64
Installing libidn-1.18-2.el6.x86_64
Installing file-libs-5.04-11.el6.x86_64
Installing elfutils-libelf-0.152-1.el6.x86_64
Installing libgcrypt-1.4.5-9.el6.x86_64
Installing pcre-7.8-3.1.el6.x86_64
Installing grep-2.6.3-2.el6.x86_64
Installing findutils-4.4.2-6.el6.x86_64
Installing net-tools-1.60-109.el6.x86_64
Installing libselinux-utils-2.0.94-5.2.el6.x86_64
Installing checkpolicy-2.0.22-1.el6.x86_64
Installing bzip2-1.0.5-7.el6_0.x86_64
Installing cpio-2.10-9.el6.x86_64
Installing pth-2.0.7-9.3.el6.x86_64
Installing sysvinit-tools-2.87-4.dsf.el6.x86_64
Installing expat-2.0.1-9.1.el6.x86_64
Installing libhbaapi-2.2-12.el6.x86_64
Installing dbus-glib-0.86-5.el6.x86_64
Installing iptables-ipv6-1.4.7-4.el6.x86_64
Installing nss-softokn-3.12.9-11.el6.x86_64
Installing libnih-1.0.1-7.el6.x86_64
Installing upstart-0.6.5-10.el6.x86_64
Installing gmp-4.3.1-7.el6.x86_64
Installing libusb-0.1.12-23.el6.x86_64
Installing libconfig-1.3.2-1.1.el6.x86_64
Installing grubby-7.0.15-2.el6.x86_64
Installing MAKEDEV-3.24-6.el6.x86_64
Installing libutempter-1.1.5-4.1.el6.x86_64
Installing psmisc-22.6-15.el6_0.1.x86_64
Installing tar-1.23-3.el6.x86_64
Installing procps-3.2.8-21.el6.x86_64
Installing cyrus-sasl-lib-2.1.23-13.el6.x86_64
Installing db4-utils-4.7.25-16.el6.x86_64
Installing e2fsprogs-libs-1.41.12-11.el6.x86_64
Installing libss-1.41.12-11.el6.x86_64
Installing pinentry-0.7.6-6.el6.x86_64
Installing binutils-2.20.51.0.2-5.28.el6.x86_64
Installing m4-1.4.13-5.el6.x86_64
Installing which-2.19-6.el6.x86_64
Installing diffutils-2.8.1-28.el6.x86_64
Installing libxml2-2.7.6-4.el6.x86_64
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
Installing ncurses-5.7-3.20090208.el6.x86_64
Installing groff-1.18.1.4-21.el6.x86_64
Installing less-436-10.el6.x86_64
Installing coreutils-libs-8.4-16.el6.x86_64
Installing gzip-1.3.12-18.el6.x86_64
Installing cracklib-2.8.16-4.el6.x86_64
Installing cracklib-dicts-2.8.16-4.el6.x86_64
Installing coreutils-8.4-16.el6.x86_64
Installing pam-1.1.1-10.el6.x86_64
Installing module-init-tools-3.9-17.el6.x86_64
Installing hwdata-0.233-7.6.el6.noarch
Installing redhat-logos-60.0.14-10.el6.centos.noarch
Installing plymouth-scripts-0.8.3-24.el6.centos.x86_64
Installing libpciaccess-0.12.1-1.el6.x86_64
Installing libhbalinux-1.0.12-1.el6.x86_64
Installing nss-3.12.10-16.el6.x86_64
Installing nss-sysinit-3.12.10-16.el6.x86_64
Installing openldap-2.4.23-20.el6.x86_64
Installing libuser-0.56.13-4.el6_0.1.x86_64
Installing logrotate-3.7.8-12.el6_0.1.x86_64
Installing gdbm-1.8.0-36.el6.x86_64
Installing mingetty-1.08-5.el6.x86_64
Installing keyutils-libs-1.4-3.el6.x86_64
Installing krb5-libs-1.9-22.el6.x86_64
Installing openssl-1.0.0-20.el6.x86_64
Installing libgssglue-0.1-11.el6.x86_64
Installing libtirpc-0.2.1-5.el6.x86_64
Installing rpcbind-0.2.0-8.el6.x86_64
Installing libssh2-1.2.2-7.el6_1.1.x86_64
Installing libcurl-7.19.7-26.el6_1.2.x86_64
Installing gnupg2-2.0.14-4.el6.x86_64
Installing gpgme-1.1.8-3.el6.x86_64
Installing curl-7.19.7-26.el6_1.2.x86_64
Installing rpm-libs-4.8.0-19.el6.x86_64
Installing rpm-4.8.0-19.el6.x86_64
Installing deltarpm-3.5-0.5.20090913git.el6.x86_64
Installing fipscheck-lib-1.2.0-7.el6.x86_64
Installing fipscheck-1.2.0-7.el6.x86_64
Installing pciutils-libs-3.1.4-11.el6.x86_64
Installing plymouth-core-libs-0.8.3-24.el6.centos.x86_64
Installing ethtool-2.6.33-0.3.el6.x86_64
Installing dash-0.5.5.1-3.1.el6.x86_64
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
Installing libffi-3.0.5-3.2.el6.x86_64
Installing python-libs-2.6.6-29.el6.x86_64
Installing python-2.6.6-29.el6.x86_64
Installing python-iniparse-0.3.1-2.1.el6.noarch
Installing python-pycurl-7.19.0-8.el6.x86_64
Installing python-urlgrabber-3.9.1-8.el6.noarch
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
Installing rpm-python-4.8.0-19.el6.x86_64
Installing yum-plugin-fastestmirror-1.1.30-10.el6.noarch
Installing yum-3.2.29-22.el6.centos.noarch
Installing slang-2.2.1-1.el6.x86_64
Installing newt-0.52.11-3.el6.x86_64
Installing newt-python-0.52.11-3.el6.x86_64
Installing ustr-1.0.4-9.1.el6.x86_64
Installing libsemanage-2.0.43-4.1.el6.x86_64
Installing bridge-utils-1.2-9.el6.x86_64
Installing libnl-1.1-14.el6.x86_64
Installing libevent-1.4.13-1.el6.x86_64
Installing libaio-0.3.107-10.el6.x86_64
Installing device-mapper-multipath-libs-0.4.9-46.el6.x86_64
Installing centos-release-6-2.el6.centos.7.x86_64
Installing iputils-20071127-16.el6.x86_64
Installing util-linux-ng-2.17.2-12.4.el6.x86_64
Installing initscripts-9.03.27-1.el6.centos.x86_64
Installing udev-147-2.40.el6.x86_64
Installing device-mapper-libs-1.02.66-6.el6.x86_64
Installing device-mapper-1.02.66-6.el6.x86_64
Installing device-mapper-event-libs-1.02.66-6.el6.x86_64
Installing policycoreutils-2.0.83-19.18.el6.x86_64
Installing openssh-5.3p1-70.el6.x86_64
Installing nfs-utils-lib-1.1.5-4.el6.x86_64
Installing nfs-utils-1.2.3-15.el6.x86_64
Installing selinux-policy-3.7.19-126.el6.noarch
Installing device-mapper-event-1.02.66-6.el6.x86_64
Installing lvm2-libs-2.02.87-6.el6.x86_64
Installing cryptsetup-luks-libs-1.2.0-6.el6.x86_64
Installing kpartx-0.4.9-46.el6.x86_64
Installing device-mapper-multipath-0.4.9-46.el6.x86_64
Installing dhclient-4.1.1-25.P1.el6.x86_64
Installing iscsi-initiator-utils-6.2.0.872-34.el6.x86_64
Installing kbd-misc-1.15-11.el6.noarch
Installing kbd-1.15-11.el6.x86_64
Installing libdrm-2.4.25-2.el6.x86_64
Installing plymouth-0.8.3-24.el6.centos.x86_64
Installing dracut-004-256.el6.noarch
Installing dracut-kernel-004-256.el6.noarch
Installing kernel-2.6.32-220.el6.x86_64
Installing lldpad-0.9.43-12.el6.x86_64
Installing fcoe-utils-1.0.20-5.el6.x86_64
Installing dracut-network-004-256.el6.noarch
Installing cryptsetup-luks-1.2.0-6.el6.x86_64
Installing lvm2-2.02.87-6.el6.x86_64
Installing selinux-policy-targeted-3.7.19-126.el6.noarch
Installing openssh-clients-5.3p1-70.el6.x86_64
Installing openssh-server-5.3p1-70.el6.x86_64
Installing aic94xx-firmware-30-2.el6.noarch
Installing bfa-firmware-3.0.0.0-1.el6.noarch
Installing mdadm-3.2.2-9.el6.x86_64
Installing rsyslog-4.6.2-12.el6.x86_64
Installing libcgroup-0.37-3.el6.x86_64
Installing authconfig-6.1.12-5.el6.x86_64
Installing yum-presto-0.6.2-1.el6.noarch
Installing grub-0.97-75.el6.x86_64
Installing system-config-firewall-base-1.2.27-5.el6.noarch
Installing efibootmgr-0.5.4-9.el6.x86_64
Installing passwd-0.77-4.el6.x86_64
Installing audit-2.1.3-3.el6.x86_64
Installing e2fsprogs-1.41.12-11.el6.x86_64
Installing xfsprogs-3.1.1-6.el6.x86_64
Installing vim-minimal-7.2.411-1.6.el6.x86_64
Installing acl-2.2.49-6.el6.x86_64
Installing attr-2.4.44-7.el6.x86_64
Installing ql2100-firmware-1.19.38-3.1.el6.noarch
Installing ql2500-firmware-5.06.02-1.el6.noarch
Installing ql2400-firmware-5.06.02-1.el6.noarch
Installing ql2200-firmware-2.02.08-3.1.el6.noarch
Installing rootfiles-8.1-6.1.el6.noarch
Installing ql23xx-firmware-3.03.27-3.1.el6.noarch
*** FINISHED INSTALLING PACKAGES ***

Unfortunately, the server is remotely located and it is a bit problematic for me to re-install it and since after installing Virtualmin everything works I am fine for now. However I just wanted to turn your attention to the fact that Cloudmin doesn't install on a fresh CentOS 6.3. For some reason Webmin's built-in mini webbrowser did not work in my case.

Wed, 12/12/2012 - 20:22
yngens

I went to my data-center, re-installed the whole system with cloudmin and again experienced the same problem. After some digging found out fresh CentOS blocks port 10000. After opening the port I was finally able to see the Cloudmin interface.

Thu, 12/13/2012 - 03:51
yngens

Now when I am with freshly installed Cloudmin without Virtualmin, I am hitting another problem.

I decided to devote a new domain name to Cloudmin server, so that all the VPSs would have automatically created DNS-records like: vps1.mydomain.com, anyshorthost.mydomain.com, etc.mydomain.com. In order to achieve this I have registered two private nameservers: ns1.mydomain.com and ns2.mydomain.com and updated the nameservers for the domain on my GoDaddy control panel.

This method would work on a Virtualmin server allowing to manage all the DNS records on the server itself, I just needed to add respective NS and A records for the two nameservers through Virtualmin's DNS editor for the domain name.

Now when I don't have Virtualmin, I went to Webmin - Servers - BIND DNS Server and clicked "Create master zone." and created a zone for my domain name mydomain.com, which contains:

$ttl 38400
@ IN SOA ns1.mydomain.com. info.mydomain.com. (
1355344362
10800
3600
604800
38400 )
@ IN NS ns1.mydomain.com.
@ IN NS ns2.mydomain.com.
www IN A xx.xx.xx.xxx
ns1 IN A xx.xx.xx.xxx
ns2 IN A xx.xx.xx.xxx

However, my ns1 and ns2.mydomain.com nameservers never start to ping. Besides, http://www.intodns.com complains about the following errors:

Mismatched NS records, Nameservers did not respond, Missing nameservers reported by your nameservers, Missing SOA record, Missing MX Records, Missing WWW A Record.

This kind of things were so easy to troubleshoot with Virtualmin, but I really do not need it on this server and don't want to install it only to get a single problem resolved. Is there any clear guidance on how to set DNS for a cloudmin server? I've read through http://www.virtualmin.com/documentation/cloudmin/vm/register, it doesn't help much since it works only if I use external namesevers and point my domain to the server through A-record and I want my server to take full care of DNS-records internally.

Thu, 12/13/2012 - 04:47
Locutus

It is a bit hard to debug this nameserver issue without knowing the actual domain names and IP addresses involved. Could you post those? Anything else would be more or less guesswork. :)

Thu, 12/13/2012 - 04:50 (Reply to #6)
yngens

I really do not want to post the domain and IP publicly. Can I send you an e-mail? To which address?

Thu, 12/13/2012 - 05:07
Locutus

Yep, you can email the details to locutus "AT" tianet "DOT" de. Please excuse the obfuscation, this is a public forum, and spammer crawlers are everywhere. ;)

(@Eric/Joe: This forum badly needs a PM function!)

Thu, 12/13/2012 - 18:36
yngens

Edit: This comment has been moved to http://www.virtualmin.com/node/24525

Thu, 12/13/2012 - 06:08
Locutus

Okay, the entries at the registrar look okay, nameserver entries work, glue is present. The IP of your server can be pinged and traced.

BIND on your server does not respond though. Since I'm getting a timeout, and not a REJECT, it is most likely that a router or firewall is blocking the packets.

You might want to check if BIND is running on your server and listening on port 53 on all IPs: netstat -upln | grep 53 should turn up results.

Check if a local firewall is blocking port 53: iptables -L -n

Otherwise check with your hoster if ports need to be opened.

Thu, 12/13/2012 - 06:19 (Reply to #10)
yngens

Hey Frank,

Thanks for your time. Nothing is blocking the port 53. I made sure it is open in firewall. I've just sent you an e-mail with access info, could you please take a look?

Thu, 12/13/2012 - 07:11
Locutus

I logged in to your Cloudmin, and checked the system named "ns1.yourdomain.tld". It looks like the eth0 interface does not have an IP address, and thus BIND is listening only on localhost.

You'd need to tell us/me more about your intended networking setup of the host and your virtual machines.

Unfortunately, my experience with Cloudmin is very limited (i.e. near zero :) ), so I can't really say how you assign IP addresses, configure routing or port forwarding and stuff. Eric would need to take over here if you can't figure it out yourself.

Thu, 12/13/2012 - 07:20
Locutus

Oh, never mind that. I executed the ifconfig in a "root shell" window, and the "br0" interface scrolled out of view. It seems like your external IP is assigned to a network interface named "br0" (a bridge?). As I said, my experience with KVM is about zero (I use VMware ESXi myself)... So I can't give much advice here.

You need to configure BIND to listen on all IP addresses, right now it's listening only on 127.0.0.1.

Thu, 12/13/2012 - 19:01 (Reply to #13)
yngens

Thank you very much for showing me right direction.

What is frustrating is that this was fresh Cloudmin install on a fresh CentOS 6.3 install. I did not make any changes, just following the Cloudmin manuals on this site and it was Cloudmin installation that replaced eth0 with br0. As I understood it needed to do so to make all guest VPSs to share network connection.

But now how can I make DNS records of my main domain to resolve?

Thu, 12/13/2012 - 19:26 (Reply to #14)
yngens

I have finally solved the problem by:

(1) replacing listen-on port 53 { 127.0.0.1; }; with listen-on { any; }; (2) commenting out allow-query     { localhost; };

in /etc/named.conf

and (3) restarting BIND.

I hope my experience described on this page will help someone else in the same situation.

Topic locked