Cyrus St. Pierre wrote:
> I recently setup BackupPC 3.0.0 on a FC6 server.  Everything looks like it
> is running without error.  I initiated a Full Backup using the web
> interface on my target host.  
> 
> A clip from the /var/log/BackupPC/LOG:
> 
> 2007-03-05 14:35:35 full backup 2 complete, 471416 files,  bytes, 10
> xferErrs ( bad files,  bad shares, 10 other)
> 2007-03-05 14:35:35 removing full backup 1
> 
> 
> Everything looks great until I go to the web interface Host mytargethost
> Backup Summary page where I see no listed backups.  When I su to my
> backuppc user account and ls the /data/BackupPC/pc/mytargethost is has a
> directory "2" which seems to contain all the backed up data.  
> 
> bash-3.1$ ls -al
> total 4168
> drwxr-x---  3 backuppc backuppc    4096 Mar  5 14:44 .
> drwxr-x---  3 backuppc backuppc    4096 Mar  5 13:22 ..
> drwxr-x--- 12 backuppc backuppc    4096 Mar  5 14:35 2
> -rw-r-----  1 backuppc backuppc     128 Mar  5 14:44 backups
> -rw-r-----  1 backuppc backuppc     103 Mar  5 14:35 backups.old
> -rw-r-----  1 backuppc backuppc       0 Mar  5 11:02 LOCK
> -rw-r-----  1 backuppc backuppc    2793 Mar  5 14:35 LOG.032007
> -rw-r-----  1 backuppc backuppc 4237524 Mar  5 14:35 XferLOG.2.z
> 
> 
> The log file under the pc/mytargethost directory seems to be clean with no
> errors. In addition, I can not view the mytargethost log from the web
> interface (Error = "Can't open log file") 
> 
> My backuppc.conf apache conf file looks like:
> 
>    <Location /cgi-bin/BackupPC_Admin>
>         Setenv REMOTE_USER admin
>     </Location>
> 
> My config.pl has the following set:
> $Conf{CgiAdminUsers} = '*'
> 
> Any suggestions on why I can not see my backups from the web interface
> Backup Summary page?  The apache web user doesn't need access to read
> /data/BackupPC does it?

Normally the web server will be running as user apache and only able to 
read the backuppc area because the cg-bin program runs setuid:
-r-sr-xr-- 1 backuppc apache  3981 Feb  7 16:13 BackupPC_Admin
You need to have the perl-suidperl package installed for that to work 
and if you are running SElinux it adds another layer of permissions. 
I'm not sure how to fix it other than turning it off (which requires a 
reboot).

-- 
   Les Mikesell
    [EMAIL PROTECTED]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to