[CentOS] Thruk reports /var/tmp/live.sock: No such file or directory inspite of the file being present

Sat Nov 26 15:56:16 UTC 2016
Leonard den Ottolander <leonard at den.ottolander.nl>

Hello Kaushal,

On Fri, 2016-11-25 at 23:53 +0530, Kaushal Shriyan wrote:
> I am seeing this issue in *thruk.log prod: ERROR: failed to open socket
> /var/tmp/live.sock: No such file or directory*

> #ls -l /var/tmp/live.sock
> srw-rw---- 1 nagios nagios 0 Nov 25 18:12 /var/tmp/live.sock

> selinux is disabled.

I suppose the problem is the ownership of that file. Apache normally
runs as user apache group apache, neither of which can read that file.
chgrp the file or add apache to the nagios group or run that (virtual?)
http host with the nagios group or user.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research