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 16:36:17 UTC

Re: Question about Apache/svn server fink installation problem

I just had a thought, so here's two questions for fink/svn people...

If I'm trying to install binaries of svn and apache2, which are 
supposedly linked against stuff related to the binary fink 0.8.1, but 
have updated fink from cvs, is it possible that therein lies a problem?  
Or should that not matter.

Should I be building the unstable svn 1.4 stuff?  Is that better than 
the current stable svn 1.2 builds in any important ways?

thanks,
h

Hamilton Link wrote:
> I assumed fink would let me rapidly get a svn server up and running 
> (it has in the past, and I've been running svn servers under Mac OS 
> and under Red Hat since svn 0.14 or so) but something didn't come out 
> quite right this time and I'm getting the following errors when I try 
> to access http://localhost/svn/
>
> [Tue Sep 26 15:32:31 2006] [error] [client 127.0.0.1] (20014)Error 
> string not specified yet: Can't open file 
> '/usr/local/svn/testrepo/format': Permission denied
> [Tue Sep 26 15:32:31 2006] [error] [client 127.0.0.1] Could not fetch 
> resource information.  [500, #0]
> [Tue Sep 26 15:32:31 2006] [error] [client 127.0.0.1] Could not open 
> the requested SVN filesystem  [500, #13]
> [Tue Sep 26 15:32:31 2006] [error] [client 127.0.0.1] Could not open 
> the requested SVN filesystem  [500, #13]
> [Tue Sep 26 15:32:31 2006] [error] Optional hook test said: GET /svn/ 
> HTTP/1.1
> [Tue Sep 26 15:32:31 2006] [error] Optional function test said: GET 
> /svn/ HTTP/1.1
>
> Apart from loading mod_dav, mod_dav_fs, mod_dav_svn, and 
> mod_authz_svn, etc. (most all of that was set up upon installation by 
> fink), here's my subversion configuration:
>
> <Location /svn>
>   DAV svn
>   SVNPath /usr/local/svn/testrepo
> </Location>
>
> I'm running the latest version of Tiger on an (intel) Mac Pro, and 
> built just apache2 (w/ssl) and svn from fink along with all the 
> dependencies.  The repository is owned by apache2:apache2 and I 
> chmodded the repository to +666 by the time I gave up in the face of 
> the same (identical, seemingly nonsensical, at that point) permission 
> errors.  Apache will serve a basic hello file at http://localhost/ 
> without a fuss.  Most of my Apache configuration seems to be the same 
> as my older working server (which is running Red Hat and an older set 
> of RPMs for Apache and subversion service).
>
> I currently assume from reading past mailing list posts on the subject 
> of "format file permission denied" that this is a build problem, 
> something didn't get linked properly against something else.  So my 
> questions are,
> - is it reasonable to believe this is a build problem?
> - is the current set of things in fink self-conflicting? if so will 
> this be fixed at some point? if not has anyone else tried a fresh 
> install recently from fink and gotten it working? how?
> - what else might be going on here? is there a good way to diagnose 
> this (my error_log isn't that informative)?
> - can I tell fink to do something a little different and have it work, or
> - should I build everything from scratch (I don't really want to, 
> under the assumption that fink will make future upgrades easier), or 
> what?
>
> I'm going to reinstall everything again with fink and see if anything 
> new and different becomes a problem.
>
> thanks,
> hamilton
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>


---------------------------------------------------------------------
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

Q: Is this a svn+fink or svn-config problem?

Posted by Hamilton Link <he...@sandia.gov>.
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: Question about Apache/svn server fink installation problem

Posted by Christian Schaffner <ch...@users.sourceforge.net>.
Hi Hamilton

On 28.09.2006, at 11:36, Hamilton Link wrote:

> I just had a thought, so here's two questions for fink/svn people...

I am the package maintainer of the fink svn packages.

> If I'm trying to install binaries of svn and apache2, which are  
> supposedly linked against stuff related to the binary fink 0.8.1,  
> but have updated fink from cvs, is it possible that therein lies a  
> problem?  Or should that not matter.

That should not matter, but of cause it could.

> Should I be building the unstable svn 1.4 stuff?  Is that better  
> than the current stable svn 1.2 builds in any important ways?

In that case they definitely are. I haven't updated the svn packages  
in a while before svn 1.4 came out. The new 1.4 packages seem to work  
very well. So I suggest that you update to those packages.

A couple of notes:

1)
"unstable" in Fink terms often means actually more stable, since the  
packages are newer. Your mileage may vary...
But please: Give me some feedback on how the new packages work, so I  
can move them to the stable tree soon.

2)
To enable packages in the unstable tree please read:
http://www.finkproject.org/faq/usage-fink.php#unstable
and
http://www.finkproject.org/faq/usage-fink.php#bindist

3)
The new svn packages are now using the OS supplied openssl libraries.  
So you no longer need (nor should) install the -ssl package variants.  
Just use 'fink install svn-client', 'fink install svn', or 'fink  
install libapache2-mod-svn'
(You might need to first remove any svn-ssl packages before  
installing the new packages)

4)
There is an inofficial binary distribution for the unstable tree: Add  
"deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main  
crypto" to /sw/etc/apt/sources.list . Remember it's not officially  
supported, don't expect us to fix breakage!

Hope that helps!
Chris

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