Is there a way I could make 1.7.2 work in RHEL 7.2 ?

-----Original Message-----
From: Gunuganti, Uma Maheshwar Rao 
Sent: Thursday, February 09, 2017 9:35 AM
To: 'Brandon Perkins' <bperk...@redhat.com>
Cc: haproxy@formilux.org
Subject: RE: Haproxy reload fails on RHEL 7.2

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:bperk...@redhat.com]
Sent: Thursday, February 09, 2017 7:43 AM
To: Gunuganti, Uma Maheshwar Rao <ugunuga...@informatica.com>
Cc: haproxy@formilux.org
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" <ugunuga...@informatica.com>
> To: "haproxy@formilux.org" <haproxy@formilux.org>
> Subject: Haproxy reload fails on RHEL 7.2
> List-Id: Haproxy <haproxy@formilux.org>
> Content-Type: multipart/alternative;
>  boundary="_000_CY1PR03MB2267E796DBA293868A4D82ADD3420CY1PR03MB2267namp_"
> 
> 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

Reply via email to