LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2009, 06:06 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
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]

Last edited by your_shadow03; 01-29-2009 at 06:09 AM.
 
Old 01-29-2009, 06:42 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
I tried accessing through svn://<ip>/usr/local/svn/repos but it says:
Code:
Server doesnt support retrieving information about repository root

Last edited by your_shadow03; 01-29-2009 at 06:48 AM.
 
Old 01-30-2009, 06:27 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Any Help ???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion Eclipse Issue? your_shadow03 Linux - Newbie 0 11-06-2008 11:37 PM
Subversion 1.5 mccartjd Linux - Newbie 2 06-26-2008 06:41 AM
subversion varun_33 Linux - Software 1 04-20-2005 12:37 PM
subversion sethgeekx86 Slackware 8 07-26-2004 03:29 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration