You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Hamilton Link <he...@sandia.gov> on 2006/09/28 20:13:29 UTC
Q: Is this a svn+fink or svn-config problem?
I would really appreciate some pointers on how to get this working
and/or better debug this persistent "format" file permission error. I
saw people with these problems on the list in the past but did not see a
resolution. I assume the error is user-induced but I'm unsure what I've
overlooked.
Without starting from absolute scratch sans fink I don't see how I
might proceed. Here's all the information I could think might be
relevant, it's kind of a blob but I'd appreciate any thoughts.
In the interests of dealing with an up-to-date svn version, I deleted
all of fink, reinstalled it, configured the unstable trees, and
installed the latest svn, svn-client, and libapache2-mod-svn.
Much verbosity and about 43 compiled packages later (choosing mpm-worker
and db43-aes), and a little apache default configuration tweaking, I
have a working apache2 installation serving up some dummy pages, docs,
icons, etc from localhost:80.
I have svn and svnadmin version 1.4:
shamino:/sw/etc/apache2 helink$ svn --version
svn, version 1.4.0 (r21228)
compiled Sep 28 2006, 11:55:24
shamino:/sw/etc/apache2 helink$ svnadmin --version
svnadmin, version 1.4.0 (r21228)
compiled Sep 28 2006, 11:55:24
Apache is running as apache2 in the group apache2, after starting as
root (from ps -aux):
root 333 0.0 0.2 37364 1800 ?? Ss 1:21PM 0:00.05
/sw/sbin/apache2 -k start
apache2 384 0.0 0.2 50940 2088 ?? S 1:45PM 0:00.01
/sw/sbin/apache2 -k start
apache2 385 0.0 0.1 50480 1332 ?? S 1:45PM 0:00.09
/sw/sbin/apache2 -k start
My testrepo and everything in it is owned by apache2:apache2,
particularly the format file (which contains only "5"):
drwxr-xr-x 9 apache2 apache2 306 Sep 28 13:39 testrepo (the repo dir)
-r--r--r-- 1 apache2 apache2 2 Sep 28 13:39 format (within testrepo)
Here's my repo config in apache, very very basic:
<Location /svn>
DAV svn
SVNPath /usr/local/svn/testrepo
</Location>
And here's the error I'm still getting and its record in the log:
<D:error>
<C:error/>
<m:human-readable errcode="13">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
[Thu Sep 28 13:46:12 2006] [error] [client 127.0.0.1] (20014)Error
string not specified yet: Can't open file
'/usr/local/svn/testrepo/format': Permission denied
[Thu Sep 28 13:46:12 2006] [error] [client 127.0.0.1] Could not fetch
resource information. [500, #0]
[Thu Sep 28 13:46:12 2006] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem [500, #13]
[Thu Sep 28 13:46:12 2006] [error] [client 127.0.0.1] Could not open the
requested SVN filesystem [500, #13]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Aha! Re: Apache/svn server fink installation problem
Posted by Christian Schaffner <ch...@users.sourceforge.net>.
On 29.09.2006, at 16:23, Hamilton Link wrote:
> Aha! Somewhere along the line, a parent directory on the way to my
> repository got bolluxed, and was not executable by apache, so
> while /usr/local/svn/testrepo looked just fine, /usr/local was
> keeping apache2 out.
I am happy that this worked out finally, since I was worried that
there might be something wrong with the svn Fink packages.
I will move the svn 1.4 packages to the Fink stable tree in the
coming weeks.
> Thanks to Christian for his patience on this issue, and for future
> reference when you get mysterious permission errors on the format
> file one additional thing to check is whether the full directory
> path up to it is executable
np, Christian.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Aha! Re: Apache/svn server fink installation problem
Posted by Hamilton Link <he...@sandia.gov>.
Aha! Somewhere along the line, a parent directory on the way to my
repository got bolluxed, and was not executable by apache, so while
/usr/local/svn/testrepo looked just fine, /usr/local was keeping apache2
out.
Thanks to Christian for his patience on this issue, and for future
reference when you get mysterious permission errors on the format file
one additional thing to check is whether the full directory path up to
it is executable.
ttyl,
hamilton
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org