Re: Sven Hartge 2014-09-09 <540f1207.7000...@svenhartge.de>
> > Also the directory /var/lib/smokeping needs to be writable by www-data
> > to allow the data submitted by the slaves to be written to the RRD
> > files or you will get errors like this in the Apache error log:
> > 
> > smokeping.cgi [client 10.1.1.32]: Could not update 
> > /var/lib/smokeping//Remote/Campus_Remote/swXXX-remote-v1.smoke-slave.slave_cache,
> >  giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.
> 
> Correction: The permissions for /var/lib/smokeping are fine, but the
> default configuration is missing the "dyndir" directive causing the CGI
> trying to write into the datadir instead of the correct directory
> /var/lib/smokeping/__cgi.

I ran into this as well, it would be nice if the package got fixed.
The default /var/lib/smokeping/__cgi permissions need to be adjusted
as well:
drwxrwsr-x 4 smokeping www-data 4096 Okt 21 20:24 /var/lib/smokeping/__cgi

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to