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

broken repository?, (Connection closed unexpectedly)

From: Mattias Brändström <thebrasse_at_brasse.org>
Date: 2005-10-05 16:38:55 CEST

Hello!

I have been using subversion for a number of projects for over a year
now and until today everything has been working great. Today one of my
repositories broke and I can't get it back up again. Some of my
repositories have stoped working before but I have always been able to
get them working again by doing 'svnadmin recover'. This did not work
this time.

I can checkout the repository without any errors, the error appears when
I try to commit something:

<shell>
  [mattias@design203 trunk]$ svn ci cpp java
  Sending cpp/src/test/cpp-client-test.cpp
  Sending
java/src/com/touchtable/xmlrpc/businessserver/QueryHelper.java
  Transmitting file data ..svn: Commit failed (details follow):
  svn: Connection closed unexpectedly
  svn: Your commit message was left in a temporary file:
  svn:
'/home/mattias/tt-projects/business-server/trunk/svn-commit.3.tmp'
</shell>

Unfortunately I have not been able to get subversion to say anything
more than this. If I try to issue the same commit command again I get
this error message:

svn: Commit failed (details follow):
svn: Berkeley DB error for filesystem /home/svn/business-server/db while
opening environment:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: PANIC: fatal region error detected; run recovery
svn: Your commit message was left in a temporary file:
svn: '/home/mattias/tt-projects/business-server/trunk/svn-commit.4.tmp'

If I run 'svnadmin recover' and commit again I get the first error
message again. More information about my specific setup below:

<shell>
[mattias@design203 trunk]$ svn --version
svn, version 1.1.0 (r11180)
    compiled Oct 4 2004, 06:38:21

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' schema
   - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' schema

[mattias@design203 trunk]$ svn info
Path: .
URL: svn+ssh://design200:/home/svn/business-server/trunk
Repository UUID: 25d5b528-76f4-0310-83ce-b61e594780ab
Revision: 64
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 64
Last Changed Date: 2005-10-05 10:40:44 +0200 (Wed, 05 Oct 2005)

[mattias@design203 trunk]$ ssh design200
[mattias@design203 trunk]$ cd /home/svn/business-server

[mattias@design200 business-server]$ find . -exec ls -dils {} \;
10846693 4 drwxrwsr-x 7 mattias devel 4096 Apr 11 11:54 .
10846695 4 drwxrwsr-x 2 mattias devel 4096 Apr 11 11:54 ./locks
10846696 4 -rw-rw-r-- 1 mattias devel 460 Apr 11 11:54 ./locks/db.lock
10846697 4 -rw-rw-r-- 1 mattias devel 295 Apr 11 11:54 ./locks/db-logs.lock
10846706 4 -rw-rw-r-- 1 mattias devel 379 Apr 11 11:54 ./README.txt
10846698 4 drwxrwsr-x 2 mattias devel 4096 Apr 11 11:54 ./hooks
10846703 4 -rw-rw-r-- 1 mattias devel 1475 Apr 11 11:54
./hooks/post-revprop-change.tmpl
10846701 4 -rw-rw-r-- 1 mattias devel 1952 Apr 11 11:54
./hooks/pre-revprop-change.tmpl
10846700 4 -rw-rw-r-- 1 mattias devel 2330 Apr 11 11:54
./hooks/pre-commit.tmpl
10846699 4 -rw-rw-r-- 1 mattias devel 1533 Apr 11 11:54
./hooks/start-commit.tmpl
10846702 4 -rw-rw-r-- 1 mattias devel 1411 Apr 11 11:54
./hooks/post-commit.tmpl
10846694 4 drwxrwsr-x 2 mattias devel 4096 Apr 11 11:54 ./dav
10846704 4 drwxrwsr-x 2 mattias devel 4096 Apr 11 11:54 ./conf
10846705 4 -rw-rw-r-- 1 mattias devel 1361 Apr 11 11:54
./conf/svnserve.conf
10846707 4 -r--r--r-- 1 mattias devel 2 Apr 11 11:54 ./format
10846708 4 drwxrwsr-x 2 mattias devel 4096 Oct 5 14:10 ./db
10846782 8 -rw-rw-r-- 1 johan devel 8192 Oct 5 16:10 ./db/locks
10846717 84 -rw-rw-r-- 1 mattias devel 81920 Oct 5 16:10 ./db/nodes
10846718 8 -rw-rw-r-- 1 mattias devel 8192 Oct 5 16:10 ./db/revisions
10846710 4 -rw-rw-r-- 1 mattias devel 1955 Apr 11 11:54 ./db/DB_CONFIG
10846724 8 -rw-rw-r-- 1 mattias devel 8192 Oct 5 16:10 ./db/uuids
10846723 656 -rw-rw-r-- 1 mattias devel 667648 Oct 5 16:10 ./db/strings
10846713 28 -rw-rw-r-- 1 mattias devel 393216 Oct 5 14:10 ./db/__db.003
10846720 8 -rw-rw-r-- 1 mattias devel 8192 Oct 5 16:10 ./db/copies
10846709 4 -rw-rw-r-- 1 mattias devel 4 Apr 11 11:54 ./db/fs-type
10846722 84 -rw-rw-r-- 1 mattias devel 81920 Oct 5 16:10
./db/representations
10846801 1028 -rw-rw-r-- 1 ciuser devel 1048509 Oct 5 11:03
./db/log.0000000150
10846711 12 -rw-rw-r-- 1 mattias devel 16384 Oct 5 14:10 ./db/__db.001
10846792 4 -r--r--r-- 1 johan devel 2 Aug 19 13:25 ./db/format
10846714 636 -rw-rw-r-- 1 mattias devel 892928 Oct 5 14:10 ./db/__db.004
10846719 36 -rw-rw-r-- 1 mattias devel 36864 Oct 5 16:10 ./db/transactions
10846791 8 -rw-rw-r-- 1 johan devel 8192 Oct 5 16:10 ./db/lock-tokens
10846712 276 -rw-rw-r-- 1 mattias devel 278528 Oct 5 14:10 ./db/__db.002
10846715 12 -rw-rw-r-- 1 mattias devel 16384 Oct 5 14:10 ./db/__db.005
10846306 380 -rw-rw-r-- 1 ciuser devel 381282 Oct 5 16:10
./db/log.0000000151
10846721 60 -rw-rw-r-- 1 mattias devel 57344 Oct 5 16:10 ./db/changes

[mattias@design200 business-server]$ svn --version
svn, version 1.2.1 (r15230)
    compiled Jul 13 2005, 05:47:23

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

</shell>

I really don't know where to start looking when trying to solve this
problem. Maybe someone on this list can provide me with some insight?
The only (so called) solution I can think of right now is to start a new
  repository, import the source tree and stop using the current
repository. However, I would prefer to solve this problem before doing
anything like that.

Any help will be greatly appriciated!

Regards,
Mattias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 5 16:43:07 2005

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.