It might be there is still a process named haproxy, which does not killed and again restarted with command: service haproxy restart, you might alternate it with first kill the haproxy by command: #killall haproxy , and then use the above mentioned command (# service haproxy restart, and # service haproxy status).
If above formula doesnot work, then kill all process related haproxy [#killall haproxy], and start with #/sbin/haproxy -f /etc/haproxy/haproxy.cfg.
It shall work.
Hi,
had used ansible ocata for installation of new server in openstack
rest services are fine but haproxy fails to start
service haproxy status
● haproxy.service - HAProxy Load Balancer
Loaded: loaded (/lib/systemd/system/haproxy.service; enabled; vendor preset:
Active: inactive (dead) (Result: exit-code) since Tue 2018-01-30 22:48:54 PST
Docs: man:haproxy(1)
file:/usr/share/doc/haproxy/configuration.txt.gz
Process: 3756 ExecStartPre=/usr/sbin/haproxy -f ${CONFIG} -c -q (code=exited,
Jan 30 22:48:54 infra4 systemd[1]: haproxy.service: Control process exited, code
Jan 30 22:48:54 infra4 systemd[1]: Failed to start HAProxy Load Balancer.
Jan 30 22:48:54 infra4 systemd[1]: haproxy.service: Unit entered failed state.
Jan 30 22:48:54 infra4 systemd[1]: haproxy.service: Failed with result 'exit-cod
Jan 30 22:48:54 infra4 systemd[1]: haproxy.service: Service hold-off time over,
Jan 30 22:48:54 infra4 systemd[1]: Stopped HAProxy Load Balancer.
Jan 30 22:48:54 infra4 systemd[1]: haproxy.service: Start request repeated too q
Jan 30 22:48:54 infra4 systemd[1]: Failed to start HAProxy Load Balancer.
Jan 30 22:52:12 infra4 systemd[1]: haproxy.service: Unit cannot be reloaded beca
Jan 30 22:52:24 infra4 systemd[1]: Stopped HAProxy Load Balancer.
…have tried both methods still its not working