You are not logged in.

#1 2014-12-30 19:15:00

rollenwiese
Member
Registered: 2008-02-24
Posts: 69

[SOLVED] BackupPC Apache

Has anyone gotten BackupPC to work properly using Apache running under a username other than 'backuppc'?

I followed the instructions here:
Wiki

But the server returns a 500 error when accessing localhost/BackupPC_Admin, with the following in my apache error_log:

[Tue Dec 30 14:01:38.891706 2014] [authn_file:error] [pid 2114:tid 140026226648832] (13)Permission denied: [client [redacted wan ip] AH01620: Could not open password file: /etc/backuppc/backuppc.users
[gregory@seneca cgi-bin]$ ls -l
total 8
-rwsr-x--- 1 backuppc http 6768 Dec 30 13:08 BackupPC_Admin
[gregory@seneca lib]$ ls -l /etc/backuppc/
total 92
-rw-r----- 1 backuppc backuppc    46 Dec 30 13:38 backuppc.users
-rw-r----- 1 backuppc backuppc 85105 Dec 30 13:37 config.pl
-rw-r----- 1 backuppc backuppc  2214 Aug 19 08:06 hosts

My web server does function as I'm currently using it to host an ownCloud installation as well as a koken installation.

Any insight would be appreciated -

Thanks,
Greg

EDIT: SOLVED

In order to get things working in my particular setup I had to

1) chmod 755 /etc/backuppc/*
2) In /etc/conf/httpd/extra/backuppc.conf
2.1) comment out the 'Require' option in the <Directory /usr/share/backuppc/cgi-bin> directive
2.2) change the 'Require' option to 'Require all granted' in the <Directory /usr/share/backuppc/html> directive

Last edited by rollenwiese (2014-12-31 01:43:30)

Offline

Board footer

Powered by FluxBB