S
S
Sergey Sokolov2016-04-10 13:18:00
linux
Sergey Sokolov, 2016-04-10 13:18:00

How to fix missing modules on CentOS 6.7?

The server at DigitalOcean is running CentOS 6.7. I'm trying to mount an nfs share on it and I get an error:

FATAL: Could not load /lib/modules/2.6.32-358.6.2.el6.x86_64/modules.dep: No such file or directory

In the /lib/modules folder there is:
2.6.32-358.14.1.el6.x86_64
2.6.32-358.18.1.el6.x86_64
2.6.32-431.23.3.el6.x86_64
2.6.32-431.29.2.el6.x86_64
2.6.32-573.18.1.el6.x86_64

uname -a gives
Linux DO-01.xxxx.io 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

How to fix modules to make nfs mount work?
Upd. it was decided simply by choosing the kernel version for which there are modules - 2.6.32-573.18.1.el6.x86_64. Choosing a kernel in DigitalOcean is done in the control panel.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2016-04-10
@fox_12

For example, did you try to make a symbolic link 2.6.32-358.18.1.el6.x86_64 -> 2.6.32-358.6.2.el6.x86_64?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question