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

2018-10-23 Thread Imam Toufique
Thank you, Lukas and Brain! I came to HAproxy / web services world after a very long time :-) , you guys have been extremely helpful to me. :-) . and I sincerely appreciate it. On Tue, Oct 23, 2018 at 7:01 AM Lukas Tribus wrote: > Hello, > > On Tue, 23 Oct 2018 at 02:25, Imam Toufique

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

2018-10-23 Thread Lukas Tribus
Hello, On Tue, 23 Oct 2018 at 02:25, Imam Toufique wrote: > > 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! For the record: - you can find the systemd unit file, including a

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. > > > >

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

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

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

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' ?