美文网首页
modprobe: ERROR: ../libkmod/libk

modprobe: ERROR: ../libkmod/libk

作者: 日垒一砖 | 来源:发表于2022-05-10 22:08 被阅读0次

现象

执行modprobe iptable_nat加载内核模块失败,报错信息如下:

modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='none'
modprobe: ERROR: could not insert 'none': Unknown symbol in module, or unknown parameter (see dmesg)

原因

/etc/modprobe.d/目录下存在自定义配置文件/etc/modprobe.d/xxx.conf
该配置文件中存在配置项blacklist iptable_nat,禁用了内核模块

措施

注释 或 删除 /etc/modprobe.d/xxx.conf 配置文件中的禁用模块配置项blacklist iptable_nat

参考资料

相关文章

网友评论

      本文标题:modprobe: ERROR: ../libkmod/libk

      本文链接:https://www.haomeiwen.com/subject/vypjurtx.html