BackupPC-users

Re: [BackupPC-users] Backups seem to work, but don't show up in web

2008-08-09 12:46:38
Subject: Re: [BackupPC-users] Backups seem to work, but don't show up in web
From: "Alan McKay" <alan.mckay AT gmail DOT com>
To: backuppc-users <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 9 Aug 2008 12:46:32 -0400
Danke Holger - ist doch net von Dir!

> is your ls binary having a seriously bad day, or do I really see 101
> *giga*bytes of compressed XferLOG? I don't think I can recommend looking at
> that via the web interface ...
> What does 'du -s /d/BACKUPPC/pc/alanpc/0' give you?

[root@localhost ~]# du -s /d/BACKUPPC/pc/alanpc/0
47177952        /d/BACKUPPC/pc/alanpc/0
[root@localhost ~]# du -sh /d/BACKUPPC/pc/alanpc/0
45G     /d/BACKUPPC/pc/alanpc/0

> Permission problem (i.e. web server/CGI script not running as backuppc)?

I have the user set to backuppc and group apache in the apache config file :
[root@localhost ~]# ps -ef | grep httpd
root     17753     1  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17755 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17756 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17757 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17758 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17759 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17760 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17761 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
backuppc 17762 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
root     18304 13341  0 12:44 pts/1    00:00:00 grep httpd

> Well, I can't see anything wrong in them either. Perhaps you missed including
> them?

The only other thing is the config file put there by the RPM.   The
2nd <Directory> tag you see here is one I added to try to fix the
problem

[root@localhost ~]# more /etc/httpd/conf.d/BackupPC.conf
<Directory       /usr/share/BackupPC/sbin/>
# BackupPC requires valid authentication in order for the web interface to
# function properly.  One can view the web interface without authentication
# though all functionality is disabled.
#
# htpasswd -c /etc/BackupPC/apache.users yourusername
#

order deny,allow
deny from all
allow from 127.0.0.1
allow from 172.30.99.112
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC

require valid-user

</Directory>
<Directory /d/BACKUPPC/>
order allow,deny
allow from all
</Directory>


Alias           /BackupPC/images        /usr/share/BackupPC/html/
ScriptAlias     /BackupPC               /usr/share/BackupPC/sbin/BackupPC_Admin





-- 
"I destroy my enemies when I make them my friends"
 - Abraham Lincoln

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/