after installing the LVS management tool using the Yum install ipvsadm-y, it is found that the instruction Ipvsadm related instructions have been error:
Fatal:error inserting Ip_vs (/lib/modules/2.6.32-358.18.1.el6.x86_64/kernel/net/netfilter/ipvs/ip_vs.ko): Unknown Symbol in module, or unknown parameter (see DMESG) Can ' t initialize ipvs:protocol don't availableare you sure that IP Virtua L Server is built in the kernel or as module?
Search the Web for related documents, say that there is a template is not loaded, and then execute the loading module
Modprobe Ip_vs
But there is still an error, unable to load the module
At first I thought it was the module loading problem, but later noticed the following prompt see DMESG
Then start viewing the log, or follow the prompts to execute the DMESG
[Email protected] ~]# tail-n100/var/log/messages
Ip_vs:unknown symbol Ip6_local_out
Ip_vs:unknown symbol Ip6_route_me_harder
Ip_vs:unknown symbol IPV6_DEV_GET_SADDR
Ip_vs:unknown symbol Ip6_route_output
Ip_vs:unknown symbol Icmpv6_send
According to the prompt, does not turn on the IPv6 function
Look at the IP information, sure enough not to open IPv6
[[Email protected] ~]# IP A
Link/loopback 00:00:00:00:00:00 BRD 00:00:00:00:00:00
inet 127.0.0.1/8 Scope host Lo
2:eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU Qdisc pfifo_fast State up Qlen 1000
Link/ether 52:54:02:25:13:78 BRD FF:FF:FF:FF:FF:FF
inet 172.16.100.2/24 BRD 172.16.100.255 Scope Global eth0
inet 172.16.100.10/24 Scope Global secondary eth0
Modify IPv6 related configuration (I turned off the IPV6 function when I initialized it)
[Email protected] ~]# vim/etc/modprobe.d/modprobe.conf
Options IPv6 disable=1
Alias net-pf-10 off
Alias IPv6 off
Install Ipv6/bin/true
Device=eth0
Type=ethernet
Onboot=yes
Nm_controlled=no
Bootproto=static
ipaddr=192.168.60.63
netmask=255.255.255.0
gateway=192.168.60.1
dns1=168.95.1.1
dns2=8.8.8.8
Ipv6init=no
View IP information Again, there are IPv6 related information
[[email protected] ~]# IP a
1:lo: <LOOPBACK,UP,LOWER_UP> MTU 65536 qdisc noqueue State UNKNOWN
&NBSP;L Ink/loopback 00:00:00:00:00:00 BRD 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
ine T6:: 1/128 Scope host
Valid_lft forever Preferred_lft Forever
2:eth0: <broadcast,multicast ,up,lower_up> MTU Qdisc Pfifo_fast State up Qlen
link/ether 52:54:02:25:13:78 BRD ff:ff:ff:f F:FF:FF
inet 172.16.100.2/24 BRD 172.16.100.255 scope global eth0
inet 172.16.100.10/24 Scope Global secondary eth0
&NBSP;INET6 fe80::5054:2ff:fe25:1378/64 scope link
VALID_ LfT Forever Preferred_lft Forever
Performing IPVSADM Discovery service is normal
[Email protected] ~]# Ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot Localaddress:port Scheduler Flags
Remoteaddress:port Forward Weight activeconn inactconn
This may just be one of the causes of this problem, and here is a note, for your reference,
Please check log/var/log/messages and DMESG for troubleshooting
This article from "Trojan Rain Heart" blog, declined reprint!
Solve Fatal:error inserting Ip_vs ... Unknown symbol in module, or Unknown parameter