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

RE: Subversion 1.0 and Berkeley DB 4.0.14

From: Jeff Lanzarotta <lanzarottaj_at_rogersltd.com>
Date: 2004-03-04 14:33:36 CET

Well, when I look at dmesg and /var/log/messages, there are places where
it mentions that there are disk problems. Maybe it's possible that the
disk is starting to have problems. It's awful strange though, that it
has only started to have problems since I started use svn... Maybe it's
just coincidence...

I had the system fix the errors and tried to checkout everything again
with the same outcome as before.

[xyz@rogdrake tmp]$ svn checkout
file:///home/xyz/svn/repositories/windss/trunk .
svn: Berkeley DB error while committing Berkeley DB transaction for
filesystem /home/xyz/svn/repositories/windss/db:
DB_RUNRECOVERY: Fatal error, run database recovery
Aborted

I am unable to run the recovery as myself, I have to run it as root.

[root@rogdrake tmp]# svnadmin recover /home/xyz/svn/repositories/windss
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 2.

Then when I attempt to do the checkout again, I get the same results...

[xyz@rogdrake tmp]$ svn checkout
file:///home/xyz/svn/repositories/windss/trunk .
svn: Berkeley DB error while committing Berkeley DB transaction for
filesystem /home/xyz/svn/repositories/windss/db:
DB_RUNRECOVERY: Fatal error, run database recovery
Aborted

Like I said before, it's strange that I keep having disk type errors...

Oh, btw, here is the command I use to start the server...

svnserve --daemon --root /home/xyz/svn/repositories

Hope this help...

-----Original Message-----
From: Tobias Ringstrom [mailto:tobias@ringstrom.mine.nu]
Sent: Wednesday, March 03, 2004 5:21 PM
To: Jeff Lanzarotta
Cc: users@subversion.tigris.org
Subject: Re: Subversion 1.0 and Berkeley DB 4.0.14

[Please stay on the list]

Jeff Lanzarotta wrote:
> Ok, here is the log file... I hope it helps...

