[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Could not open the requested SVN filesystem

From: Bryan Kardisco <bryan.kardisco_at_gmail.com>
Date: 2007-01-15 14:54:29 CET

Sorry guys, found out what it was.

Apparently SELinux + Apache + SVN != fun

On 1/15/07, Bryan Kardisco <bryan.kardisco@gmail.com> wrote:
>
> Ran the command
>
> svnadmin recover /svn/repos
>
> I get the output
>
>
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
>
> Recovery completed.
> The latest repos revision is 13.
>
>
> But going to http://mywebserver/svn/ Still gives me the error
> −
> <D:error>
> <C:error/>
> <m:human-readable errcode="13">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
> On 1/15/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> >
> > Did you try 'svnadmin recover /path/to/repos'?
> >
> > bye,
> >
> > Erik.
> >
> > On 1/15/07, Bryan Kardisco < bryan.kardisco@gmail.com> wrote:
> > > Guys, I came back in this morning. Was told the machine was
> > rebooted and
> > > now when attempting to accses the svn I get the error
> > >
> > > "<m:human-readable errcode="13">
> > > Could not open the requested SVN filesystem
> > > </m:human-readable>"
> > >
> > > Again
> > >
> > > Once again here are my configurations
> > >
> > > /etc/httpd/conf.d/subversion.conf
> > >
> > > <Location /repos>
> > > DAV svn
> > > SVNPath /svn/repos
> > >
> > > # # Limit write permission to list of valid users.
> > > # <LimitExcept GET PROPFIND OPTIONS REPORT>
> > > # # Require SSL connection for password protection.
> > > # # SSLRequireSSL
> > > #
> > > # AuthType Basic
> > > # AuthName "Authorization Realm"
> > > # AuthUserFile /path/to/passwdfile
> > > # Require valid-user
> > > </LimitExcept>
> > > </Location>
> > >
> > > /etc/httpd/conf/httpd.conf
> > >
> > > User apache
> > > Group apache
> > >
> > >
> > > /etc/group
> > >
> > > apache:x:48:apache,svn
> > >
> > >
> > >
> > > doing a ls -asl
> > > 8 drwxrwxrwx 3 apache apache 4096 Jan 12 16:57 svn
> > >
> > > going into the directory svn
> > >
> > > 8 drwxrwxrwx 7 apache apache 4096 Jan 12 17:21 repos
> > >
> > > and jumping into repos
> > >
> > > 8 drwxrwxrwx 7 apache apache 4096 Jan 12 17:21 .
> > > 8 drwxrwxrwx 3 svn apache 4096 Jan 12 16:57 ..
> > > 8 drwxrwxrwx 2 apache svn 4096 Jan 13 13:18 conf
> > > 8 drwxrwxrwx 2 apache svn 4096 Jan 13 13:54 dav
> > > 8 drwxrwxrwx 5 apache svn 4096 Jan 13 14:07 db
> > > 8 -rwxrwxrwx 1 apache svn 2 Jan 12 16:57 format
> > > 8 drwxrwxrwx 2 apache svn 4096 Jan 12 16:57 hooks
> > > 8 drwxrwxrwx 2 apache apache 4096 Jan 12 16:57 locks
> > > 8 -rwxrwxrwx 1 apache svn 229 Jan 12 16:57 README.txt
> > >
> > >
> > >
> > >
> > > On 1/13/07, Andy Levy < andy.levy@gmail.com > wrote:
> > > > On 1/13/07, Bryan Kardisco <bryan.kardisco@gmail.com > wrote:
> > > > > The command "svn list file:///svn/repos"
> > > > >
> > > > > Gives me the output
> > > > >
> > > > > Directory1/
> > > > > Directory2/
> > > > > Directory3/
> > > > >
> > > > > So I'm assuming you want me to make this SVNPath and not
> > SVNParentPath
> > > >
> > > > Exactly (as you found out). SVNPath tells Apache "this directory is
> > a
> > > > repository." SVNParentPath tells Apache "each directory you find in
> > > > this directory is a repository."
> > > >
> > > > Glad it was an easy fix.
> > > >
> > > > > On 1/13/07, Andy Levy <andy.levy@gmail.com> wrote:
> > > > > > On 1/13/07, Bryan Kardisco < bryan.kardisco@gmail.com> wrote:
> > > > > > > Hi guys, I've been looking over the various online message
> > boards
> > > and
> > > > > have
> > > > > > > had zero luck getting this error addressed; I'm now hoping
> > someone
> > > here
> > > > > can
> > > > > > > help me.
> > > > > > >
> > > > > > > I've been running a LAMP server for quite some time now on a
> > Feodra
> > > 6
> > > > > > > machine. I've recently needed to add subversion to the
> > machine for
> > > > > various
> > > > > > > reasons.
> > > > > > >
> > > > > > > I did the typical yum installs and followed the online
> > instructions.
> > > > > > >
> > > > > > > The following DOES work:
> > > > > > >
> > > > > > > SSH into the webserver and run the command
> > > > > > >
> > > > > > > "svn list file:///svn/repos " --> Running this gives me my 3
> > > directories
> > > > > > > I've created
> > > > > > >
> > > > > > > Also going "svn list
> > > svn+ssh://mywebserver/svn/repos"
> > > > > gives
> > > > > > > me the same information
> > > > > > >
> > > > > > > However going to the http://mywebsite/svn/repos gives me the
> > error
> > > > > message
> > > > > > > "Could not open the requested SVN File System"
> > > > > > >
> > > > > > >
> > > > > > > To save some questions here are what my config files look like
> >
> > > > > > >
> > > > > > > /etc/httpd/conf.d/subversion.conf
> > > > > > >
> > > > > > >
> > > > > > > <Location /repos>
> > > > > > > DAV svn
> > > > > > > SVNParentPath /svn/repos
> > > > > > > </LimitExcept>
> > > > > > > </Location>
> > > > > >
> > > > > > Unless /svn/repos contains 1 or more subdirectories which are
> > > > > > repositories themselves, you want SVNPath, not SVNParentPath.
> > > > > >
> > > > > > Also, make sure that SELinux isn't set up and operating in an
> > > > > > overzealous fashion.
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Bryan Kardisco
> > > > > PSU: Class of 2006
> > > > > Information Sciences & Tech
> > > >
> > >
> > >
> > >
> > > --
> > > Bryan Kardisco
> > > PSU: Class of 2006
> > > Information Sciences & Tech
> >
>
>
>
> --
> Bryan Kardisco
> PSU: Class of 2006
> Information Sciences & Tech
>

-- 
Bryan Kardisco
PSU: Class of 2006
Information Sciences & Tech
Received on Mon Jan 15 14:59:41 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.