我应该在哪里加载 iptables 模块,例如 ip_conntrack 和 ip_conntrack_ftp。
我发现的地方可能是候选对象,但它们是吗?
我知道很多人在寻找 modprobe 时遇到问题,这主要是由于未配置的 $PATH。但是这次我登录了一台机器(Linux mymachine 2.6.32-6-pve #1 SMP Mon Jan 23 08:27:52 CET 2012 i686 GNU/Linux with root rights)并且根本没有找到 modprobe。这是我迄今为止采取的步骤:
- which modprobe => no results
- locate modprobe => no results
- my $PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:
- find / -name "modprobe*" => /proc/sys/kernel/modprobe
- cat /proc/sys/kernel/modprobe => /sbin/modprobe
- /sbin/modprobe => no such file or directory
Run Code Online (Sandbox Code Playgroud)
屁股你根本看不到modprobe。有没有其他人有建议/解决方案,以便我可以使用 modprobe?
install hfs /bin/true
据称禁用/etc/modprobe.d/hfs.conf hfs
为什么?看起来倒退了。
我试图阻止 ipmi 内核模块加载到具有运行 Ubuntu 14.04 的 SuperMicro X8DTG-D 主板的服务器上。我这样做的动机是,当我尝试重新启动机器时,模块有时似乎需要很长时间才能卸载。我的理解是,将以下内容放入 /etc/modprobe.d 中的文件中并重新生成启动时使用的 RAM 磁盘应该会阻止加载列出的模块;然而,即使我确认 RAM 磁盘中包含包含以下行的文件,但在机器启动时它们似乎仍然被加载:
alias ipmi_si off
alias ipmi_devintf off
alias ipmi_msghandler off
Run Code Online (Sandbox Code Playgroud)
关于如何禁用这些模块的加载有什么想法吗?
我需要在 LXC 容器内运行 WebDAV 服务器,但有人告诉我 modprobe 不可用(即使作为 root)。我已经看到这是开发人员要求的,但是我该如何解决呢?
在 Debian Squeeze 上运行。
这是我在主服务器上加载 dav2fs 后收到的消息:
Please enter the username to authenticate with server
http://10.102.42.101/owncloud/files/webdav.php or hit enter for none.
Username: lwapnitsky
Please enter the password to authenticate user lwapnitsky with server
http://10.102.42.101/owncloud/files/webdav.php or hit enter for none.
Password:
/sbin/mount.davfs: sh: 1: can't open fuse device
/sbin/modprobe: not found/sbin/mount.davfs:
trying coda kernel file system
sh: 1: /sbin/modprobe: not found
/sbin/mount.davfs: no free coda device to mount
Run Code Online (Sandbox Code Playgroud)