Recover Berkeley DB File
Pavlos Parissis
p_pavlos at freemail.gr
Fri Mar 31 10:50:42 EEST 2006
Hello,
Iparxoun dio tropoi na kaneis recover thn Berkely DB
a) to application to kanei gia esena sto start up
Gia parafigma oi ekdoseis >2.0.0 openldap kanei gia esena to recover(otan
mporei)
b) db_recover tool
For more info
http://www.sleepycat.com/docs/ref/transapp/recovery.html
BTW, den eimai guru kai kserw oti lei to manual.....
Pavlos
Αρχικό μήνυμα από Panayotis Tsiamis <ptsiamis at fg.internet.gr>:
> Ma kala oute mia apantisi apo oli ti koinotita den pira se kati pou
> kanonika einai aplo gia tous "guru" tou linux pou apartizoun tin eliniki
> linux koinotita?
>
> Apo oti fenete oi ellhnes "veteranoi" tou unix xrisimopioun tis
> ikanotites tous mono sto kanoun ton daskalo stous kainourgious xristes
> linux kai apofeugoun tis diskoles erotiseis gia na mi fanoun adahs oste
> na exoun ena kalo profile.
>
>
> O/H Panayotis Tsiamis έγραψε:
> > To problima einai to exeis, kratao se bdb dns lookups
> > pou kanei o webaliser alla ana takta xronika diastimata
> > ginete corrupted. Yparxei tropos oste na mporo na ti kano recover
> > i tha anagasto na balo ena djbdns cache sto mixanaki?
> >
> > $ file dns_cache.db.old.2
> > dns_cache.db.old.2: Berkeley DB (Hash, version 8, native byte-order)
> >
> > $ db_verify dns_cache.db.old.2
> > db_verify dns_cache.db.old.2
> > db_verify: Page 860: item 128 hashes incorrectly
> > db_verify: Page 861: item 134 hashes incorrectly
> > db_verify: Page 2134: item 6 hashes incorrectly
> > db_verify: Page 2934: non-empty page in unused hash bucket 2329
> > db_verify: Page 0: page 4824 encountered a second time on free list
> > db_verify: DB->verify: dns_cache.db.old.2: DB_VERIFY_BAD: Database
> > verification failed
> >
> >
> > $ db_stat -d dns_cache.db.old.2
> > 61561 Hash magic number.
> > 8 Hash version number.
> > Flags: little-endian
> > 4096 Underlying database page size.
> > 0 Specified fill factor.
> > 149359 Number of keys in the database.
> > 149359 Number of data items in the database.
> > 2329 Number of hash buckets.
> > 1584766 Number of bytes free on bucket pages (83% ff).
> > 0 Number of overflow pages.
> > 0 Number of bytes free in overflow pages (0% ff).
> > 778 Number of bucket overflow pages.
> > 2866515 Number of bytes free in bucket overflow pages (10% ff).
> > 0 Number of duplicate pages.
> > 0 Number of bytes free in duplicate pages (0% ff).
> > 1 Number of pages on the free list.
> >
> >
> > --
> > thnx panayotis
> >
> >
> >
>
>
>
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list