Hi Matt<br> <br>I would consider running netstat to ensure that some other process is not already bound to the port(80) <br><br>Also ( if you aren't doing so )  please consider  using  the "-v" verbose/debug  flag in the pulse startup script:<br><br>daemon pulse -v<br><br>and monitor /var/log/messages to see if  the underlying cause of <br>>> SIOCGIFADDR failed: Cannot assign requested address<br>is disclosed therein.<br><br>Sanjay Mahapatra<br><br><br><b><i>"Matthew J. Probst" <mprobst@verio.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi,<br>When I start pulse (either the rc script or from command line) I get a<br>SIOCGIFADDR failed error.<br><br>When I run pulse from the command line:<br>/usr/sbin/pulse -c /etc/sysconfig/ha/lvs.cf -n -v<br><br>Here's the output: (I've replaced the actual public VIP that I'm using<br>with <VIP>):<br><br>pulse:
 SIOCGIFADDR failed: Cannot assign requested address<br>pulse: SIOCGIFADDR failed: Cannot assign requested address<br>pulse: SIOCGIFADDR failed: Cannot assign requested address<br>pulse: STARTING PULSE AS MASTER<br>pulse: DEBUG -- setting SEND_heartbeat timer<br>pulse: DEBUG -- setting SEND_heartbeat timer<br>pulse: DEBUG -- setting SEND_heartbeat timer<br>pulse: DEBUG -- setting NEED_heartbeat timer<br>pulse: partner dead: activating lvs<br>lvs: starting virtual service wwwlb.mydomain.com active: 80<br>nanny: starting LVS client monitor for <VIP>:80<br>nanny: Send_program is NULL<br>nanny: Send_string len=38, text="GET http://www.mydomain.com/ HTTP/1.0<br><br>"<br>nanny: Expect_string len=15, text="HTTP/1.1 200 OK"<br>nanny: Service_type value=2<br>nanny: Opening TCP socket to remote service port 80...<br>nanny: Connecting socket to remote address...<br>nanny: DEBUG -- Posting CONNECT poll()<br>lvs: create_monitor for wwwlb.mydomain.com/ca1-web1 running as pid
 4141<br>pulse: DEBUG -- setting SEND_heartbeat timer<br>pulse: DEBUG -- Executing '/sbin/ifconfig bond0.2:0 <VIP> netmask<br>255.255.255.224 up'<br>nanny: Sending len=38, text="GET http://www.mydomain.com/ HTTP/1.0<br><br>"<br>nanny: DEBUG -- Posting READ poll()<br>pulse: DEBUG -- Executing '/usr/sbin/send_arp'<br>nanny: DEBUG -- READ poll() completed (1,1)<br>nanny: Posting READ I/O; expecting 15 character(s)...<br>nanny: DEBUG -- READ returned 15<br>nanny: READ expected len=15, text="HTTP/1.1 200 OK"<br>nanny: READ got len=15, text=HTTP/1.1 200 OK<br>nanny: avail: 1 active: 0: count: 3<br>nanny: making 10.3.1.3:80 available<br>pulse: gratuitous lvs arps finished<br>pulse: DEBUG -- setting SEND_heartbeat timer<br>nanny: Opening TCP socket to remote service port 80...<br>nanny: Connecting socket to remote address...<br>nanny: DEBUG -- Posting CONNECT poll()<br>nanny: Sending len=38, text="GET http://www.mydomain.com/ HTTP/1.0<br><br>"<br>nanny: DEBUG -- Posting READ
 poll()<br>nanny: DEBUG -- READ poll() completed (1,1)<br>nanny: Posting READ I/O; expecting 15 character(s)...<br>nanny: DEBUG -- READ returned 15<br>nanny: READ expected len=15, text="HTTP/1.1 200 OK"<br>nanny: READ got len=15, text=HTTP/1.1 200 OK<br>nanny: avail: 1 active: 1: count: 4<br><br><br>----<br><br>My kernel is: 2.6.18-8.1.14.el5 <br>I'm running piranha.x86_64 version 0.8.4-7.el5<br>I've trimmed down the lvs conf file to a minimum and I've turned off<br>SELinux.<br><br>Here's the lvs.cf file I'm using (replaced the public VIP with <VIP> and<br>the primary public ip of the director with <PRIM-PUB-IP>)<br><br><br>serial_no = 51<br>primary = <PRIM-PUB-IP><br>primary_private = 10.3.1.1<br>service = lvs<br>backup_active = 0<br>heartbeat = 0<br>heartbeat_port = 539<br>keepalive = 6<br>deadtime = 18<br>network = direct<br>debug_level = NONE<br>monitor_links = 0<br>virtual wwwlb.mydomain.com {<br>     active = 1<br>     address = <VIP> bond0.2:0<br>     vip_nmask =
 255.255.255.224<br>     port = 80<br>     send = "GET http://www.mydomain.com/ HTTP/1.0\r\n\r\n"<br>     expect = "HTTP/1.1 200 OK"<br>     use_regex = 0<br>     load_monitor = none<br>     scheduler = wlc<br>     protocol = tcp<br>     timeout = 6<br>     reentry = 15<br>     quiesce_server = 0<br>     server ca1-web1 {<br>         address = 10.3.1.3<br>         active = 1<br>         weight = 1<br>     }<br>}<br><br><br>---<br><br>Here are the relevant network interfaces:<br><br>bond0.2   Link encap:Ethernet  HWaddr 00:30:48:34:2C:D8 <br>          inet addr: <PRIM-PUB-IP>  Bcast:<PRIM-BCAST>  Mask:255.255.255.224<br>          inet6 addr: fe80::230:48ff:fe34:2cd8/64 Scope:Link<br>          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1<br>          RX packets:5990 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:4400 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0<br>          RX bytes:2363411 (2.2 MiB)  TX
 bytes:471985 (460.9 KiB)<br><br>bond0.3   Link encap:Ethernet  HWaddr 00:30:48:34:2C:D8 <br>          inet addr:10.3.1.1  Bcast:10.3.255.255  Mask:255.255.0.0<br>          inet6 addr: fe80::230:48ff:fe34:2cd8/64 Scope:Link<br>          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1<br>          RX packets:2707 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:3333 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:0<br>          RX bytes:369502 (360.8 KiB)  TX bytes:264616 (258.4 KiB)<br><br><br>------<br><br>I can tell that this error is coming from the getInterfaceAddress()<br>function in pulse.c, and I'm wondering if this has to do with the fact<br>that I'm using a vlan interface on top of a bonded link (bond0.2:0 being<br>the network interface name)?<br><br>Any suggestions/help would be greatly appreciated.<br><br>-matt<br><br>_______________________________________________<br>Piranha-list mailing
 list<br>Piranha-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/piranha-list<br></PRIM-BCAST></PRIM-PUB-IP></VIP></PRIM-PUB-IP></PRIM-PUB-IP></VIP></VIP></VIP></VIP></blockquote><br>