LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: setsockopt failed when I run ipvsadm

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: setsockopt failed when I run ipvsadm
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Dong-Su Bak <advance@xxxxxxxxxxxx>
Date: Tue, 26 Sep 2000 14:49:14 +0900
On Tue, 26 Sep 2000, Julian Anastasov wrote:
> On Tue, 26 Sep 2000, Dong-Su Bak wrote:
> 
> > I've successfully compiled ipvs 0.0.5 for kernel 2.4.0-test8,
> > and loaded some ipvs modules. Thank you for help in this list.
> >
> > However, I cannot do administration by ipvsadm.
> >
> >  # ipvsadm -A -t 192.168.1.100:80 -s rr
> >  setsockopt failed: No such file or directory
> >  Scheduler not found: ip_vs_rr.o
> >
> > But I have ip_vs_rr.o in 
> > /lib/modules/2.4.0-test8/kernel/net/ipv4/netfilter/.
> 
>       With /lib/modules/2.4.0-test7/kernel/net/ipv4/ and
> modutils 2.3.15 it works. What is the modutils version? The problem can
> be the sockopt values already used from other netfilter modules.

Modutils was 2.3.14.
But even after I upgraded to 2.3.16, the same error occurred.

I also try to unload all the netfilter modules before loading ip_vs*.o,
but the same error still occurred.

> 
> > ipvsadm is version 1.12,
> > and properly compiled with ipvs 0.0.5 and kernel test8.
> >
> > Current module list is like this:
> >
> >  # lsmod
> >  Module                  Size  Used by
> >  ip_vs_rr                1016   0  (unused)
> >  ip_vs_sched             2528   1  [ip_vs_rr]
> >  ip_vs                  46688   0
> >  iptable_nat            12896   0  (unused)
> >  ip_conntrack           13372   1  [iptable_nat]
> 
>       LVS does not work with ip_conntrack and iptable_nat. Bad
> news :( The good news is that it works with ipchains.o
> 
> >  iptable_filter          1920   0  (unused)
> >  ip_tables              10744   4  [iptable_nat iptable_filter]
> >  ne2k-pci                4724   1  (autoclean)
> >  8390                    6328   0  (autoclean) [ne2k-pci]
> >  vfat                   11660   0  (unused)
> >  fat                    32384   0  [vfat]
> >
> >
> > What is my problem?

I'm suffering headache... please help me.
 

-- 
  Dong-Su Bak <mailto:advance@xxxxxxxxx>
  GnuPG Fingerprint : B68C C6FC 6C02 382D E995  8E55 1004 1DD5 6F4C 0313
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GE d- s:-- a-- C+++ U++ P+ L++ E--- W++ N++ o-- K? w-- O-- M- V? PS++
PE-(--) Y+>++ PGP++>+++ t? 5? X R tv-> b+ DI? D-(--) G e+ h- r+ y--
------END GEEK CODE BLOCK------


<Prev in Thread] Current Thread [Next in Thread>