[smokeping-users] permission issue on file.slave_cache

Tijl Leenders tijl.leenders at gmail.com
Wed Jul 9 12:45:37 CEST 2014


Struggling with what is probably a permission issue.

 

https://www.mail-archive.com/smokeping-users@lists.oetiker.ch/msg05103.html
never got an answer but states my case.

 

Apache2/error.log says:

smokeping.cgi [client 192.168.1.46]: Could not lock
/var/lib/smokeping//Local/LocalMachine.debiantest.slave_cache (Permission
denied)

My slave (also in local network) is reporting all data is being sent OK as
well as receiving new config.

The // is not real nice but can't figure out where it originates - and Linux
ignores it?

 

I tried touching the file and setting smokeping:www-data permissions but it
then just disappears!

root at debian:/var/lib/smokeping/Local# ls -ual

total 5848

drwxr-xr-x 2 smokeping www-data    4096 Jul  9 11:39 .

drwxr-xr-x 5 smokeping www-data    4096 Jul  9 10:25 ..

-rw-r--r-- 1 smokeping www-data 2986672 Jul  9 10:25
LocalMachine~debiantest.rrd

-rw-r--r-- 1 smokeping www-data       0 Jul  9 11:39
LocalMachine.debiantest.slave_cache

-rw-r--r-- 1 smokeping www-data 2986672 Jul  9 11:37 LocalMachine.rrd

A few minutes later:

root at debian:/var/lib/smokeping/Local# ls -ual

total 5848

drwxr-xr-x 2 smokeping www-data    4096 Jul  9 11:50 .

drwxr-xr-x 5 smokeping www-data    4096 Jul  9 10:25 ..

-rw-r--r-- 1 smokeping www-data 2986672 Jul  9 10:25
LocalMachine~debiantest.rrd

-rw-r--r-- 1 smokeping www-data 2986672 Jul  9 12:21 LocalMachine.rrd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20140709/a34dc0af/attachment.htm 


More information about the smokeping-users mailing list