Centos 7 Install

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

Status: 
Closed (fixed)

Comments

The /proc/modules file being missing is rather surprising - is your system a physical machine, or a VM?

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

Yeah, i'd recommend using the distro-provided kernel - otherwise kernel modules from packages are unlikely to work.

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

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.

On CentOS 6, other than those missing packages, did the install complete OK?

Yes it seems to have

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.

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

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.

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

Great - I will update the install docs to mention that this flag may be needed on CentOS 7.

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

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?

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

Can you advise on what we would need to correct

Thanks

FYI, I am working on updates to the install script to better support CentOS 7. I will update this bug when they are done..

Ok thank you for your help

Ok, the install script has been updated to fix all these issues.

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"

Automatically closed -- issue fixed for 2 weeks with no activity.

Automatically closed -- issue fixed for 2 weeks with no activity.