[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 15:25:37 CET

Ok, I have restarted the server as myself and chmoded the files.

When I now attempt to checkout the files, I get the same error:

[xyz_at_rogdrake tmp]$ svn checkout file:///home/xyz/svn/repositories/windss/trunk .
A autoeod.app
A jrnlview.app
A layadj.app
A PDATest.app
A TESTCLI.APP
.
.
.
svn: Berkeley DB error while reading string for filesystem /home/xyz/svn/repositories/windss/db:
Input/output error

When I look in the /var/log/messages file, here's what I see:

Mar 4 09:26:27 rogdrake kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Mar 4 09:26:27 rogdrake kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=5637250, sector=209104
Mar 4 09:26:27 rogdrake kernel: end_request: I/O error, cmd 0 dev 03:06 (hda), sector 209104
Mar 4 09:26:31 rogdrake kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Mar 4 09:26:31 rogdrake kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=5637250, sector=209104
Mar 4 09:26:31 rogdrake kernel: end_request: I/O error, cmd 0 dev 03:06 (hda), sector 209104
Mar 4 09:26:35 rogdrake kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Mar 4 09:26:35 rogdrake kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=5637250, sector=209104
Mar 4 09:26:35 rogdrake kernel: end_request: I/O error, cmd 0 dev 03:06 (hda), sector 209104

I would venture to say that I am starting to have disk problems? True?

-----Original Message-----
From: Tobias Ringström [mailto:tobias@ringstrom.mine.nu]
Sent: Thursday, March 04, 2004 8:44 AM
To: Philip Martin
Cc: Jeff Lanzarotta; users@subversion.tigris.org
Subject: Re: Subversion 1.0 and Berkeley DB 4.0.14

Philip Martin wrote:
> "Jeff Lanzarotta" <lanzarottaj@rogersltd.com> writes:
>
>>I am unable to run the recovery as myself, I have to run it as root.
>
> That's no surprise...
>
>>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
>
> only root can access this log file.

Exactly. Jeff, chown everything in the repository to yourself, and run
recovery and checkout as yourself using file://, and let us know how it
goes. There is no reason to run svnserve as root. It's an unneccessay
security risk. You should run every tool that touches the repository as
the same user (unless you really know what you are doing).

/Tobias

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