On 31.08.2016 13:41, Orazio Di nino wrote:
> Hi there,
>
> I performed the following tests to verify problems with rrdtools
> $ su >># cd $LogDir >># rrdtool info pool.rrd >># rrdtool dump pool.rrd | more
> $ su # sh # cd $LogDir # rrdtool graph /tmp/image.png --imgformat=PNG 
> --start=end-4w --end=-300 --title="BackupPC Pool Size (4 weeks)" --base=1000 
> --height=100 --width=600 --alt-autoscale-max --lower-limit=0 
> --vertical-label="" --slope-mode --font TITLE:10:Times --font AXIS:8:Times 
> --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FFFFFF 
> DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in bytes" 
> GPRINT:a:LAST:"Current\\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" 
> GPRINT:a:MAX:"Maximum\\:%8.2lf %s\\n" I did the above and that worked just 
> fine...created a file called image.png and shows an empty graph. I read in 
> some post that CGI who should have permissions to read the file pool.rdd. But 
> how do I assign permissions ? thank you.
>

You didn't mention the problem you have.

Assuming you see image placeholders instead of empty graphs in the CGI:
1. Check current $LogDir and pool.rrd permissions with `ls -l` command. 
pool.rrd should be writable for backuppc user and readable for CGI user 
(commonly the same as backuppc user).
2. Modify the permissions appropriately using chown, chgrp, chmod.

In case you see empty graphs in the CGI after BackupPC installation - there is 
nothing to graph yet. Just wait for 2-3 days.

--
Alexander


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to