Hi,
I receive the following error msg in Apache error log when trying to
access my BackupPC:
Permission denied: Could not open password file:
/var/lib/backuppc/passwd/htpasswd, referer:
http://localhost/backuppc/cgi-bin/BackupPC_Admin?action=editConfig
access to /backuppc/cgi-bin/BackupPC_Admin failed, reason:
verification of user id 'admin' not configured, referer:
http://localhost/backuppc/cgi-bin/BackupPC_Admin?action=editConfig
I am trying to browse backups transferred from another server with my
local server:
I copied with rsync -avzH the TopDir from another server to my local
BackupPC server on a USB disk (/mnt/usb/backuppc)
I did chown -R backuppc.backuppc /mnt/usb/backuppc
I then moved my local BackupPC's TopDir from /var/lib/backuppc to
/var/lib/backuppc.local
And then mounted the new data to TopDir with mount --bind
/mnt/usb/backuppc /var/lib/backuppc
I copied the passwd/htpasswd dir/file from my old TopDir to this newly
mounted TopDir
The permissions should be very permissive:
drwxrwxrwx 2 backuppc backuppc 4.0K Nov 8 16:05 /var/lib/backuppc/passwd/
-rwxrwxrwx 1 backuppc backuppc 41 Nov 13 00:23 /var/lib/backuppc/passwd/htpasswd
Apache is run as the backuppc user, so I am a bit puzzled why it
cannot access the htpasswd file?
If I remount the old TopDir (backuppc.local), everything works fine
the dir/file having these permissions:
drwxr-x--- 2 backuppc backuppc 4.0K Nov 8 16:05 /var/lib/backuppc/passwd/
-rw-r----- 1 backuppc backuppc 21 Nov 8 16:18 /var/lib/backuppc/passwd/htpasswd
Any ideas what I'm doing wrong?
Regards,
Peter
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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/
|