Hi Vincent, On Wed, Feb 28, 2018 at 6:18 PM, Vincent Bernat <[email protected]> wrote:
> ❦ 28 février 2018 17:51 +1100, Igor Cicimov <igorc@encompasscorporation. > com> : > > >> > Actually spoke too soon, still have an issue. One of the servers > started > >> > logging there but then stopped and on the other the file is still > empty. > >> > >> Is the issue fixed just by restarting HAProxy or does it persist after > >> that? > > > > No restart didn't help still same. > > Those commands should help understand the situation better (you may have > to adapt them if pidof returns several PID). > > ls -l /var/lib/haproxy/dev/log > lsof -n -p $(pidof haproxy) | grep dev/log > lsof -n -p $(pidof rsyslogd) | grep haproxy/dev/log > -- > The surest protection against temptation is cowardice. > -- Mark Twain > The output of the commands: # ls -l /var/lib/haproxy/dev/log srw-rw-rw- 1 root root 0 Feb 28 16:06 /var/lib/haproxy/dev/log # lsof -n -p $(pidof haproxy) | grep dev/log # # pidof haproxy 10896 # lsof -n -p $(pidof rsyslogd) | grep haproxy/dev/log rsyslogd 4145 syslog 4u unix 0xffff88003c1be800 0t0 46202 /var/lib/haproxy/dev/log type=DGRAM Thanks,

