LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2011, 04:53 PM   #1
cpt
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
SVN Could not open the requested SVN filesystem


hello dear linuxquestions guys
first off, i don't dare to mention how much time i invested in solving this problem and yet haven't done so.

i installed svn 1.6.11 on my centOS 5.6 server and can't get it to run, i always get Could not open the requested SVN filesystem.
here are my infos:

the repository i created with svnadmin create yumyum resides in /var/www/svn/repos/. it's been chown'ed recursively and also chmod'ed several times.
Code:
drwxr-xr-x 6 apache apache 4096 Jul 12 01:32 yumyum
within my httpd.conf it looks like this:
Code:
LoadModule dav_svn_module       modules/mod_dav_svn.so
LoadModule authz_svn_module     modules/mod_authz_svn.so

<Location /svn>
        DAV svn
        AuthType Basic
        AuthName "Subversion repository"
        AuthUserFile /var/www/svn/.svn-auth
        # AuthzSVNAccessFile /var/www/svn/.svn-policy
        Require valid-user
        SVNParentPath /var/www/svn/repos
        # SVNPath /var/www/svn/repos/yumyum
        SVNListParentPath on
</Location>
the http://SERVERADDR/svn works fine, lists all repositories. but http://SERVERADDR/svn/yumyum returns said Could not open the requested SVN filesystem (errcode 13).

i tail'ed the httpd error log output:
Code:
[Tue Jul 12 01:02:50 2011] [error] [client INSERTMYIPHERE] (20014)Internal error: Can't open file '/var/www/svn/repos/yumyum/format': Permission denied
[Tue Jul 12 01:02:50 2011] [error] [client INSERTMYIPHERE] Could not fetch resource information.  [500, #0]
[Tue Jul 12 01:02:50 2011] [error] [client INSERTMYIPHERE] Could not open the requested SVN filesystem  [500, #13]
[Tue Jul 12 01:02:50 2011] [error] [client INSERTMYIPHERE] Could not open the requested SVN filesystem  [500, #13]
so i checked the permissions within /var/www/svn/repos/yumyum:
Code:
drwxr-xr-x 2 apache apache 4096 Jul 12 01:32 conf
drwxr-sr-x 6 apache apache 4096 Jul 12 01:32 db
-rwxrwxrwx 1 apache apache    2 Jul 12 01:32 format
drwxr-xr-x 2 apache apache 4096 Jul 12 01:32 hooks
drwxr-xr-x 2 apache apache 4096 Jul 12 01:32 locks
-rw-r--r-- 1 apache apache  229 Jul 12 01:32 README.txt
also SELinux is disabled.

i hope someone can point me to where i could tame this svn. all answers are appreciated, thanks in advance.
cpt
 
Old 07-12-2011, 04:18 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Quote:
Can't open file '/var/www/svn/repos/yumyum/format': Permission denied
This is the problem. It looks like you have altered the permissions on your repository. Try creating a new repository and see if that works. The SVN book (free download) has good instructions on setting up SVN with Apache if you need a reference.

To provide you with an example of what the permissions should look like, here is my directory listing:
Code:
drwxrwsr-x 2 www-data www-data 4096 2009-07-08 09:32 conf
drwxr-sr-x 3 www-data www-data 4096 2009-07-08 09:40 dav
drwxrwsr-x 6 www-data www-data 4096 2011-03-14 16:13 db
-r--rwSr-- 1 www-data www-data    2 2009-07-08 09:32 format
drwxrwsr-x 2 www-data www-data 4096 2009-07-08 09:32 hooks
drwxrwsr-x 2 www-data www-data 4096 2009-07-08 09:32 locks
-rw-rwSr-- 1 www-data www-data  229 2009-07-08 09:32 README.txt
Notice the s and S, which are the GUID functions for set group ID. These cause the file to execute as owned by the group, not by the application or user performing the action. See this at section 6.2 for more information.
 
Old 07-12-2011, 05:06 PM   #3
cpt
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks noway2,
i'll hunt those hints down and will update my post with what i ended up doing on the basis of your suggestions.
 
  


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
Could not open the requested SVN filesystem prii Ubuntu 5 06-12-2011 04:28 PM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 03:25 AM
SVN: Could not open requested SVN filesystem rfkrocktk Linux - Server 1 11-24-2009 04:28 PM
Subversion - Could not open the requested SVN filesystem Braynid Linux - Server 9 03-04-2009 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:43 PM.

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