Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 99527 invoked from network); 4 Feb 2005 22:21:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Feb 2005 22:21:43 -0000 Received: (qmail 23340 invoked by uid 500); 4 Feb 2005 22:21:33 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 23318 invoked by uid 500); 4 Feb 2005 22:21:33 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 23305 invoked by uid 99); 4 Feb 2005 22:21:32 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_WHOIS,FORGED_RCVD_HELO,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccmmhc91.asp.att.net (HELO sccmmhc91.asp.att.net) (204.127.203.211) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 14:21:32 -0800 Received: from desktop.local (12-219-146-157.client.mchsi.com[12.219.146.157]) by sccmmhc91.asp.att.net (sccmmhc91) with SMTP id <20050204222130m9100ouffte>; Fri, 4 Feb 2005 22:21:30 +0000 Received: (qmail 27533 invoked by uid 1008); 4 Feb 2005 16:38:09 -0600 Received: from a.bolander@mchsi.com by desktop by uid 1001 with qmail-scanner-1.22 (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:0(216.207.243.4):SA:0(0.0/5.0):. Processed in 4.523857 secs); 04 Feb 2005 22:38:09 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO ?216.207.243.4?) (abolander@216.207.243.4) by desktop.local with SMTP; 4 Feb 2005 16:38:04 -0600 Message-ID: <4203F563.8040805@mchsi.com> Date: Fri, 04 Feb 2005 16:21:23 -0600 From: Andrew Bolander User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] Apache 2.0.52, Subversion 1.1.3, and Slackware 10 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hey guys, I am trying to setup a Subversion repository on my slack 10 box. I have upgraded to apache 2.0.52 using the package at linuxpackages.org. I have installed the Subversion 1.1.3 package from there as well. I can create the repository, and access it locally just fine. I added this to my httpd.conf: --------------------------------------------------------------------------------------------------- LoadModule dav_svn_module lib/apache2/mod_dav_svn.so LoadModule authz_svn_module lib/apache2/mod_authz_svn.so DavLockDB /var/DavLock Dav svn SVNPath /var/repository/ AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/apache2/passwd/subversion-access Require valid-user --------------------------------------------------------------------------------------------------- Here are the permissions on the Repository: ---------------------------------------------------------------------------------------------------- drwxrws--- 7 nobody nogroup 4096 2005-02-01 15:47 repository// -rw-rw-r-- 1 nobody nogroup 379 2005-02-01 15:47 README.txt drwxr-sr-x 2 nobody nogroup 4096 2005-02-01 15:47 conf/ drwxr-sr-x 2 nobody nogroup 4096 2005-02-01 15:47 dav/ drwxr-sr-x 2 nobody nogroup 4096 2005-02-01 15:47 db/ -rw-rw-r-- 1 nobody nogroup 2 2005-02-01 15:47 format drwxr-sr-x 2 nobody nogroup 4096 2005-02-01 15:47 hooks/ drwxr-sr-x 2 nobody nogroup 4096 2005-02-01 15:47 locks/ repository/conf: total 4 -rw-rw-r-- 1 nobody nogroup 1361 2005-02-01 15:47 svnserve.conf repository/dav: total 0 repository/db: total 768 -rw-rw-r-- 1 nobody nogroup 1955 2005-02-01 15:47 DB_CONFIG -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 __db.001 -rw-rw-r-- 1 nobody nogroup 270336 2005-02-01 15:47 __db.002 -rw-rw-r-- 1 nobody nogroup 393216 2005-02-01 15:47 __db.003 -rw-rw-r-- 1 nobody nogroup 737280 2005-02-01 15:47 __db.004 -rw-rw-r-- 1 nobody nogroup 16384 2005-02-01 15:47 __db.005 -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 changes -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 copies -rw-rw-r-- 1 nobody nogroup 4 2005-02-01 15:47 fs-type -rw-rw-r-- 1 nobody nogroup 72140 2005-02-01 15:47 log.0000000001 -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 nodes -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 representations -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 revisions -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 strings -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 transactions -rw-rw-r-- 1 nobody nogroup 8192 2005-02-01 15:47 uuids repository/hooks: total 20 -rw-rw-r-- 1 nobody nogroup 1411 2005-02-01 15:47 post-commit.tmpl -rw-rw-r-- 1 nobody nogroup 1475 2005-02-01 15:47 post-revprop-change.tmpl -rw-rw-r-- 1 nobody nogroup 2336 2005-02-01 15:47 pre-commit.tmpl -rw-rw-r-- 1 nobody nogroup 1952 2005-02-01 15:47 pre-revprop-change.tmpl -rw-rw-r-- 1 nobody nogroup 1533 2005-02-01 15:47 start-commit.tmpl repository/locks: total 8 -rw-rw-r-- 1 nobody nogroup 295 2005-02-01 15:47 db-logs.lock -rw-rw-r-- 1 nobody nogroup 460 2005-02-01 15:47 db.lock ---------------------------------------------------------------------------------------------------- Apache runs as nobody:nogroup I can access my local webpages via apache just fine. I can access regular DAV sites just fine, (I use the Firefox Bookmark Syncronization extension) using DAV On. When I have the authz_svn_module loaded, and try to access one of my normal (non-dav) pages that use Auth Basic authentication, they fail. I just get a blank page. When I don't load authz_svn_module, my pages load fine. When I try to access my (url)/svn using subversion, Apache segfaults. my doc-root is /var/www/htdocs. Looking at the strace output, it seems like apache is looking for /var/www/htdocs/svn instead of following the Location tag and enabling the DAV handler. Here is the strace output: --------------------------------------------------------------------------------------------------- accept(3, {sa_family=AF_INET6, sin6_port=htons(2046), inet_pton(AF_INET6, "::fff f:*source-ip*", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 9 getsockname(9, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, ":: ffff:192.168.1.100", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 brk(0) = 0x81ce000 brk(0x81d0000) = 0x81d0000 fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 brk(0) = 0x81d0000 brk(0x81d2000) = 0x81d2000 read(9, 0x81cf3e8, 8000) = -1 EAGAIN (Resource temporarily unavai lable) poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 300000) = 1 read(9, "PROPFIND /svn HTTP/1.1\r\nHost: bo"..., 8000) = 554 gettimeofday({1107380220, 201997}, NULL) = 0 gettimeofday({1107380220, 203109}, NULL) = 0 semop(3440654, 0x401c6dc8, 1) = 0 write(8, "*source-ip* - - [02/Feb/2005:1"..., 125) = 125 semop(3440654, 0x401c6dce, 1) = 0 stat64("/var/www/htdocs/svn", 0xbffff750) = -1 ENOENT (No such file or directory ) open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/var/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or direct ory) lstat64("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/var/www/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or di rectory) lstat64("/var/www/htdocs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/var/www/htdocs/svn", 0xbffff730) = -1 ENOENT (No such file or director y) brk(0) = 0x81d2000 brk(0x81d4000) = 0x81d4000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- ------------------------------------------------------------------------------------------------------ I am hoping that I just forgot to do something in my httpd.conf. I don't understand why, #1, apache is still looking at /var/www/htdocs/svn, #2, it is segfaulting, or #3, why mod_authz_svn would affect auth-basic authentication in any way. Any information or suggestions is appreciated. Thanks, Andrew --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org