Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not open password file: /var/svn/conf/svnusers-SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2183
Location: Kentucky

PostPosted: Sun May 01, 2011 8:13 pm    Post subject: Could not open password file: /var/svn/conf/svnusers-SOLVED Reply with quote

I am trying to set up a subversion server using web_dav under apache2. When I try to log in, I get an "internal server error" in the browser, and the log files tell me:
Code:

Could not open password file: /var/svn/conf/svnusers

This is weird, because:
Code:

iidcpac htdocs # ls -l /var/svn/conf/svnusers
-rw-r--r-- 1 apache root 41 May  1 13:43 /var/svn/conf/svnusers
iidcpac htdocs #

So if the file is readable by everyone, why can't the login process read it?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sun May 01, 2011 11:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16022

PostPosted: Sun May 01, 2011 9:47 pm    Post subject: Reply with quote

What is the output of ls -ld /var/svn/conf /var/svn /var /?
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2183
Location: Kentucky

PostPosted: Sun May 01, 2011 9:54 pm    Post subject: Reply with quote

Code:

eli ~ # ls -ld /var/svn/conf /var/svn /var /
drwxr-xr-x 26 root   root   1032 Apr 23 02:09 /
drwxr-xr-x 15 root   root    408 Jul  5  2009 /var
drwxr-xr-x  5 root   root    120 Jul  5  2009 /var/svn
drwx------  2 apache apache  168 Jul  8  2009 /var/svn/conf
eli ~ #

_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2183
Location: Kentucky

PostPosted: Sun May 01, 2011 11:18 pm    Post subject: Reply with quote

OOPS! I did the above ls on the wrong server! :oops:

The server in question had the owner as apache, but the group was root. I changed it to apache and then got the following in my browser after loggin in:
Code:

Error loading stylesheet: A network error occured loading an XSLT stylesheet:https:

//xx.xx.xx.xx/svnindex.xsl

So now what? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2183
Location: Kentucky

PostPosted: Sun May 01, 2011 11:42 pm    Post subject: Reply with quote

I got it. Just RTM! :)

So subversion is now up on this new box under apache https://

Problem Solved! :D
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum