Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vps:modprobe-fatal-count-not-load [2011-04-11 19:05:36]
garrett.plasky Approved
vps:modprobe-fatal-count-not-load [2011-08-10 20:52:07]
garrett.plasky Approved
Line 5: Line 5:
 To fix the warning on a RedHat-based server (RHEL, CentOS, Fedora Core), run the following commands: To fix the warning on a RedHat-based server (RHEL, CentOS, Fedora Core), run the following commands:
  
-<code console>sysctl -w kernel.modprobe="/bin/true" +<sxh shell>sysctl -w kernel.modprobe="/bin/true" 
-sysctl -w kernel.hotplug="/bin/true" </code>+sysctl -w kernel.hotplug="/bin/true"</sxh>
  
 Once you reboot the messages will come back, if you want this workaround to always be in place you should add those lines to /etc/rc.local so they are run at boot time.  Once you reboot the messages will come back, if you want this workaround to always be in place you should add those lines to /etc/rc.local so they are run at boot time. 
Line 17: Line 17:
 For Debian-based servers (Ubuntu included), use the following: For Debian-based servers (Ubuntu included), use the following:
  
-<code console>mkdir /lib/modules/`uname -r` +<sxh shell>mkdir /lib/modules/`uname -r` 
-depmod -a</code>+depmod -a</sxh>
  
 {{tag>vps kernel}} {{tag>vps kernel}}