On 22/11/2016 09:43 πμ, Jürgen Haas wrote: > Hi all, > > we do run HaProxy on 4 different hosts, all of which got configured by > Ansible the same way and for 3 of them I don't have any issues. On one > of them - which runs on Ubuntu 16.04 and the others on older version - > starting HaProxy after reboot is failing. > > Browsing the journal I found the logs below where I can see that HaProxy > seems to be starting OK but then outputs some alerts. After that, there > is no other message about HaProxy, but the result is that the process is > running but HaProxy is not operating at all.
What do you mean by 'not operating at all'? Are you sure the IPs configured in frontends are available during boot? Can you share your config/version/systemd settings for haproxy? We do have to restart > HaProxy and then everything is OK. > > What could be causing this? > > Thanks > Jürgen > > > Nov 21 23:35:40 ggate1 systemd[1]: Started /etc/rc.local Compatibility. > Nov 21 23:35:40 ggate1 firewall[2618]: /etc/init.d/firewall: starting > firewall > Nov 21 23:35:40 ggate1 systemd[1]: netdata.service: PID file > /var/run/netdata.pid not readable (yet?) after start: No such file or > directory > Nov 21 23:35:40 ggate1 systemd[1]: Started HAProxy Load Balancer. > Nov 21 23:35:40 ggate1 systemd[1]: Started Linux real time system > monitoring, done right. > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: > haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f > /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -Ds > Nov 21 23:35:40 ggate1 firewall[2618]: iptables: No chain/target/match > by that name. > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > Nov 21 23:35:40 ggate1 haproxy-systemd-wrapper[2639]: [ALERT] 325/233540 > (2641) : sendmsg logger #1 failed: Operation not permitted (errno=1) > lines 417-468 > I haven't seen the above. Under which user do you run haproxy? Cheers, Pavlos
signature.asc
Description: OpenPGP digital signature

