On Oct 12, 2004, at 9:24 PM, kfogel@collab.net wrote:
> Dave Camp <dave@thinbits.com> writes:
>> # cd foo/db
>> # /usr/local/BerkeleyDB.4.2/bin/db_recover -c
>> db_recover: Ignoring log file: log.0000000002: magic number 0, not
>> 40988
>> db_recover: Invalid log file: log.0000000002: Invalid argument
>> db_recover: First log record not found
>> db_recover: PANIC: Invalid argument
>> db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
>> recovery
>>
>> At this point, I've given up. The repository was brand new (we just
>> switched to subversion on Monday) so starting over wasn't a big
>> deal. However, it is somewhat distressing that the database can't be
>> fixed. I was under the impression that the journalling was supposed to
>> prevent that... especially considering that the file system it's on is
>> journaled as well (Mac OS X Server with HFS+).
>
> Yuck.
>
> Do you have an 'ls -lR' of the repository?
-rw-r--r-- 1 dave dave 1738 11 Oct 13:11 DB_CONFIG
-rw-r--r-- 1 dave dave 61440 11 Oct 18:05 changes
-rw-r--r-- 1 dave dave 8192 11 Oct 19:57 copies
-rw-r--r-- 1 dave dave 4 11 Oct 13:11 fs-type
-rw-r--r-- 1 dave dave 65502 11 Oct 19:57 log.0000000002
-rw-r--r-- 1 dave dave 1047376 11 Oct 18:05 log.0000000005
-rw-r--r-- 1 dave dave 98238 11 Oct 18:05 log.0000000006
-rw-r--r-- 1 dave dave 40960 11 Oct 18:05 nodes
-rw-r--r-- 1 dave dave 45056 11 Oct 18:05 representations
-rw-r--r-- 1 dave dave 8192 11 Oct 19:57 revisions
-rw-r--r-- 1 dave dave 4300800 11 Oct 18:05 strings
-rw-r--r-- 1 dave dave 8192 11 Oct 19:57 transactions
-rw-r--r-- 1 dave dave 8192 11 Oct 19:57 uuids
Thanks,
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 16:17:04 2004