Package: backuppc
Version: 2.1.2-5

combined with
Package: apache2
Version: 2.2.3-1

Starting web server (apache2)...Syntax error on line 9 of 
/etc/backuppc/apache.conf:
Invalid command 'AuthGroupFile', perhaps misspelled or defined by a module not 
included in the server configuration
 failed!

This is because mod_auth got split up, and mod_authz_groupfile and
mod_authn_file are not installed by default.

My quick fix is adding
LoadModule authz_groupfile_module 
/usr/lib/apache2/modules/mod_authz_groupfile.so
LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so

to /etc/backuppc/apache.conf, but of course that will break on apache < 2.2.


H'mmm... that isn't quite good enough.  Then I get
[Tue Oct 03 02:48:37 2006] [crit] [client 1.2.3.4] configuration error:  
couldn't check user.
  No user file?: /backuppc

WTF?  What user file is it trying to read?

[pid 20815] read(9, "GET /backuppc HTTP/1.0\r\nHost: inc\r\nUser-Agent: 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060626 
(Debian-1.8.0."..., 8000) = 507
[pid 20815] stat("/usr/share/backuppc/cgi-bin/", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
[pid 20815] write(6, "[Tue Oct 03 02:51:00 2006] [crit] [client 1.2.3.4] 
configuration error:  couldn\'t check user.  No user file?: /backuppc\n", 120) 
= 120

Oh, it needs mod_auth_basic.so as well...

No, then we get
[pid 21110] read(9, "GET /backuppc HTTP/1.0\r\nHost: inc\r\nUser-Agent: 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060626 
(Debian-1.8.0."..., 8000) = 546
[pid 21110] stat("/usr/share/backuppc/cgi-bin/", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
[pid 21110] open("/etc/backuppc/htpasswd", O_RDONLY) = 11
[pid 21110] fstat(11, {st_mode=S_IFREG|0644, st_size=462, ...}) = 0
[pid 21110] read(11, "** REDACTED **"..., 4096) = 462
[pid 21110] close(11)                   = 0
[pid 21110] write(6, "[Tue Oct 03 03:36:22 2006] [crit] [client 1.2.3.4] 
configuration error:  couldn\'t check access.  No groups file?: /backuppc\n", 
124) = 124
[pid 21110] writev(9, [{"HTTP/1.1 500 Internal Server Error\r\nDate: Tue, 03 
Oct 2006 03:36:22 GMT\r\nServer: Apache/2.2.3 (Debian)\r\nContent-Length: 
607\r\nCon"..., 191}, {"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 
2.0//EN\">\n<html><head>\n<title>500 Internal Server 
Error</title>\n</head><body>\n<h1>Inter"..., 607}], 2) = 798

Grr...  Haven't figured that out yet.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to