I had the same issue
and decided to investigate. My error log looked like this:
ERROR: opening
'/var/lib/backuppc/log/pool.rrd': Permission denied:
/usr/share/backuppc/cgi-bin/index.cgi, referer: http://servername/backuppc/index.cgi
I found that I had to
give execute permissions to the folders above and read permissions
to "everyone" on the pool.rrd then the graph appeared. It would
seem that the CGI script is executing as "everyone" vs "backuppc
user"
Here are the minimal
permission changes I made to get things to work.
Changed BackupPC directory permission from: 2750 to 2751 -->
drwxr-s--x backuppc backuppc
Changed BackupPC/log
directory permission from: 750 to 751 --> drwxr-x--x
backuppc backuppc log
Changed BackupPC/log/pool.rrd
directory permission from: 640 to 754 --> -rwxr-xr--
backuppc backuppc pool.rrd
My server is blocked
from public access, so I was comfortable making this change. I
would be very happy to hear anyone's comments regarding what
type of security issue this may be -and if there is another way
to better way to solve this.
On 09/08/2016 01:23 AM, Orazio Di nino
wrote:
Hello
Alexander,
In the /var/lib/backuppc/log/pool.rrd
Apache2 log file is
an access denied error. I attach the file.
What can I do ?
Il 31/08/2016 20:16, Alexander
Moisseev ha scritto:
I've seen such an error before, but I don't remember what caused the problem. I think CGI returns something else instead of image. If you are lucky it might be an error message. Try to save this object as file and inspect its content.
--
TecnoSistemi S.r.l.
Servizi informatici per Aziende e Studi
Orazio Di nino
Viale della Repubblica, 70 c/o Sviluppo Italia - 67039 Sulmona (AQ)
( Tel: 800194055 +39 0864 2508313 +39 0864 578509 7 Fax: +39 0864 2508312
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/