[smokeping-users] New User and Trying to setup a Master/Slave topology

Gregory Sloop gregs at sloop.net
Tue Apr 16 01:52:01 CEST 2013


But you didn't list the file it's erroring on:
[Google_FR.ubuntu.slave_cache]

You just listed the RRD files.

What are the perms/owners on
/var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache

-Greg

NM> I think you were right Greg !
NM> [Tue Apr 16 00:29:43 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not lock /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache 
NM> (Permission denied). Trying again 2 more times.
NM> [Tue Apr 16 00:29:43 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not lock /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache 
NM> (Permission denied). Trying again 1 more times.
NM> [Tue Apr 16 00:29:43 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not update /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache, 
NM> giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.
NM> [Tue Apr 16 00:34:47 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not lock /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache 
NM> (Permission denied). Trying again 2 more times.
NM> [Tue Apr 16 00:34:47 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not lock /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache 
NM> (Permission denied). Trying again 1 more times.
NM> [Tue Apr 16 00:34:48 2013] smokeping.cgi [client 192.168.1.31]: Could 
NM> not update /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache, 
NM> giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.

NM> But the problem is that the permission are setup this way:


NM> root at ubuntu:/home/nml# ll /var/lib/smokeping//Local/
NM> total 4976
NM> drwxrwxr-x 2 smokeping smokeping    4096 Apr 15 23:37 ./
NM> drwxrwxr-x 5 smokeping smokeping    4096 Apr 10 22:38 ../
NM> -rw-rw-r-- 1 smokeping www-data  1688648 Apr 16 00:36 Google_FR.rrd
NM> -rw-rw-r-- 1 smokeping www-data  1688648 Apr 15 22:18 
NM> Google_FR~ubuntu.rrd
NM> -rw-rw-r-- 1 smokeping www-data  1688648 Apr 16 00:36 LocalMachine.rrd


NM> How can I resolve the issue ? :()



More information about the smokeping-users mailing list