Description of problem: The default HAProxy configuration file prevents the service from starting. # journalctl -u haproxy -- Logs begin at Tue 2016-06-21 14:47:31 UTC, end at Tue 2016-06-21 15:01:10 UTC. -- Jun 21 15:01:10 f24.ius.io systemd[1]: Started HAProxy Load Balancer. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [ALERT] 172/150110 (2054) : parsing [/etc/haproxy/haproxy.cfg:67] : 'frontend' cannot handle unexpected argument '*:5000'. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [ALERT] 172/150110 (2054) : parsing [/etc/haproxy/haproxy.cfg:67] : please use the 'bind' keyword for listening addresses. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [ALERT] 172/150110 (2054) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [WARNING] 172/150110 (2054) : config : frontend 'main' has no 'bind' directive. Please declare it as a backend if this was intended. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [WARNING] 172/150110 (2054) : config : missing timeouts for frontend 'main'. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: | While not properly invalid, you will certainly encounter various problems Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: | with such a configuration. To fix this, please ensure that all following Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: | timeouts are set to a non-zero value: 'client', 'connect', 'server'. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: [ALERT] 172/150110 (2054) : Fatal errors found in configuration. Jun 21 15:01:10 f24.ius.io haproxy-systemd-wrapper[2052]: haproxy-systemd-wrapper: exit, haproxy RC=256 Version-Release number of selected component (if applicable): haproxy-1.6.5-3.fc24.x86_64 Steps to Reproduce: 1. dnf install haproxy 2. systemctl start haproxy.service
Created attachment 1170352 [details] fix syntax in haproxy.cfg
haproxy-1.6.7-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d7ef3cba5d
haproxy-1.6.7-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d7ef3cba5d
haproxy-1.6.7-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.