@harporb wrote:
Running Centos 7
dev reshaproxy02.dev:root[/opt/haproxy-2.1.1]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)Upgraded HAPROXy from 1.5 to 2.1 and started having issue where the service wont start.
dev reshaproxy02.dev:root[/opt/haproxy-2.1.1]# systemctl status haproxy
● haproxy.service - HAProxy Load Balancer
Loaded: loaded (/usr/lib/systemd/system/haproxy.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2019-12-17 13:38:04 MST; 58min ago
Process: 102700 ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 102700 (code=exited, status=0/SUCCESS)Dec 17 13:38:04 reshaproxy02.dev.wdc1.wildblue.net systemd[1]: Started HAProxy Load Balancer.
Dec 17 13:38:04 reshaproxy02.dev.wdc1.wildblue.net haproxy-systemd-wrapper[102700]: haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds
Dec 17 13:38:04 reshaproxy02.dev.wdc1.wildblue.net haproxy-systemd-wrapper[102700]: haproxy-systemd-wrapper: exit, haproxy RC=0My upgrade procedure
tar -zxvf haproxy-2.1.1.tar.gz
cd haproxy-2.1.1
yum install gcc pcre-static pcre-devel openssl-devel -y
make TARGET=linux-glibc USE_OPENSSL=1 USE_PCRE=1 USE_ZLIB=1
make install
cp /usr/local/sbin/haproxy /usr/bin
systemctl enable haproxy.service
systemctl start haproxy
systemctl status haproxyIve checked a few links from other upgrades that were posted on this site but none seem to help.
Anyone have any pointers that may help me get this fixed?
Thanks in advance.
Posts: 2
Participants: 2