Author

Topic: bitcoind does not coexist with bitcoin (Read 1286 times)

sr. member
Activity: 252
Merit: 250
June 15, 2011, 08:25:07 AM
#5
Doesn't this sound like a corrupt database? Did your machine crash at any point when playing with bitcoind and bitcoin?

No, there is no crash. BTW bitcoin and bitcoind from sourceforge are mutually compatible. But bitcoind from Debian repositories gives the reported problem with both.

I've found a trick to share de same directory. It's not fair play but it works.

After stopping either bitcoin or bitcoind (from SF), delete the file ~.bitcoin/database/log.0000000??, and also eventually ~.bitcoin/bitcoin.pid. Then launching bitcoind from Debian packet yield no problem. Before re-run the programs of SF, the same file deletion should be done.

I'm not sure why, but it solves the problem...
newbie
Activity: 28
Merit: 0
June 15, 2011, 07:42:43 AM
#4
Doesn't this sound like a corrupt database? Did your machine crash at any point when playing with bitcoind and bitcoin?
sr. member
Activity: 252
Merit: 250
June 15, 2011, 05:14:11 AM
#3
you can get bitcoind from soureforge as well.   does that version work ok too?

The downloaded bitcoind (0.3.22) from sourceforge gives:

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()       

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery


Of course, I previously stopped the Debian daemon.

I know both shares the directory ~.bitcoin but I supposed that the inside data structure is the same.

Thanks for your tip.
legendary
Activity: 873
Merit: 1000
June 14, 2011, 07:40:31 PM
#2
Hi! This is my first "newbie" message!

I've installed bitcoind from Debian repositories. It works ok.

But, if I stop bitcoind and launch bitcoin from sourceforge, a lot of complaint messages about database corruption appear and the program stops.

Aren't they both compatible!!??

you can get bitcoind from soureforge as well.   does that version work ok too?
sr. member
Activity: 252
Merit: 250
June 14, 2011, 02:40:18 PM
#1
Hi! This is my first "newbie" message!

I've installed bitcoind from Debian repositories. It works ok.

But, if I stop bitcoind and launch bitcoin from sourceforge, a lot of complaint messages about database corruption appear and the program stops.

Aren't they both compatible!!??
Jump to: