Trouble starting haproxy on Debian8 (systemd)

2015-11-16 Thread SL
Hi, Today I cloned a server which is running haproxy 1.6 on a debian8 server without problems. However, for some reason the clone refuses to start haproxy (IPs and hostname have been updated of course). Probably I'm missing something simple, but I can't think what it is. I have very little

Re: appsession replacement in 1.6

2015-11-16 Thread Sylvain Faivre
Hi Aleks, On 11/10/2015 10:56 PM, Aleksandar Lazic wrote: Dear Sylvain Faivre, Am 10-11-2015 12:48, schrieb Sylvain Faivre: On 11/10/2015 12:00 AM, Aleksandar Lazic wrote: Hi Sylvain Faivre. Am 09-11-2015 17:31, schrieb Sylvain Faivre: [snipp] So, I've got this so far : backend http

Re: Trouble starting haproxy on Debian8 (systemd)

2015-11-16 Thread SL
Hmm, it seems to be working again now - not sure what has changed, but will investigate. Thanks for the response, and sorry for wasting your time. On 16 November 2015 at 17:02, Marco Corte wrote: > Hi! > > Does haproxy start manually? Is it only a systemd issue? > > > Il

Re: Trouble starting haproxy on Debian8 (systemd)

2015-11-16 Thread Marco Corte
Hi! Does haproxy start manually? Is it only a systemd issue? Il 16/11/2015 16:51, SL ha scritto: systemctl status haproxy.service systemctl status haproxy.service -l .marcoc

Re: [LUA] statistics aggregation

2015-11-16 Thread Baptiste
On Mon, Nov 16, 2015 at 1:25 PM, Thierry FOURNIER wrote: > Hi list, > > There are first useful Lua scripts: > >http://www.arpalert.org/haproxy-scripts.html > > One of these allows the aggregation of the statistics of many HAProxy > instances. It permits to

simply copy mapped value into acl

2015-11-16 Thread Dennis Jacobfeuerborn
Hi, I'm trying to figure out the best way to match a source ip against an ip mapping file and make decisions based on that. What I'm now doing is this: acl acl_is_xx src,map_ip() -m str xx acl acl_is_yy src,map_ip() -m str yy http-request set-header X-Test wasxx if acl_is_xx ... http-request

[SPAM] Water Retaining Gel-Reduce Irrigation And Increase Yield

2015-11-16 Thread Simon
Good Day!Glad to know you replied to my message and I am writing this email to give you more details about our products.SOCO Water Gel--A amazing material absorbing water for plants!Advantages:–Improve seed germination and emergence to give plants an early, health start.–Save the irrigation,

[LUA] statistics aggregation

2015-11-16 Thread Thierry FOURNIER
Hi list, There are first useful Lua scripts: http://www.arpalert.org/haproxy-scripts.html One of these allows the aggregation of the statistics of many HAProxy instances. It permits to redistribute the data in CSV format via HTTP, or reuse the aggregated value throught sample fetches.

Re: [PATCH] MEDIUM: mailer: try sending a mail up to 3 times

2015-11-16 Thread Willy Tarreau
Hi Pieter, On Mon, Nov 16, 2015 at 07:14:33PM +0100, PiBa-NL wrote: > >>But i think thats not so much a problem, it does still make > >>me wonder a little what happens if a packet is lost in the middle of a > >>tcp connection, will it resend like a normal tcp connection? Its > >>difficult to test

Re: [PATCH] MEDIUM: mailer: try sending a mail up to 3 times

2015-11-16 Thread PiBa-NL
Hi Willy, Op 16-11-2015 om 7:20 schreef Willy Tarreau: Hi Pieter, On Mon, Nov 16, 2015 at 12:13:50AM +0100, PiBa-NL wrote: -but check->conn->flags & 0xFF is a bit of s guess from observing the flags when it could connect but the server did not respond properly.. is there a other better way?

Re: Trouble starting haproxy on Debian8 (systemd)

2015-11-16 Thread Vincent Bernat
❦ 16 novembre 2015 16:51 +0100, SL  : > Process: 3751 ExecStartPre=/usr/local/sbin/haproxy -f ${CONFIG} -c -q > (code=exited, status=2) Execute this command manually. This is the one checking if the configuration is correct. -- Every cloud engenders not a storm.

Re: appsession replacement in 1.6

2015-11-16 Thread Aleksandar Lazic
Hi Sylvain. Am 16-11-2015 17:06, schrieb Sylvain Faivre: Hi Aleks, On 11/10/2015 10:56 PM, Aleksandar Lazic wrote: Dear Sylvain Faivre, [snipp] This would be helpfully to see the full response. Maybe some appserver behaves different. As far as I know, there is no way for the server to

Re: HAProxy and backend on the same box

2015-11-16 Thread jaleel
Hello All, After having a look in iptables, I am able to solve this issue. added following line in iptables iptables -t mangle -A OUTPUT -s 192.168.20.10 -p tcp -j DIVERT thanks much, Regards, -Abdul Jaleel On Mon, Nov 16, 2015 at 3:31 PM, jaleel wrote: > Hello All,

Re: HAProxy and backend on the same box

2015-11-16 Thread jaleel
Hello All, Need help regarding the iptables For the packet coming from network, I set the iptables as following iptables -t mangle -N DIVERT iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT iptables -t mangle -A DIVERT -j MARK --set-mark 1 iptables -t mangle -A DIVERT -j ACCEPT ip