You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Giulio Troccoli <Gi...@uk.linedata.com> on 2008/09/03 09:47:23 UTC

Subversion on RHEL4 in VMware

I have a very odd problem which I think is ore related to Apache than Subversion. But because I know a lot of people use Apache to serve their repositories I hope someone can help me. I'm using Subversion 1.4.4 and Apache 2.0.

I have a RHEL4 virtual machine on VMware. I created a new virtual disk and mounted it on /data. If I create the repository on this new disk I cannot create a working copy using http:// (but I can using file://). The error I get is "Could not open the requested SVN filesystem". If the repository is created in another directory on the original disk, e.g. /data1, everything works fine.

I googled the error and there were a lot of results but all pointing to the same problem: permissions. I changed them all to 777 but that didn't solve the issue.

Does anybody have an idea? I start thinking it may be something related to how I mount the new disk, but it's pretty standard, like

/dev/sdb1       /data           ext3    defaults        1 2

The Apache configuration is the minimum

<Location /giulio>
  DAV svn
  SVNPath /data/giulio
</Location>

I can of course provide more information, just ask.

-------------------
Giulio Troccoli
Technical Consultant

T +44 (0)20 7360 1914   F +44 (0)20 7360 1974
E giulio.troccoli@uk.linedata.com   W www.linedata.com
MSN Messenger giulio@troccoli.it




Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851    VAT Reg No 778499447





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: Subversion on RHEL4 in VMware

Posted by Giulio Troccoli <Gi...@uk.linedata.com>.

>


Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851    VAT Reg No 778499447

-----Original Message-----


> From: Ryan Schmidt [mailto:subversion-2008c@ryandesign.com]
> Sent: 04 September 2008 06:19
> To: Giulio Troccoli
> Cc: users@subversion.tigris.org
> Subject: Re: Subversion on RHEL4 in VMware
>
>
> On Sep 3, 2008, at 4:47 AM, Giulio Troccoli wrote:
>
> > I have a very odd problem which I think is ore related to Apache
> > than Subversion. But because I know a lot of people use Apache to
> > serve their repositories I hope someone can help me. I'm using
> > Subversion 1.4.4 and Apache 2.0.
> >
> > I have a RHEL4 virtual machine on VMware. I created a new virtual
> > disk and mounted it on /data. If I create the repository on this
> > new disk I cannot create a working copy using http:// (but I can
> > using file://). The error I get is "Could not open the requested
> > SVN filesystem". If the repository is created in another directory
> > on the original disk, e.g. /data1, everything works fine.
> >
> > I googled the error and there were a lot of results but all
> > pointing to the same problem: permissions. I changed them all to
> > 777 but that didn't solve the issue.
> >
> > Does anybody have an idea? I start thinking it may be something
> > related to how I mount the new disk, but it's pretty standard, like
> >
> > /dev/sdb1       /data           ext3    defaults        1 2
> >
> > The Apache configuration is the minimum
> >
> > <Location /giulio>
> >   DAV svn
> >   SVNPath /data/giulio
> > </Location>
>
> Have you configured Apache to allow it to serve things from /data?
> Like this:
>
>
> <Directory /data>
>      Options Indexes FollowSymLinks
>      AllowOverride None
>      Order allow,deny
>      Allow from all
> </Directory>
>

I hadn't, because I don't configured anything like that on the production server. However, even when I did it on the test server the result is the same.

It's definitely not related to Subversion as I tried to change the DocumentRoot in httpd.conf to a directory in the /data file system and I can't even start Apache. It complains that "DocumentRoot must be a directory".

G


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Subversion on RHEL4 in VMware

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 3, 2008, at 4:47 AM, Giulio Troccoli wrote:

> I have a very odd problem which I think is ore related to Apache  
> than Subversion. But because I know a lot of people use Apache to  
> serve their repositories I hope someone can help me. I'm using  
> Subversion 1.4.4 and Apache 2.0.
>
> I have a RHEL4 virtual machine on VMware. I created a new virtual  
> disk and mounted it on /data. If I create the repository on this  
> new disk I cannot create a working copy using http:// (but I can  
> using file://). The error I get is "Could not open the requested  
> SVN filesystem". If the repository is created in another directory  
> on the original disk, e.g. /data1, everything works fine.
>
> I googled the error and there were a lot of results but all  
> pointing to the same problem: permissions. I changed them all to  
> 777 but that didn't solve the issue.
>
> Does anybody have an idea? I start thinking it may be something  
> related to how I mount the new disk, but it's pretty standard, like
>
> /dev/sdb1       /data           ext3    defaults        1 2
>
> The Apache configuration is the minimum
>
> <Location /giulio>
>   DAV svn
>   SVNPath /data/giulio
> </Location>

Have you configured Apache to allow it to serve things from /data?  
Like this:


<Directory /data>
     Options Indexes FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org