Wednesday, July 20, 2011

Amazon HAPROXY haproxy[12490]: proxy test has no server available!

This happens when haproxy is trying to find a status file on the server mentioned in rightscale_lb.cfg
If there is no file it does not recognize the server and errors out

haproxy proxy test has no server available!




server srv3.0  ip-xx-xx-xx-xxx.ec2.internal:80 cookie srv03.0 check inter 2000 rise 2 fall 3


Fix
comment out the contents from cookie something like this and restart the server service haproxy restart
server srv3.0  ip-xx-xx-xx-xx.ec2.internal:80 
#cookie srv03.0 check inter 2000 rise 2 fall 3

No comments:

Post a Comment