LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: setsockopt failed when I run ipvsadm

To: Dong-Su Bak <advance@xxxxxxxxxxxx>
Subject: Re: setsockopt failed when I run ipvsadm
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 26 Sep 2000 12:15:56 +0000 (GMT)
        Hello,

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

        The sockopt values was changed in 0.0.5, it seems you are
not using ipvsadm 1.12

>  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/.
> ipvsadm is version 1.12,

        It works for me:

/lib/modules/2.4.0-test8/kernel/net/ipv4/
ipvsadm v1.12 2000/09/06 (compiled with getopt_long and IPVS v0.0.5)

        What shows ipvsadm -h ?

        Check your Makefiles:

SMPFLAGS

Add this to CFLAGS if needed:

-DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h

        Send me your .config


Regards

--
Julian Anastasov <ja@xxxxxx>



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