![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
| Hello all, I am pretty new on Berkeley DB but I read the manuals for the db_recover tool and I am having a problem using it. When I run db_verify I get db_verify caTotalRequestedUrls\:1 db_verify: mmap: Resource temporarily unavailable db_verify: Page 8: non-invalid page 9 on free list db_verify: DB->verify: caTotalRequestedUrls:1: DB_VERIFY_BAD: Database verification failed When I run db_recover I always get db_recover db_recover: mmap: Resource temporarily unavailable in the directory which I run db_recover I have few DB files which only one has the problem and I do not have any log file. The log.0000000001 is created after I run the db_recover. My question is, does the message indicate that I am missing log files? Do I need to have the log file(s) in order to run the db_recover tool? Reading the manual of db_recover and the C api (DB_ENV->open) it is mandatory to create log files if you want to recover the db. So, I do need to have the log files ,am I right? Checking the code(Perl using BerkeleyDB module) of the application, which creates the DB, I do not see any DB_LOG_DIR statements. I believe the code must be changed in order to create log files. what do you think? Cheers, Pavlos If I do not have the log files |
![]() |
| Thread Tools | |
| Display Modes | |
| |