Welcome to Centmin Mod Community
Become a Member

Install libkmod: kmod_module_new_from_loaded:

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Oxide, Apr 9, 2016.

  1. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:08 AM
    I've now recieved this on both servers running CentOS 7.

    It happens when i execute ./centmin.sh


    Code:
    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
    Seems to happen on all my OVH Dedi's. Two from OVH, one from SoYouStart... VPS's seems fine.
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Oxide

    Oxide Active Member

    534
    29
    28
    Mar 19, 2015
    Ratings:
    +59
    Local Time:
    12:08 AM
  4. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    OVH/SoYouStart custom kernels may not be expected to behave same way as distro kernels so yes anything can happen. So reinstall OS with distro kernels is best.
     
  5. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    4:08 PM
    1
    10
  6. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice thanks for the heads up !
     
  7. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    4:08 PM
    1
    10
    ya, point to note, i have no idea what will happen or what grub will choose to do if someone chooses an invalid number from the list of kernels, for example i had 3 kernels, 1 being ovh, if i set the config to kernel 4, will it boot up after a restart? who knows, and for those that dont have provider based vnc access similar to what contabo provides then a reimage would be the only way to fix that after.
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's why you choose to use temp kernel change outlined at How to change default boot kernel permanently or temporarily on CentOS - Ask Xmodulo as on a 2nd reboot it goes back to previous kernel if the kernel you selected doesn't work.
     
  9. Jon Snow

    Jon Snow Active Member

    766
    157
    43
    Jun 30, 2017
    Ratings:
    +225
    Local Time:
    11:08 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I thought I chose one that didn't have OVH written anywhere but for some reason it says it's OVH when I check:
    Code:
    grep '^menuentry' /boot/grub2/grub.cfg
    menuentry "GNU/Linux with OVH Kernel, OVH kernel 4.9.87-xxxx-std-ipv6-64" {
    It's the only thing listed so I don't think I can switch, right?
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ;)

    or install original kernel when you setup server

    install-05.png

    but OVH Xeon Ds Install - Post your Centmin Mod 123.09beta01 install time stats are known to work only on OVH grs kernels as normal kernels might not have drivers Xeon D have. It's best not to pick OVH Xeon Ds for this reason. Maybe latest CentOS 7.4 distro original kernel as those drivers now though so worth a try.
     
  11. Jon Snow

    Jon Snow Active Member

    766
    157
    43
    Jun 30, 2017
    Ratings:
    +225
    Local Time:
    11:08 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    @eva2000 I read that and typed the command but it only returned one option. So I'm guessing it isn't available for the Xeon D server because that's the exact server I'm experiencing this on.

    I thought I had picked the original kernel when setting this up because I've heard so much about how you don't want to use OVH's own. Or maybe I had to download and upload something? I thought they gave you a list of options including their own.
     
  12. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    To get to the check box with install original kernel in screenshot above, you need to reinstall CentOS 7 via OVH manager. Probably the best way and if you have issues with network or disk drivers then you will no if the original CentOS kernel has issues with the Xeon D hardware. Or you can ask OVH tech support if latest CentOS 7 distro original linux kernel and provided image has the required driver support for Xeon D hardware.
     
  13. Jon Snow

    Jon Snow Active Member

    766
    157
    43
    Jun 30, 2017
    Ratings:
    +225
    Local Time:
    11:08 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I'm pretty certain I chose something like Centos 7.4-xxx - centos7. But SSH tells me I have OVH's own.
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,178
    12,112
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,647
    Local Time:
    12:08 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    First time in you use OVH CentOS 7 you don't get to select the original kernel until you do a reinstall of OVH where you go through the steps shown in screenshots below including checking the box that says use original kernel (step 4)

    install-01.png install-02.png install-03.png install-04.png install-05.png install-06.png
     
  15. Jon Snow

    Jon Snow Active Member

    766
    157
    43
    Jun 30, 2017
    Ratings:
    +225
    Local Time:
    11:08 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I did the reinstall originally. I was setting this up for a friend. He purchased the OVH server and it set him up with Centos 7. I did a reinstall and chose Centos 7.4-xxx - centos7 with what people have said about OVH in mind.

    It stuck me with their version according to SSH :/