modprobe FATAL Error inserting bonding

modprobe FATAL Error inserting bonding

modprobe FATAL Error inserting bonding

modprobe: FATAL: Error inserting bonding  (/lib/modules/2.6.18-194.17.1.el5/kernel/drivers/net/bonding/bonding.ko):  Unknown symbol in module, or unknown parameter

I figured this would be a good one to share with everybody.  We ended up doing this fix after routine maintenance, shutdown the server, powered it back on, and all of a sudden, the bond interface does not come back up! AAAHHHH! Have no fear, here’s the solution:

1) boot to single user mode by rebooting

CentOS boot screen: Press any key to enter the menu

hit a key at this screen

Pressing a key at the CentOS boot countdown to open GRUB

do a space and then the number one, and hit enter

GRUB kernel line edited to boot single-user mode

now we have booted in single user mode

CentOS booted into a single-user mode root shell

edit your modprobe.conf

Editing /etc/modprobe.conf in vi from single user mode to fix the bonding module FATAL error

this may also be here if an older config

Alternative path: vi /etc/modprobe.d/local.conf

the second line prob. looks like this:

Broken modprobe.conf: alias bond0 bonding plus install ipv6 /bin/false

change it to this:

Fixed modprobe.conf: alias bond0 bonding and options ipv6 disable=0

from here start your bond interface to make sure it works

service network restart bringing bond0 back up

fixed! now all we have to do is reboot and we are back in production (do not stay logged into single user mode, it’s not secure, and should only be used for maintenance.)

That’s it!

Hosted Linux servers at www.zwiegnet.com/go

Related guides: Redundant NIC Configuration (bond) CentOS | Configure Bond Interface Oracle Linux 6

Leave a Reply

Your email address will not be published. Required fields are marked *