I think this is your problem, if using systemd please use either the wrapper with this systemd service : https://github.com/horms/haproxy/blob/master/contrib/systemd/haproxy.service.in
Or maybe this systemd service : [Unit] Description=HAProxy Load Balancer After=syslog.target network.target [Service] ExecStart=/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid ExecReload=/bin/kill -USR2 $MAINPID user=root group=root [Install] WantedBy=multi-user.target Aaron West Loadbalancer.org Limited +44 (0)330 380 1064 www.loadbalancer.org On 9 February 2017 at 17:34, Gunuganti, Uma Maheshwar Rao < [email protected]> wrote: > Hi Brandon, > > I don’t see any default haproxy on my VM, also I didn't find file at > /usr/lib/systemd/system/haproxy.service. > > I could see haproxy which I installed 1.7.2 at /etc/init.d/haproxy , > attached the same file changing the extension. > > Thanks, > UmaMahesh > > -----Original Message----- > From: Brandon Perkins [mailto:[email protected]] > Sent: Thursday, February 09, 2017 7:43 AM > To: Gunuganti, Uma Maheshwar Rao <[email protected]> > Cc: [email protected] > Subject: Re: Haproxy reload fails on RHEL 7.2 > > On Wed, Feb 08, 2017 at 11:39:37PM +0000, Gunuganti, Uma Maheshwar Rao > wrote: > > Date: Wed, 8 Feb 2017 23:39:37 +0000 > > From: "Gunuganti, Uma Maheshwar Rao" <[email protected]> > > To: "[email protected]" <[email protected]> > > Subject: Haproxy reload fails on RHEL 7.2 > > List-Id: Haproxy <[email protected]> > > Content-Type: multipart/alternative; > > boundary="_000_CY1PR03MB2267E796DBA293868A4D8 > 2ADD3420CY1PR03MB2267namp_" > > > > Hi, > > > > I am using haproxy 1.7.2 version and trying to use reload option which > is failing in my environment with RHEL 7.2 version, same works fine in RHEL > 6.8 version. > > > > Please find the logs below: > > > > Feb 8 23:38:19 localhost systemd: Reloaded SYSV: HA-Proxy is a TCP/HTTP > reverse proxy which is particularly suited for high availability > environments.. > > Feb 8 23:38:19 localhost systemd: haproxy.service: main process > > exited, code=killed, status=9/KILL Feb 8 23:38:19 localhost haproxy: > > Shutting down haproxy: [FAILED] Feb 8 23:38:19 localhost systemd: Unit > haproxy.service entered failed state. > > Feb 8 23:38:19 localhost systemd: haproxy.service failed. > > > > > > Thanks in advance for help. > > > > Thanks, > > UmaMahesh > > > > Could you please post your: > > /usr/lib/systemd/system/haproxy.service > > file. It appears that you're running your own version of HAProxy, as RHEL > 7.2 ships with haproxy-1.5.14-3.el7 and not 1.7.2. > > There are some significant differences between the upstream systemd > service file and the one we use in Fedora and RHEL, that may indicate where > the problem lies. > > -- > Thanks, > Brandon > >

