The install is on a fresh install of Centos 7
During the install I see these errors
No package vixie-cron available. No package kvm available. No package kvm-qemu-img available. No package kvm-tools available.
/sbin/dracut: line 1003: /proc/modules: No such file or directory
Installing : 10:qemu-kvm-tools-1.5.3-60.el7_0.11.x86_64 /sbin/dracut: line 1003: /proc/modules: No such file or directory
No package kmod-kvm available.
Complete! Redirecting to /bin/systemctl start cgconfig.service Failed to issue method call: Unit cgconfig.service failed to load: No such file or directory. error reading information on service cgconfig: No such file or directory .. done
Activating KVM kernel module .. libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory Error: could not get list of modules: No such file or directory .. kernel module did not load successfully
Comments
Submitted by JamieCameron on Fri, 03/06/2015 - 15:38 Comment #1
The /proc/modules file being missing is rather surprising - is your system a physical machine, or a VM?
Submitted by siteXmedia on Fri, 03/06/2015 - 18:20 Comment #2
Thanks for the reply, yes it is a physical machine, but it is run with a custom kernel, which I can choose not to use. Webmin / Virtualmin has been installed on this server using the custom kernel without problems.
I can re install with the distribution Kernel and see what happens
Submitted by JamieCameron on Fri, 03/06/2015 - 19:45 Comment #3
Yeah, i'd recommend using the distro-provided kernel - otherwise kernel modules from packages are unlikely to work.
Submitted by siteXmedia on Fri, 03/06/2015 - 21:39 Comment #4
Hi, jamie, thanks for the help.
Does it work with Centos 7 "out of the box"?
I have re installed using the distribution Kernel and tried installing cloudmin via the script, but it did not happen.
I then re-installed and added
# Install epel / remi repositories
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7*.rpm epel-release-7*.rpm
# before instaling cloudmin
# It worked and I could log in, but saw
This system cannot be a KVM host : No bridge interfaces like br0 were found
Virtual systems cannot be created or added until this is fixed.
# I then re booted, for some reason I read it somewhere, and then logged in to see
One updated Virtualmin package is available. Use the Virtualmin Package Updates module to see all managed packages.
# But no package was showing as being available. Even so I clicked on the "Install Updates Now" to get
Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/libexec/webmin/server-manager /usr/libexec/webmin/ ..) at ./security-updates-lib.pl line 9.
BEGIN failed--compilation aborted at ./security-updates-lib.pl line 9.
Compilation failed in require at /usr/libexec/webmin/security-updates/update.cgi line 4.
...........................................................
I can install webmin / usermin on the server using the install script with the mod kernel ok
Submitted by siteXmedia on Sat, 03/07/2015 - 11:35 Comment #5
Ok so it seems to install ok on a Centos 6.6 configuration although I still see
No package kvm-qemu-img available.
No package kvm-tools available.
Submitted by JamieCameron on Sat, 03/07/2015 - 13:29 Comment #6
On CentOS 6, other than those missing packages, did the install complete OK?
Submitted by siteXmedia on Sat, 03/07/2015 - 15:57 Comment #7
Yes it seems to have
Submitted by JamieCameron on Sat, 03/07/2015 - 16:17 Comment #8
OK - I suspect that the reason the install didn't complete properly on CentOS 7 is that the name format for ethernet interfaces is different from CentOS 6, which confuses Cloudmin's bridge setup script.
Submitted by siteXmedia on Sat, 03/07/2015 - 19:36 Comment #9
Is this going to be rectified in the future release?
Is there a work around for now?
The main problem I saw with the Centos 7 install was it was looking for an update that was blank
Can I use it as is with a Centos 6.6 install but create containers using Centos 7?
Thanks
Russell
Submitted by JamieCameron on Sun, 03/08/2015 - 14:46 Comment #10
You can work around this when installing on CentOS 7 by adding the flag
--bridge-interface XXX
to the install command, which XXX is the name of the first Ethernet interface on your system.Submitted by siteXmedia on Sun, 03/08/2015 - 14:47 Comment #11
With a bit of playing about and after the xnth re install of Centos 7 / Cloudmin I now have
Cloudmin, Webmin & Usermin / Virtualmin all working (Ithink)
Thanks
Russell
Submitted by JamieCameron on Sun, 03/08/2015 - 18:06 Comment #12
Great - I will update the install docs to mention that this flag may be needed on CentOS 7.
Submitted by siteXmedia on Thu, 03/26/2015 - 07:36 Comment #13
I am trying to do a fresh install on a Centos 7 server and still getting these problems
1. Packages not available
No package vixie-cron available.
No package kvm-qemu-img available.
No package kvm-tools available.
No package kmod-kvm available.
But I do find the below installed
qemu-img
qemu-kvm
qemu-kvm-tools
2. Port not being opened
Opened ports 10000 843
.. failed
port 843 does not appear to be open
3. No cgconfig.service
Redirecting to /bin/systemctl start cgconfig.service
Failed to issue method call: Unit cgconfig.service failed to load: No such file or directory.
error reading information on service cgconfig: No such file or directory
.. done
4. security-updates
security-updates/postinstall.pl failed : Require security-updates/postinstall.pl failed : Died at (eval 35) line 1.
at web-lib-funcs.pl line 1397.
5. One updated Virtualmin package is available. Use the Virtualmin Package Updates module to see all managed packages.
Even though Virtualmin has not been installed and no package is actually showing to be updated, on clicking on the update I see
Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/libexec/webmin/server-manager /usr/libexec/webmin/ ..) at ./security-updates-lib.pl line 9.
BEGIN failed--compilation aborted at ./security-updates-lib.pl line 9.
Compilation failed in require at /usr/libexec/webmin/security-updates/index.cgi line 4.
On this page - /security-updates/index.cgi?mode=updates
# This is fixed after installing Virtualmin
Thanks
Submitted by andreychek on Thu, 03/26/2015 - 10:30 Comment #14
Thanks for the info! Some of those warnings/notices are okay.
Others we'd want to correct.
However, after the installer runs, does Cloudmin actually work on your CentOS 7 system? Or is the installation failing at some point?
Submitted by siteXmedia on Thu, 03/26/2015 - 12:27 Comment #15
It seems ok, but I am struggling to set up the bridge.
It would be best for me to get the main set up right before attempting to ctreate a kvm as this seems to keep going wrong.
I am just re installing the set up
Submitted by siteXmedia on Thu, 03/26/2015 - 18:00 Comment #16
Can you advise on what we would need to correct
Thanks
Submitted by JamieCameron on Thu, 03/26/2015 - 22:50 Comment #17
FYI, I am working on updates to the install script to better support CentOS 7. I will update this bug when they are done..
Submitted by siteXmedia on Fri, 03/27/2015 - 07:35 Comment #18
Ok thank you for your help
Submitted by JamieCameron on Sun, 03/29/2015 - 12:45 Comment #19
Ok, the install script has been updated to fix all these issues.
Submitted by siteXmedia on Mon, 03/30/2015 - 06:50 Comment #20
I have just done an install of Cloudmin on a fresh server and see the below
No package vixie-cron available. No package kvm available. No package kvm-qemu-img available. No package kvm-tools available. No package kmod-kvm available.
Redirecting to /bin/systemctl start cgconfig.service Failed to issue method call: Unit cgconfig.service failed to load: No such file or directory. error reading information on service cgconfig: No such file or directory .. done
Creates a new BIND DNS zone.
cloudmin setup-bind-zone --zone domain.name [--email address@host] [--master hostname] [--view name | --auto-view] .. failed
IPtables is not available .. failed
After installing virtualmin and logging in I see the below error
No Ethernet interface could be automatically found on your system. Use the module configuration page to set the interface manually.
is that normal?
Thanks
PS - After another fresh install
There were no bind errors and it showed
Creating network bridge .. Created bridge br0 connected to eth0 .. already active
And after a reboot there were no errors on logging in to Cloudmin
I will now attemp to "Create KVM Instance" after setting the system up according to the "How To"
Submitted by Issues on Mon, 04/13/2015 - 06:51 Comment #21
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by Issues on Mon, 04/13/2015 - 06:51 Comment #22
Automatically closed -- issue fixed for 2 weeks with no activity.