Hi,

Today I cloned a server which is running haproxy 1.6 on a debian8 server
without problems.  However, for some reason the clone refuses to start
haproxy (IPs and hostname have been updated of course).

Probably I'm missing something simple, but I can't think what it is.  I
have very little experience with systemd, so am now at a loss as to what's
wrong. I'm hoping someone here might be able to suggest something...


Nov 16 15:25:50 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:50 xxxxx systemd[1]: haproxy.service: control process exited,
code=exited status=2
Nov 16 15:25:50 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:50 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:25:51 xxxxx sudo[3843]: pam_unix(sudo:session): session closed
for user root
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service holdoff time over,
scheduling restart.
Nov 16 15:25:51 xxxxx systemd[1]: Stopping HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service: control process exited,
code=exited status=2
Nov 16 15:25:51 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:51 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service holdoff time over,
scheduling restart.
Nov 16 15:25:51 xxxxx systemd[1]: Stopping HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service: control process exited,
code=exited status=2
Nov 16 15:25:51 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:51 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service holdoff time over,
scheduling restart.
Nov 16 15:25:51 xxxxx systemd[1]: Stopping HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service: control process exited,
code=exited status=2
Nov 16 15:25:51 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:51 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service holdoff time over,
scheduling restart.
Nov 16 15:25:51 xxxxx systemd[1]: Stopping HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:51 xxxxx systemd[1]: haproxy.service: control process exited,
code=exited status=2
Nov 16 15:25:51 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:51 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:25:52 xxxxx systemd[1]: haproxy.service holdoff time over,
scheduling restart.
Nov 16 15:25:52 xxxxx systemd[1]: Stopping HAProxy Load Balancer...
Nov 16 15:25:52 xxxxx systemd[1]: Starting HAProxy Load Balancer...
Nov 16 15:25:52 xxxxx systemd[1]: haproxy.service start request repeated
too quickly, refusing to start.
Nov 16 15:25:52 xxxxx systemd[1]: Failed to start HAProxy Load Balancer.
Nov 16 15:25:52 xxxxx systemd[1]: Unit haproxy.service entered failed state.
Nov 16 15:29:25 xxxxx systemd[1]: Starting Cleanup of Temporary
Directories...

If I try  /etc/init.d/haproxy start, then I get:


[....] Starting haproxy (via systemctl): haproxy.serviceJob for
haproxy.service failed. See 'systemctl status haproxy.service' and
'journalctl -xn' for details

journalctl -xn returns 'No journal files were found.'

 'systemctl status haproxy.service' returns:

 haproxy.service - HAProxy Load Balancer
   Loaded: loaded (/lib/systemd/system/haproxy.service; enabled)
   Active: failed (Result: start-limit) since Mon 2015-11-16 15:49:27 GMT;
1min 39s ago
     Docs: man:haproxy(1)
           file:/usr/share/doc/haproxy/configuration.txt.gz
  Process: 3751 ExecStartPre=/usr/local/sbin/haproxy -f ${CONFIG} -c -q
(code=exited, status=2)



Any ideas about where to go from here?

Thank you!

Reply via email to