Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Hi Brain, That seems to have worked! Thanks!I did not know the wrapper was not needed. Let's see if it dies again ( hopefully not ) . Thanks again! On Mon, Oct 22, 2018 at 5:12 PM Gibson, Brian (IMS) wrote: > Ah you don’t need haproxy-systemd-wrapper with 1.8 branch. > > > > Her

RE: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Gibson, Brian (IMS)
Ah you don’t need haproxy-systemd-wrapper with 1.8 branch. Here is my systemd script I use, note I don’t install in the standard location so you will have to tweak it for your environment. [Unit] Description=HAProxy Load Balancer After=syslog.target network.target [Service] # You can point the

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
I recompiled with the SYSTEMD option. [root@crsplabnet2 ~]# haproxy -vv HA-Proxy version 1.8.14-52e4d43 2018/09/20 Copyright 2000-2018 Willy Tarreau Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fw

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Gibson, Brian (IMS)
I think you need to add USE_SYSTEMD=1 to your compile. Sent from Nine From: Imam Toufique Sent: Monday, October 22, 2018 7:49 PM To: Gibson, Brian (IMS) Cc: haproxy Subject: Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Also, to add to this -- I tried creating a haproxy.service file, like - /usr/lib/systemd/system/haproxy.service. and I added the contens below like this: [Unit] Description=HAProxy Load Balancer After=network.target [Service] ExecStartPre=/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -c -q ExecSt

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Thanks Brian, please see below: [root@crsplabnet2 sbin]# /usr/sbin/haproxy -vv HA-Proxy version 1.8.14-52e4d43 2018/09/20 Copyright 2000-2018 Willy Tarreau Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statem

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Gibson, Brian (IMS)
Can you reply with the output of haproxy -vv Need to know your compile options. Sent from Nine From: Imam Toufique Sent: Monday, October 22, 2018 7:45 PM To: haproxy Subject: HAproxy fails to start in CentOS with 'systemctl reload' ? Hi

HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Hi, I ran into this twice in last 2 days, where HAproxy fails to start in centOS 7.5. I compiled the latest stable from source and it did not have any startup scripts in the tarball that I downloaded. So, I broke up an older RPM file from fedora and used it /etc/init.d/haproxy script. It works f

Re: [ANNOUNCE] haproxy-1.9-dev4

2018-10-22 Thread Aleksandar Lazic
Hi. Am 21.10.2018 um 21:05 schrieb Willy Tarreau: > Hi, > > HAProxy 1.9-dev4 was released on 2018/10/21. It added 97 new commits > after version 1.9-dev3. New Docker Image available. https://hub.docker.com/r/me2digital/haproxy19/ ## HA-Proxy version 1.9-dev4 2018/10/21 Copyright 2000-2018 Will

Interesting "long FQDN" bug in HAproxy

2018-10-22 Thread Ingvar Mattsson
When HAProxy tries to set up a socket for a long hostname, it ends up with an error, as well as wiht a spurious socket left in /var/run. This seems to be due to a pathname trunctaion when copying the temporary pathname into the unix socket's "sun_path" (limited to 108 chars, on a couple of randoml

Re: [ANNOUNCE] haproxy-1.9-dev4

2018-10-22 Thread Willy Tarreau
Hi Pavlos! On Mon, Oct 22, 2018 at 11:01:37AM +0200, Pavlos Parissis wrote: > On 10/21/18 9:05 PM, Willy Tarreau wrote: > > Hi, > > > > HAProxy 1.9-dev4 was released on 2018/10/21. It added 97 new commits > > after version 1.9-dev3. > > > > There's not much user-visible here, it's mostly another

Re: [ANNOUNCE] haproxy-1.9-dev4

2018-10-22 Thread Pavlos Parissis
On 10/21/18 9:05 PM, Willy Tarreau wrote: > Hi, > > HAProxy 1.9-dev4 was released on 2018/10/21. It added 97 new commits > after version 1.9-dev3. > > There's not much user-visible here, it's mostly another merge of some > pending infrastructure changes. The most sensitive changes consist in > th