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
Last revision Both sides next revision
vps:modprobe-fatal-count-not-load [2010-05-20 17:44:05]
garrett.plasky
vps:modprobe-fatal-count-not-load [2011-08-10 20:51:57]
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 12: Line 12:
 Alternately, you can add the following lines to /etc/sysctl.conf: Alternately, you can add the following lines to /etc/sysctl.conf:
  
-<q>kernel.modprobe=1 +<sxh plain>kernel.modprobe=1 
-kernel.hotplug=1</q>+kernel.hotplug=1</sxh>
  
 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}}