Re: Contribution: change response line

2015-07-24 Thread thierry . fournier
Hello, I agree its not clear :) http-response is an HAProxy for modifying the response. I think that its a good idea to add 2 new keyword with this function like this: http-response set-code http-response set-reason (look in src/proto_http.c in the function parse_http_res_cond) With this

Re: health checks with SNI/virtual hosts

2015-07-24 Thread Shawn Heisey
On 7/23/2015 3:20 PM, Jim Gronowski wrote: I’m trying to do health checks on a site that is served with SNI – so going directly to the IP generates a 404 – the backend server is looking for the hostname to determine which site to send it to. Is it correct to put the full URL in the

Re: Problems compiling HAProxy with Lua Support

2015-07-24 Thread Baptiste
Hi Baptiste, can you apply the patch to current git master? Thanks! Bjoern Hi, Only Willy can do this :) I'm nothing else than a humble contributor. Baptiste

L’actualité hebdomadaire par RFI - Frontière serbo-hongroise, l'autre porte d’entrée...

2015-07-24 Thread RFI L'HEBDO
L’actualité hebdomadaire par RFI - 24/07/2015 Visualisez cet email dans votre navigateur http://rfi.nlfrancemm.com/HM?b=aKCE61I8hxyrJDr2Ge3PQ8WLH4LmGPB8eXkvM0ksdXeIZ4xaWim6YVn_S0-3sMl8c=LRwBvaHPBTfniUEXWrPDXg Frontière serbo-hongroise, l'autre porte d’entrée des migrants en Europe Pour les

RE: health checks with SNI/virtual hosts

2015-07-24 Thread Jim Gronowski
This works as expected. Thank you! -Original Message- From: Shawn Heisey [mailto:hapr...@elyograg.org] Sent: Friday, July 24, 2015 02:39 To: HAProxy Cc: Jim Gronowski Subject: Re: health checks with SNI/virtual hosts On 7/23/2015 3:20 PM, Jim Gronowski wrote: I’m trying to do health

Re: haproxy can't bind to mysql port

2015-07-24 Thread Tim Dunphy
Hi there Igor, How did you do that? By putting the haproxy's security group or the haproxy's ip to the mysql group inbound rule? Sorry but which non local IP is that? I put the external IP of the haproxy server into the security group on the mysql server. In this case the external IP

Re: haproxy can't bind to mysql port

2015-07-24 Thread Nenad Merdanovic
Hello Tim, On Fri, Jul 24, 2015 at 1:46 PM, Tim Dunphy bluethu...@gmail.com mailto:bluethu...@gmail.com wrote: listen mysql-cluster bind 127.0.0.1:3306 http://127.0.0.1:3306 mode tcp option mysql-check user haproxy_check

Re: haproxy can't bind to mysql port

2015-07-24 Thread Tim Dunphy
Hello Nenad, Jul 24 03:44:18 ha1 haproxy-systemd-wrapper[25034]: [ALERT] 204/034418 (25035) : *Starting proxy mysql-cluster: cannot bind s...:3306]* Nothing listening on the port I'm trying to bind to: 3306 [root@ha1:~] #ss -lpt | fgrep 3306 [root@ha1:~] #lsof -i :3306

Re: haproxy can't bind to mysql port

2015-07-24 Thread Gmail
Nice. Do you use selinux in prod. regards, ; Yuan On 07/25/2015 09:17 AM, Tim Dunphy wrote: Bingo!!! The problem was with SELinux. Not sure what took me so long to think of it...!!! So set the mysql listener back to port 3306. Turned off SELinux with setenforce 0. Then it started right up!!!

Re: haproxy can't bind to mysql port

2015-07-24 Thread Tim Dunphy
Hi Yuan, Nice. Do you use selinux in prod. regards, ; Yuan Yep! Actually I use it every chance I get. Prod/stage/dev and my own hobby environments. And right now actually what I was discussing was a hobby environment. And actually if I could bother you guys one more time, I do have one more

Re: haproxy can't bind to mysql port

2015-07-24 Thread Igor Cicimov
You need to run haproxy as root to bind to ports lower than 1024 On 25/07/2015 1:36 PM, Tim Dunphy bluethu...@gmail.com wrote: Hi Yuan, Nice. Do you use selinux in prod. regards, ; Yuan Yep! Actually I use it every chance I get. Prod/stage/dev and my own hobby environments. And right

Re: haproxy can't bind to mysql port

2015-07-24 Thread Gmail
maybe something here http://lnxmon.com/haproxy/ Thanks, ; Yuan On 07/25/2015 12:10 PM, Igor Cicimov wrote: You need to run haproxy as root to bind to ports lower than 1024 On 25/07/2015 1:36 PM, Tim Dunphy bluethu...@gmail.com wrote: Hi Yuan, Nice. Do you use selinux in prod. regards, ;

Re: haproxy can't bind to mysql port

2015-07-24 Thread Tim Dunphy
Bingo!!! The problem was with SELinux. Not sure what took me so long to think of it...!!! So set the mysql listener back to port 3306. Turned off SELinux with setenforce 0. Then it started right up!!! And port 3306 was listening. Then I consulted with audit2why and saw the following: type=AVC