You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Webber <an...@aligature.com> on 2008/03/02 17:18:05 UTC

Serving subversion with Apache on ZFS

I'm having a problem bringing up a subversion server on a new machine.
Here's a quick summary of what I'm using.

- PowerMac quad-core Xeon
- Mac OS 10.5.2
- Apache 2.2.6 (64-bit)
- Subversion 1.4.6 built my me with CFLAGS=-m64
- FSFS repository
- Mode 777 recursively set on the repository
- The repository is on a ZFS filesystem

When I attempt to access the repository I get the following error in my
apache logs:

[Sun Mar 02 11:56:57 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6
OpenSSL/0.9.7l DAV/2 SVN/1.4.6 configured -- resuming normal operations
[Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] (20014)Internal
error: Can't open file '/docs/code/svn/format': Permission denied
[Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not fetch
resource information.  [500, #0]
[Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not open the
requested SVN filesystem  [500, #13]
[Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not open the
requested SVN filesystem  [500, #13]

If I move the repository to an HFS+ filesystem, I can access it through
apache.  Also, I can access the repository on ZFS normally using the
file:/// protocol.  Therefore, the problem seems to stem from using apache
with ZFS.  I know that ZFS on mac is a little new at this point, but I was
surprised that it didn't "just work".

Does the subversion code specially look for resource files when running on a
mac?
I don't think that ZFS uses resource files.  Could that be confusing
subversion somehow?
Are other people able to serve subversion on ZFS on Solaris 10?

Anyone have any ideas?

Re: Serving subversion with Apache on ZFS

Posted by Andrew Webber <an...@aligature.com>.
At this point I'm feeling pretty foolish.  I've tracked down the problem to
a simple permissions issue.  I had set the right permissions on the repo
itself, but not on the containing directory.  Of course I'm thickheaded
enough to test apr_file_open by itself before I checked the permissions
again.

Sorry for bothering everyone for no reason.


On Sun, Mar 2, 2008 at 1:18 PM, Andrew Webber <an...@aligature.com> wrote:

> I'm having a problem bringing up a subversion server on a new machine.
> Here's a quick summary of what I'm using.
>
> - PowerMac quad-core Xeon
> - Mac OS 10.5.2
> - Apache 2.2.6 (64-bit)
> - Subversion 1.4.6 built my me with CFLAGS=-m64
> - FSFS repository
> - Mode 777 recursively set on the repository
> - The repository is on a ZFS filesystem
>
> When I attempt to access the repository I get the following error in my
> apache logs:
>
> [Sun Mar 02 11:56:57 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6
> OpenSSL/0.9.7l DAV/2 SVN/1.4.6 configured -- resuming normal operations
> [Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] (20014)Internal
> error: Can't open file '/docs/code/svn/format': Permission denied
> [Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not fetch
> resource information.  [500, #0]
> [Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not open
> the requested SVN filesystem  [500, #13]
> [Sun Mar 02 11:57:03 2008] [error] [client 68.162.106.61] Could not open
> the requested SVN filesystem  [500, #13]
>
> If I move the repository to an HFS+ filesystem, I can access it through
> apache.  Also, I can access the repository on ZFS normally using the
> file:/// protocol.  Therefore, the problem seems to stem from using apache
> with ZFS.  I know that ZFS on mac is a little new at this point, but I was
> surprised that it didn't "just work".
>
> Does the subversion code specially look for resource files when running on
> a mac?
> I don't think that ZFS uses resource files.  Could that be confusing
> subversion somehow?
> Are other people able to serve subversion on ZFS on Solaris 10?
>
> Anyone have any ideas?
>