You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andreas Schildbach <an...@schildbach.de> on 2003/11/12 20:35:37 UTC
"DB_RUNRECOVERY: Fatal error, run database recovery" after using
cvs2svn.py
Hello everyone,
I used the cvs2svn.py script to convert a relatively small repository
(the script detected 165 revisions). The script itself did not bring up
any errors.
But then, accessing my repository via web browser or svn client gets me
the following error:
Berkeley DB error while opening environment for filesystem
/var/lib/svn/xxx/db: DB_RUNRECOVERY: Fatal error, run database recovery
a) Why is this error happening?
b) What do I have to do to run the recovery?
My environment:
server:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 980308 737992 192520 80% /
/dev/hda6 2672232 338304 2198184 14% /var
server:~# svn --version
svn, version 0.32.1 (r7497)
compiled Oct 24 2003, 07:47:41
server:~# apache2ctl -v
Server version: Apache/2.0.47
Server built: Jul 15 2003 14:07:14
server:~# dpkg -l libdb4.1
ii libdb4.1 4.1.25-10 Berkeley v4.1 Database Libraries [runtime]
Regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error, run database recovery" after using
cvs2svn.py
Posted by Andreas Schildbach <an...@schildbach.de>.
Ben Collins-Sussman wrote:
>>Berkeley DB error while opening environment for filesystem
>>/var/lib/svn/xxx/db: DB_RUNRECOVERY: Fatal error, run database recovery
>>
>>a) Why is this error happening?
>
> The error is probably happening due to permissions problems. See the
> "repository permissions" section in chapter 5 of the book.
This hint solved my problem. I was running the cvs2svn script with user
root, leaving some files owned by root behind.
Thanks!
Regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error, run database recovery" after
using cvs2svn.py
Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2003-11-12 at 14:35, Andreas Schildbach wrote:
> Hello everyone,
>
> I used the cvs2svn.py script to convert a relatively small repository
> (the script detected 165 revisions). The script itself did not bring up
> any errors.
>
> But then, accessing my repository via web browser or svn client gets me
> the following error:
>
> Berkeley DB error while opening environment for filesystem
> /var/lib/svn/xxx/db: DB_RUNRECOVERY: Fatal error, run database recovery
>
> a) Why is this error happening?
The error is probably happening due to permissions problems. See the
"repository permissions" section in chapter 5 of the book.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error, run database recovery" after
usingcvs2svn.py
Posted by Andreas Schildbach <an...@schildbach.de>.
Files wrote:
> What is the output of ldd on your httpd2?
> ldd /usr/sbin/httpd2
server:~# ldd /usr/sbin/apache2
libz.so.1 => /usr/lib/libz.so.1 (0x4001a000)
libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40029000)
libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
(0x40058000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40149000)
libldap.so.2 => /usr/lib/libldap.so.2 (0x4015c000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40195000)
libdb-4.1.so => /usr/lib/libdb-4.1.so (0x401a2000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40263000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x40280000)
librt.so.1 => /lib/librt.so.1 (0x4029c000)
libm.so.6 => /lib/libm.so.6 (0x402ae000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x402d1000)
libnsl.so.1 => /lib/libnsl.so.1 (0x402fe000)
libdl.so.2 => /lib/libdl.so.2 (0x40313000)
libc.so.6 => /lib/libc.so.6 (0x40316000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40444000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40494000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x404a7000)
libgnutls.so.7 => /usr/lib/libgnutls.so.7 (0x404b9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libtasn1.so.0 => /usr/lib/libtasn1.so.0 (0x404eb000)
libgcrypt.so.1 => /usr/lib/libgcrypt.so.1 (0x404f9000)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error,
run database recovery" after usingcvs2svn.py
Posted by Files <fi...@poetryunlimited.com>.
Was thinking it might be along the lines of my problems w/ Apache 2.0.47
switcihng midstream from db4.0 to db4.1.
Sorry if this was not the cause.
--
Shamim Islam
BA BS
kfogel@collab.net said:
> "Files" <fi...@poetryunlimited.com> writes:
>> What is the output of ldd on your httpd2?
>
> (Not sure why ldd httpd would have anything to do with this...)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error, run database recovery" after usingcvs2svn.py
Posted by kf...@collab.net.
"Files" <fi...@poetryunlimited.com> writes:
> What is the output of ldd on your httpd2?
>
> ldd /usr/sbin/httpd2
>
> Or where ever else it's located.
(Not sure why ldd httpd would have anything to do with this...)
Andreas, see
http://subversion.tigris.org/project_faq.html#wedged-repos
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "DB_RUNRECOVERY: Fatal error,
run database recovery" after usingcvs2svn.py
Posted by Files <fi...@poetryunlimited.com>.
What is the output of ldd on your httpd2?
ldd /usr/sbin/httpd2
Or where ever else it's located.
--
Shamim Islam
BA BS
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org