LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

can't bind to a port

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: can't bind to a port
From: ariston@xxxxxxxxxxxxxxxxxxxx
Date: Thu, 11 Nov 2004 16:07:49 -0800 (PST)
Hey all, 

I've installed ipvsadm, and compiled a custom 2.4.27 kernel with full virtual 
server support (as modules). Everything has gone smoothly except for when i try 
to create my first cluster. Basically i can add entries without error, but when 
i do a 'netstat -an' or 'lsof -i', I cant see the port open on the director:

lvshost# ipvsadm -C
lvshost# ipvsadm -A -t 192.168.128.172:80 
lvshost# ipvsadm -a -t 192.168.128.172:80 -r 192.168.128.163:80 -g
lvshost# ipvsadm -a -t 192.168.128.172:80 -r 192.168.128.173:80 -g
lvshost# ipvsadm  
IP Virtual Server version 1.0.11 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  maildev02:www wlc
  -> picco:www                    Route   1      0          0         
  -> lb1:www                      Route   1      0          0         
lvshost# lsof -ni
COMMAND PID USER   FD   TYPE DEVICE SIZE NODE NAME
sshd    270 root    3u  IPv4   2321       TCP 192.168.128.172:ssh (LISTEN)
sshd    287 root    4u  IPv4   2511       TCP 
192.168.128.172:ssh->192.168.128.185:51195 (ESTABLISHED)
sshd    345 root    4u  IPv4   8834       TCP 
192.168.128.172:ssh->192.168.128.185:51196 (ESTABLISHED)
lvshost# 
lvshost# lsmod
Module                  Size  Used by    Not tainted
ip_vs_wlc               1664   1  (autoclean)
ip_vs_rr                1664   0  (autoclean)
ip_vs                  64436   4  (autoclean) [ip_vs_wlc ip_vs_rr]
lvshost# 
(... and obvously:)
lvshost# telnet 192.168.128.172 80
Trying 192.168.128.172...
telnet: Unable to connect to remote host: Connection refused
lvshost# 

any ideas please let me know, 
thanks. 
~ariston


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