You probably have mismatched APR libraries.  svn 1.2.3 ships with APR
0.9x, as does apache 2.0.55.  Meanwhile, apache 2.2 uses APR 1.2,
which is binary-incompatible with APR 0.9.  You absolutely cannot
change libraries mid-stream.

What you need to do is rebuild svn with the same APR (1.2) that lives
in /usr/local/apache2/bin/ap{ru}-config.



On 12/2/05, Ralph Seichter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've sent the following message to the Subversion users list, but as I
> am unsure if Neon is involved I thought it best to post a copy here.
>
> I'm having trouble to access Subversion repositories after setting up
> SVN 1.2.3 with Apache 2.2.0 on a Linux test server. No matter if I use
> a SVN client on Linux/Windows or if I use a web browser, I always see
> the following entries in the Apache error log when accessing the URL
> <http://server.tld/svn/foo/>:
>
>   [notice] Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7d DAV/2 SVN/1.2.3 
> configured -- resuming normal operations
>   [error] Could not fetch resource information.  [500, #0]
>   [error] Could not open the root of the repository  [500, #22]
>   [error] Can't set position pointer in file '/var/svn/reps/foo/db/revs/1': 
> Invalid argument  [500, #22]
>
> The file /var/svn/reps/foo/db/revs/1 exists and I am certain that the
> repository structure is valid. Web search results suggested that this
> problem might be caused by Apache not having the required permissions
> on /var/svn/reps/foo/*, so I set permissions on all files and dirs
> under /var/svn/reps/* to world writable. This had no effect.
>
> My Apache config is as simple as it can be, so I don't suspect any
> misconfiguration there:
>
>   <Location /svn>
>       DAV svn
>       SVNParentPath /var/svn/reps
>   </Location>
>
> I have not seen these problems with Apache 2.0.5x, so perhaps Apache
> 2.2.0 handles things differently? Has anybody else tried upgrading SVN
> servers to Apache 2.2.0 yet?
>
> --
> Mit freundlichen Grüßen / Sincerely
> Dipl. Inform. Ralph Seichter
>
> _______________________________________________
> neon mailing list
> [email protected]
> http://mailman.webdav.org/mailman/listinfo/neon
>

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to