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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux