Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to install haproxy with tproxy. I followed this tutorial but I installed latest versions of kernel and iptables.

Version informations is below:

  • HA-Proxy version 1.4.17
  • iptables v1.4.9
  • Linux-3.0.4

Without the transparent mod, haproxy works fine. But it give error below when I try transparent mode and I see 503 error on the browser.

Cannot bind to tproxy source address before connect() for proxy lb1. Aborting.

Does anyone know what is that error mean and how to fix it? Thank you for any help...

share|improve this question
    
Do you mean Linux 3? I very much doubt it works on that. Use the latest 2.X –  user94205 Sep 9 '11 at 12:20
    
@Malcolm - please read our FAQ, this is a comment not an answer, don't use an answer to leave a comment, they just get converted or deleted. –  Chopper3 Sep 9 '11 at 12:27
    
@Malcolm thank you for your interest. May I ask you to give a specific kernel name which you compiled without tproxy patch and saw it worked? –  ibrahim Sep 9 '11 at 13:19

1 Answer 1

up vote 0 down vote accepted

Self answered by ibrahim in question:

As Malcolm said, it was about kernel. I compiled and install kernel-2.6.34 and it work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.