philyuchkoff / HAProxy-2-RPM-builder

Build latest HAProxy binary for CentOS/RHEL 6/7/8/9 with prometheus metrics support
GNU General Public License v3.0
61 stars 29 forks source link

systemctl start haproxy fails to start on new build 2.9.7 #29

Open murusaki187 opened 1 month ago

murusaki187 commented 1 month ago

After installing 2.9.7 cant run the below statement to start the service. This works as expected in version 2.8.2 [root@ha01 haproxy]# systemctl start haproxy Job for haproxy.service failed because the control process exited with error code. See "systemctl status haproxy.service" and "journalctl -xe" for details.

With 2.9.7 installed, it will start and run as expected [root@ha01 haproxy]# /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg [root@ha01 haproxy]# ps -ef |grep haproxy haproxy 3869371 1 0 16:10 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg root 3869461 3867322 0 16:10 pts/0 00:00:00 grep --color=auto haproxy

krzotr commented 1 month ago

Hi @murusaki187

I described the same issue in #28

thinkpoddr commented 1 month ago

see https://github.com/philyuchkoff/HAProxy-2-RPM-builder/issues/28#issuecomment-2115285497 for a solution, but ultimately, this should be worked into the repo.