dbTalk Databases Forums  

db_printlog and db_stat error

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss db_printlog and db_stat error in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sarah
 
Posts: n/a

Default db_printlog and db_stat error - 10-11-2005 , 07:21 PM






Hi,
I posted this question some time ago, but have got no answer. I found
some similar question on http://www.database-forum.com/ftopic1846.html.
But I don't quite understand how I should set up so that I can use db
utilities. I reposted this message to hope to get some help.

I have installed ex_repquote example from version 4.3.28 on Redhat 9
according to
http://www.sleepycat.com/docs/ref/rep/ex.html

I start the application using:
../ex_repquote -M -p 100 -n 1 -h TESTDIR -m server1:6001

If I use db_printlog as "db_printlog -h TESTDIR", I got:

db_printlog: region error detected; run recovery.
db_printlog: Ignoring log file: TESTDIR/log.0000000001: unsupported log
version 10
db_printlog: Invalid log file: log.0000000001: Invalid argument
db_printlog: PANIC: Invalid argument
Segmentation fault


I tried to use: db_stat -e -h TESTDIR. I got:

db_stat: region error detected; run recovery.
db_stat: DB_ENV->open: TESTDIR: DB_RUNRECOVERY: Fatal error, run
database recovery

If I use " db_printlog -V", I got:
Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
(although I downloaded and installed 4.3.x). I don't know if this is
related to the above problem though.

If I use the example on:
http://www.sleepycat.com/docs/ref/tr.../env_open.html

I also got the same error instead of what is printed out in the
documentation.


Does anyone have any suggestion? Thank you for your help in advance.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.