[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot get SVN 1.5 Apache server working...

From: Holger Stratmann <tigris_at_finch.de>
Date: Thu, 12 Jun 2008 22:34:14 +0200

Robert Dailey wrote:
> [Wed Jun 11 20:55:11 2008] [error] [client]
> (20014)Internal error: Expected FS format '2'; found format '3'
Sorry, I cannot really help you with this as I've never had that problem.
However, I can give you "general troubleshooting advice": If you have a
problem, you try to think of possible causes for this problem: If you
can think of more than one, try to eliminate one by one to see if it
solves the problem. Duh... :-)

In your case, Apache cannot read the repository format.
Possible causes:
1) Apache
2) Repository format

Elimination strategies:
2) Create a new repository ONE THE MACHINE itself, in the svn_root
directory. This should eliminate most possible problems with the
repository. Considering the creation of a repository only takes 10
seconds, this is a good approach. If you still have the same problem,
try this:
1) Apache: Try to find out which exact version of mod_dav_svn is
installed. You can do that in several ways. I'd start with looking at
the "Server"-Header returned by Apache. It can look something like this:
Server: Apache/2.2.8 (Win32) DAV/2 SVN/1.4.6 PHP/5.2.5 mod_python/3.3.1
Python/2.5 mod_ssl/2.2.8 OpenSSL/0.9.8g
(you can do:
telnet localhost 80[Enter]
GET / HTTP/1.0[Enter][Enter]
to get the header).

If you can't get the header, look at the mods_available directory, find
the conf-file for subversion, look which *.so file is included and tell
us date and size of that file.

Good luck!

P.S.: I changed the subject line because this really isn't related to
SSL and not even to the previous questions...

> On Wed, Jun 11, 2008 at 6:01 PM, Robert Dailey <rcdailey_at_gmail.com> wrote:
>> On Wed, Jun 11, 2008 at 4:22 PM, Ryan Schmidt
>> <subversion-2008b_at_ryandesign.com> wrote:
>>> On Jun 11, 2008, at 09:32, Robert Dailey wrote:
>>>>>>> On Jun 10, 2008, at 22:57, Robert Dailey wrote:
>>>>>>>> (20014)Internal error: Expected FS format '2'; found format '3'
>>>> The repository I have was copied from one created via VisualSVN Server
>>>> on Windows. I didn't want to lose my repository contents, so I copied
>>>> the repo directory over. I don't think this is an issue, since before
>>>> I tried using HTTP + SVN, I was using SVN+SSH and I was able to do
>>>> checkouts perfectly fine. Just thought I'd mention it.
>>> When moving a repository from one OS to another, and especially from one
>>> processor architecture to another (don't know if that applies here), you
>>> should use "svnadmin dump" and "svnadmin load" instead of just moving the
>>> repository directory. Note that the dump/load does not preserve locks, nor
>>> the contents of your config or hooks directories. It only copies revisions.
>>> To see whether your repository is ok, you should probably "svnadmin verify"
>>> it. If that reports no errors, then you're probably fine...
>>> What version of svn was the repository created with?
>> It was created with version 1.5RC7. I did the svn verify on the repo,
>> and everything was fine. This was one of the first things I did after
>> I moved it over.
> Anyone have any idea how I can get this working? Below is a copy of
> the commands I typed and the results of those commands:
> root@server:/var/log/apache2# svn ls http://server/svn/test
> Authentication realm: <http://server:80> Subversion Repository
> Password for 'root':
> Authentication realm: <http://server:80> Subversion Repository
> Username: robert
> Password for 'robert':
> svn: Could not open the requested SVN filesystem
> The error.log I get is below:
> [Wed Jun 11 20:55:05 2008] [error] [client] user root
> not found: /svn/test
> [Wed Jun 11 20:55:11 2008] [error] [client]
> (20014)Internal error: Expected FS format '2'; found format '3'
> [Wed Jun 11 20:55:11 2008] [error] [client] Could not
> fetch resource information. [500, #0]
> [Wed Jun 11 20:55:11 2008] [error] [client] Could not
> open the requested SVN filesystem [500, #160043]
> [Wed Jun 11 20:55:11 2008] [error] [client] Could not
> open the requested SVN filesystem [500, #160043]

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 22:35:55 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.