Atualmente estou usando o svn com o Berkeley DB, e apenas hoje quando tento acessar o repositório eu recebo o erro "Não foi possível abrir o SVN solicitado sistema de arquivos ".
Quando eu executei "svnadmin recover", recebo o seguinte:
svnadmin: DB_RUNRECOVERY: Fatal error, run database recovery
svnadmin: bdb: DB_LOGC->get: LSN 564/955694: invalid log record header
svnadmin: bdb: Skipping log file e:\svn\db\log.0000000368: historic log
version
10
svnadmin: bdb: DB_LOGC->get: log record LSN 564/955710: checksum mismatch
svnadmin: bdb: DB_LOGC->get: catastrophic recovery may be required
svnadmin: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
svnadmin: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
Eu fiz o download dos binários do Berkley DB e tentei executar o db_recover, mas receba o seguinte erro:
c:\Program Files\Sleepycat Software\Berkeley DB 4.4.20\bin>db_recover
-vech e:\svn\db
Finding last valid log LSN: file: 565 offset 131910
db_recover: DB_LOGC->get: LSN 564/955694: invalid log record header
db_recover: Skipping log file e:\svn\db\log.0000000368: historic log
version 10
db_recover: DB_LOGC->get: log record LSN 564/955710: checksum mismatch
db_recover: DB_LOGC->get: catastrophic recovery may be required
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: unable to join the environment
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
Meu problema é semelhante ao descrito aqui:
Então eu deletei os arquivos __db * e lote. * do diretório db, e tentou executar o comando acima novamente, mas agora db_recover e svnadmin recuperar dá o seguinte:
c:\Program Files\Sleepycat Software\Berkeley DB 4.4.20\bin>db_recover
-vech e:\svn-repair\db
Finding last valid log LSN: file: 1 offset 28
c:\Program Files\Sleepycat Software\Berkeley DB 4.4.20\bin>svnadmin
recover e:\svn-repair
?w‥u±oAER×RwAecw.
?Dμy?Y; -×’_AER×Rw?]3\±oaa?O?@‥CRE?!...
-×’_§1|‥.
svnadmin: AER×‥t2I 'e:/svn-repair/db' ao Berkeley DB ?u?~, ·i?i|a
opening 'node
s' table RE:
Invalid argument
svnadmin: bdb: file nodes (meta pgno = 0) has LSN [564][856423].
svnadmin: bdb: end of log is [1][28]
svnadmin: bdb: e:\svn-repair\db\nodes: unexpected file type or format
Sim, os personagens jibblish realmente aparecem.
Eu realmente aprecio se alguém puder me ajudar a recuperar o banco de dados. : (
Tags repository svn