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

svn: Berkeley DB error while opening environment for filesystem tachs/db

From: Christian Lescuyer <cl_at_goelette.net>
Date: 2004-02-17 13:28:45 CET

Hi,

I'm trying to set up a subversion server. Things seem to go well, until I do
something with svnadmin on the server.

Here is the sequence:
svn@maske 13:16:08> svnadmin create tachs

TortoiseSVN: import empty directory structure (trunk\ and branches\)
TortoiseSVN: import initial stuff in trunk\
TortoiseSVN: checkout
TortoiseSVN: various updates/commits
TortoiseSVN: Branch/Tag

Everything seems OK. I can browse the repository with Internet Explorer.

Then, back to command line (on the server):
svn@maske 13:16:15> svnadmin dump tachs >tachs.dump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
* Dumped revision 4.
Aborted

(tachs.dump empty)

Second try:
svn@maske 13:25:19> svnadmin dump tachs >tachs.dump
/srv/svn/
svn: Berkeley DB error while opening environment for filesystem tachs/db:
DB_RUNRECOVERY: Fatal error, run database recovery

That's it, nothing works anymore. I get "Could not open the requested SVN
filesystem" in IE6. As far as I can tell, the permissions are unchanged
except for apache log file:

svn@maske 13:26:49> umask
/srv/svn/
0002
svn@maske 13:27:34> ls -l tachs/db
/srv/svn/
total 6756
-rw-rw-r-- 1 svn web 1738 Feb 17 13:16 DB_CONFIG
-rw-rw-r-- 1 svn web 8192 Feb 17 13:16 __db.001
-rw-rw-r-- 1 svn web 270336 Feb 17 13:16 __db.002
-rw-rw-r-- 1 svn web 327680 Feb 17 13:16 __db.003
-rw-rw-r-- 1 svn web 737280 Feb 17 13:16 __db.004
-rw-rw-r-- 1 svn web 16384 Feb 17 13:16 __db.005
-rw-rw-r-- 1 svn web 139264 Feb 17 13:25 changes
-rw-rw-r-- 1 svn web 8192 Feb 17 13:25 copies
-rw-r--r-- 1 apache web 1048557 Feb 17 13:17 log.0000000006
-rw-r--r-- 1 apache web 478947 Feb 17 13:24 log.0000000007
-rw-rw-r-- 1 svn web 81920 Feb 17 13:25 nodes
-rw-rw-r-- 1 svn web 106496 Feb 17 13:25 representations
-rw-rw-r-- 1 svn web 8192 Feb 17 13:25 revisions
-rw-rw-r-- 1 svn web 4001792 Feb 17 13:25 strings
-rw-rw-r-- 1 svn web 8192 Feb 17 13:25 transactions
-rw-rw-r-- 1 svn web 8192 Feb 17 13:25 uuids

I've seen a couple of mails about a possible problem with NPTL. I recompiled
db with --disable-posixmutexes. I also have --enable-compat185.

Still no luck. I have no idea what to do next. Any advice?

Thanks
Xtian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 17 13:28:36 2004

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.