your_shadow03 |
01-29-2009 06:06 AM |
Subversion issue?
I have SVN running on Red Hat System.I created a Repository named repo under /usr/local/svn/repos.I followed a doc and edited the file subversion.conf file as:
Code:
<Location /svn/repos>
DAV svn
SVNListParentPath on
SVNParentPath /usr/local/svn/
AuthType Basic
AuthName “Subversion repositories”
AuthUserFile “/etc/httpd/conf.d/svnuserconf”
Require valid-user
</Location>
I followed the steps of http://vijaylad1905.wordpress.com/20...centos-redhat/ but anytime I access the http://10.14.236.169/svn/repos it ask for credentials and when i provide correct credentials its not working.
[/code]
My svnserve.conf file:
Code:
[root@askraina conf]# car svnserve.conf
-bash: car: command not found
[root@askraina conf]# cat svnserve.conf
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### The format of the password database is similar to this file.
### It contains one section labelled [users]. The name and
### password for each user follow, one account per line. The
### format is
### USERNAME = PASSWORD
### Please note that both the user name and password are case
### sensitive. There is no default for the password file.
password-db = passwd
auth-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
realm = My First Repository
[root@askraina conf]#
Code:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location>
DAV svn
SVNParentPath /usr/local/svn
#AuthType Basic
#AuthName "Subversion Repository"
#AuthUserFile "/etc/httpd/conf.d/svnuserconf"
#Require valid-user
</Location>
~
The file :
tail -f error_log
Code:
[Thu Jan 29 17:37:21 2009] [error] [client 158.234.224.67] (20014)Error string not specified yet: Can't open file '/usr/local/svn/svn/format': Permission denied
[Thu Jan 29 17:37:21 2009] [error] [client 158.234.224.67] Could not fetch resource information. [500, #0]
[Thu Jan 29 17:37:21 2009] [error] [client 158.234.224.67] Could not open the requested SVN filesystem [500, #13]
[Thu Jan 29 17:37:21 2009] [error] [client 158.234.224.67] Could not open the requested SVN filesystem [500, #13]
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] Could not fetch resource information. [403, #0]
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] (2)No such file or directory: The URI does not contain the name of a repository. [403, #190001]
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] (20014)Error string not specified yet: Can't open file '/usr/local/svn/error/format': Permission denied
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] Could not fetch resource information. [500, #0]
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] Could not open the requested SVN filesystem [500, #13]
[Thu Jan 29 17:37:29 2009] [error] [client 158.234.224.67] Could not open the requested SVN filesystem [500, #13]
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] Could not fetch resource information. [403, #0]
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] (2)No such file or directory: The URI does not contain the name of a repository. [403, #190001]
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] (20014)Error string not specified yet: Can't open file '/usr/local/svn/error/format': Permission denied
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0]
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #13]
[Thu Jan 29 17:38:15 2009] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #13]
|