It looks fine (except for the error), but it is not complete. For
example, you do not show how you start svnserve. Anyway, the first
thing to check is whether you have any messages in dmesg or the system
log (e.g. /var/log/messages). Maybe you really do have a disk problem.
  (I doubt it since it seems to happen in the exact same way every time,

but it's best to be sure.)

But we need to isolate the problem by taking one small step at a time.
First question: Can you checkout using file:// without errors?

/Tobias

Here's his log:
[xyz@rogdrake repositories]$ mkdir windss
[xyz@rogdrake repositories]$ svnadmin create
/home/xyz/svn/repositories/windss

[xyz@rogdrake windss]$ svn import .
file:///home/xyz/svn/repositories/windss -m 'Initial directory layout.'
Adding trunk
Adding branches
Adding tags

Committed revision 1.

pwd
/home/xyz/windss
[xyz@rogdrake windss]$ ll
total 64860
-rwxr--r-- 1 xyz mis 9216 Feb 9 13:59 addfix.app*
-rwxr--r-- 1 xyz mis 11520 Dec 22 11:19 altflg.app*
-rwxr--r-- 1 xyz mis 155904 Dec 22 11:19 assocrep.app*
-rwxr--r-- 1 xyz mis 82944 Dec 22 11:19 AuthCode.app*
-rwxr--r-- 1 xyz mis 18432 Dec 22 11:19 autoeod.app*
-rwxr--r-- 1 xyz mis 363008 Dec 22 11:19 banking.app*
-rwxr--r-- 1 xyz mis 262400 Feb 24 17:13 bkoffice.app*
-rwxr--r-- 1 xyz mis 152576 Dec 22 11:19 boccount.app*
-rwxr--r-- 1 xyz mis 155392 Dec 22 11:19 bointeg.app*
-rwxr--r-- 1 xyz mis 122880 Dec 22 11:19 bospcord.app*
-rwxr--r-- 1 xyz mis 1291264 Mar 1 13:26 ca.app*
-rwxr--r-- 1 xyz mis 790784 Dec 22 11:19 cashout.app*
-rwxr--r-- 1 xyz mis 10240 Dec 22 11:19 cclocfix.app*
-rwxr--r-- 1 xyz mis 979200 Dec 22 11:19 ccount.app*
-rwxr--r-- 1 xyz mis 981504 Dec 22 11:19 ccounthld.app*
-rwxr--r-- 1 xyz mis 136704 Dec 22 11:19 cedata.app*
-rwxr--r-- 1 xyz mis 264448 Dec 22 11:19 CFGXML.APP*
-rwxr--r-- 1 xyz mis 496640 Dec 22 11:19 cimmaint.app*
-rwxr--r-- 1 xyz mis 37888 Dec 22 11:19 clasax.app*
-rwxr--r-- 1 xyz mis 704768 Dec 22 11:19 CLR.APP*
-rwxr--r-- 1 xyz mis 151808 Dec 22 11:19 CLRTSP.APP*
-rwxr--r-- 1 xyz mis 127744 Dec 22 11:19 cltran.app*
-rwxr--r-- 1 xyz mis 244736 Dec 22 11:19 compeng.app*
-rwxr--r-- 1 xyz mis 401920 Dec 22 11:19 comprice.app*
-rwxr--r-- 1 xyz mis 82944 Dec 22 11:19 comreg.app*
-rwxr--r-- 1 xyz mis 81664 Dec 22 11:19 comutil.app*
-rwxr--r-- 1 xyz mis 71424 Dec 22 11:19 crdajb.app*
-rwxr--r-- 1 xyz mis 75776 Dec 22 11:19 CRDARG.APP*
-rwxr--r-- 1 xyz mis 64000 Feb 11 17:07 crdicv.app*
-rwxr--r-- 1 xyz mis 164352 Jan 12 15:59 crdsse.app*
-rwxr--r-- 1 xyz mis 73216 Dec 22 11:19 crdtrs.app*
-rwxr--r-- 1 xyz mis 319488 Feb 11 08:45 credauth.app*
-rwxr--r-- 1 xyz mis 16640 Jan 13 11:28 credcomm.app*
-rwxr--r-- 1 xyz mis 10240 Dec 22 11:19 cusflg.app*
-rwxr--r-- 1 xyz mis 144384 Dec 22 11:19 cwgraph.app*
drwxr-xr-x 2 xyz mis 4096 Mar 2 10:16 data/
-rwxr--r-- 1 xyz mis 134400 Dec 22 11:19 data1.app*
-rwxr--r-- 1 xyz mis 142848 Dec 22 11:19 data2.app*
-rwxr--r-- 1 xyz mis 123648 Dec 22 11:19 data3.app*
-rwxr--r-- 1 xyz mis 125952 Dec 22 11:19 data4.app*
.
.
.

--------

svn import . file:///home/xyx/svn/repositories/windss/trunk -m 'Initial
file import.'

.
.
.
Adding (bin) dataglob.app
Adding (bin) TESTCOM.APP
Adding (bin) flashsls.app
Adding (bin) CFGXML.APP
Adding (bin) cedata.app
Adding (bin) fixwar1.app
Adding (bin) crdsse.app
Adding (bin) cusflg.app
Adding (bin) register.app
Adding (bin) deptfoot.app
Adding (bin) eodmms.app
Adding (bin) pmint.app
Adding (bin) xmltsp.app
Adding (bin) credcomm.app
Adding (bin) formprt.app
Adding (bin) tmcommon.app
Adding (bin) wstx-hold.app
Adding (bin) spcord.app
Adding (bin) posdata.app
Adding (bin) cwgraph.app
Adding (bin) srfix.app
Adding (bin) AuthCode.app
Adding (bin) eododbms.app
Adding (bin) helpedit.app
Adding (bin) syscfg.app

Committed revision 2.

--------

cd /home/xyx/tmp

svn checkout svn://rogdrake/windss/trunk .

.
.
.
A data/CATSKU.TPS
A data/CPSHHDR.TPS
A data/CPPTRDTL.TPS
A data/CCBREAKD.TPS
A data/APPRDFT.TPS
A data/CREDTRN.TPS
A data/CPSHDTL.TPS
A data/COMTRN.TPS
A data/CNTSHAR.TPS
A data/CCBREAKH.TPS
A data/COUNTRY.TPS
A data/CLRHDR.TPS
A data/CACODE.TPS
A data/CSHELP.TPS
A data/CREDTYPE.TPS
A data/CFGXML.TPS
A data/CNTEX.TPS
A data/CSHHDRH.TPS
A data/CRPCLCFG.TPS
A data/CLRDTL.TPS
A data/BAUDRATE.TPS
svn: Berkeley DB error while reading string for filesystem
/home/xyz/svn/repositories/windss/db:
Input/output error
[xyz@rogdrake tmp]$

--------

[xyz@rogdrake repositories]$ ls -lRa windss/
windss/:
total 36
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ./
drwxr-xr-x 3 xyz mis 4096 Mar 3 14:36 ../
drwxr-xr-x 2 xyz mis 4096 Mar 3 15:27 conf/
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 dav/
drwxr-xr-x 2 xyz mis 4096 Mar 3 15:34 db/
-rw-r--r-- 1 xyz mis 2 Mar 3 14:37 format
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 hooks/
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 locks/
-rw-r--r-- 1 xyz mis 376 Mar 3 14:37 README.txt

windss/conf:
total 12
drwxr-xr-x 2 xyz mis 4096 Mar 3 15:27 ./
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../
-rw-r--r-- 1 xyz mis 1120 Mar 3 15:27 svnserve.conf

windss/dav:
total 8
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 ./
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../

windss/db:
total 84484
drwxr-xr-x 2 xyz mis 4096 Mar 3 15:34 ./
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../
-rw-r--r-- 1 xyz mis 86016 Mar 3 15:38 changes
-rw-r--r-- 1 xyz mis 8192 Mar 3 15:34 copies
-rw-r--r-- 1 xyz mis 8192 Mar 3 14:37 __db.001
-rw-r--r-- 1 xyz mis 270336 Mar 3 14:37 __db.002
-rw-r--r-- 1 xyz mis 327680 Mar 3 14:37 __db.003
-rw-r--r-- 1 xyz mis 737280 Mar 3 14:37 __db.004
-rw-r--r-- 1 xyz mis 16384 Mar 3 14:37 __db.005
-rw-r--r-- 1 xyz mis 1738 Mar 3 14:37 DB_CONFIG
-rw-r--r-- 1 xyz mis 1048444 Mar 3 15:34 log.0000000085
-rw-r--r-- 1 root root 414808 Mar 3 15:38 log.0000000086
-rw-r--r-- 1 xyz mis 45056 Mar 3 15:38 nodes
-rw-r--r-- 1 xyz mis 81920 Mar 3 15:38 representations
-rw-r--r-- 1 xyz mis 8192 Mar 3 15:34 revisions
-rw-r--r-- 1 xyz mis 83644416 Mar 3 15:38 strings
-rw-r--r-- 1 xyz mis 8192 Mar 3 15:38 transactions
-rw-r--r-- 1 xyz mis 8192 Mar 3 15:34 uuids

windss/hooks:
total 28
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 ./
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../
-rw-r--r-- 1 xyz mis 1411 Mar 3 14:37 post-commit.tmpl
-rw-r--r-- 1 xyz mis 1475 Mar 3 14:37
post-revprop-change.tmpl
-rw-r--r-- 1 xyz mis 2216 Mar 3 14:37 pre-commit.tmpl
-rw-r--r-- 1 xyz mis 1952 Mar 3 14:37
pre-revprop-change.tmpl
-rw-r--r-- 1 xyz mis 1500 Mar 3 14:37 start-commit.tmpl

windss/locks:
total 16
drwxr-xr-x 2 xyz mis 4096 Mar 3 14:37 ./
drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../
-rw-r--r-- 1 xyz mis 460 Mar 3 14:37 db.lock
-rw-r--r-- 1 xyz mis 295 Mar 3 14:37 db-logs.lock
[xyz@rogdrake repositories]$

--------

[xyz@rogdrake repositories]$ df windss
Filesystem Size Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part6
                       1.4G 395M 1.1G 28% /home

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 14:32:50 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.