You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gord Wait <go...@lighthauslogic.com> on 2007/04/09 18:02:39 UTC

apache2, ubuntu610 dav_svn cant read the password file..

I'm trying to set up subversion on ubuntu 6.10,
using apache2, and dav_svn.
 
If I disable basic authentication, I can remotely read the repository (can't
seem to check in though, no write access?). 
 
If I enable basic authentication, and try to check in something, 
then I get authentication failures, and the apache log
shows this:
 
client error blabla ...  Could not open password file:
/etc/apache2/dav_syn.passwd
 
If I su from root to www-data, I can read that password file (as user
www-data) no problem. 
 
Aside from checking again that I have the right files in the right places
with the right names, I'm stumped!
I see some hints about debian enabling virtual servers on
blog.andrewbeacockcom/2005/08/configuring-subversion-svn-on-linux.html
 
but I tried those hints and it didn't fix things..
 
Did lots of googling, saw others with similar problems but haven't found a
fix yet..
Help!
 
 
Gord Wait
Lighthaus Logic
604-633-0566 ext 213
Cell 604 787-4561
 

RE: apache2, ubuntu610 dav_svn cant read the password file..

Posted by Gord Wait <go...@lighthauslogic.com>.
httpd is running as www-data, and yes it has permissions to access the
password file. 
The apache error log is what tells me that it could not open the password
file. 
Gord
 

-----Original Message-----
From: Ramanathan Muthaiah [mailto:rus.cahimb@gmail.com] 
Sent: Monday, April 09, 2007 6:54 PM
To: Gord Wait
Cc: users@subversion.tigris.org
Subject: Re: apache2, ubuntu610 dav_svn cant read the password file..

[snp]
> client error blabla ...  Could not open password file:
> /etc/apache2/dav_syn.passwd
>
> If I su from root to www-data, I can read that password file (as user
> www-data) no problem.

Couple of quick questions:

As which user, is the "httpd" started ?

Does this user(s) has enough permissions to access the repo ?

You can also check apache's access and error logs.

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: apache2, ubuntu610 dav_svn cant read the password file..

Posted by Ramanathan Muthaiah <ru...@gmail.com>.
[snp]
> client error blabla ...  Could not open password file:
> /etc/apache2/dav_syn.passwd
>
> If I su from root to www-data, I can read that password file (as user
> www-data) no problem.

Couple of quick questions:

As which user, is the "httpd" started ?

Does this user(s) has enough permissions to access the repo ?

You can also check apache's access and error logs.

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org