Christian Reiner wrote:
> Hi there..
> we do have a servious problem today, maybe someone can give me a hand:
>
> our repos worked fine over the last month, since this morning we can't write
> to it any longer. svn update works, so reading access seems to be ok.
Does svnadmin dump work?
> a commit results in this message:
> ....
> Transmitting file data .svn: Berkeley DB error
> svn: Commit failed (details follow):
> svn: Berkeley DB error while appending string for filesystem
> /entwicklung/var/svn/db:
> DB_RUNRECOVERY: Fatal error, run database recovery
> Aborted
> ....
Wild guess: Is the disk full?
> a db recovery finishes without any problems, the permissions are corrected
> automatically (I wrote a wrapper for the svnrepair cmd)
> so the svn process does have write access on the repository file structure.
When you say that the permissions are corrected, do you mean that the
permissions were incorrect? If so, how did they become incorrect?
Does the following work:
1. Become user X
2. Make sure there are no svn or svnadmin processes running.
3. Check again. Use ps.
4. Make sure all files in the repos are owned by X and writable by X
5. Do a svnadmin recover as X. Successful?
6. Do a checkout as X. Successful?
If this works, then you had a permission problem.
> the environment:
> access is done via file, not via http, the repos runs on a linux box (kernel
> 2.4.19).
> the cmd line svn command serves as client (on linux boxes as well)
> svn version is 0.22.2 (r5918) (I know that's not really up-to-date, but it
> just worked fine for us...)
If you want help, you *really really* need to upgrade to the latest
version (0.29.0).
Note that a dump/reload is neccessary when you upgrade to the latest
version. It's a simple operation, and it's described in the CHANGES file
and in other places.
> before pulling back tp the latest backup I'd like to ry to repair the repos
> since we would have lost one days work otherwise. So if anyone can give me a
> hint I'd be really happy...
/Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 17 12:19:59 2003