Bitcoin Forum
May 03, 2024, 08:30:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind does not coexist with bitcoin  (Read 1261 times)
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 14, 2011, 07:40:18 PM
Last edit: June 14, 2011, 10:56:57 PM by Shevek
 #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!!??

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
1714768221
Hero Member
*
Offline Offline

Posts: 1714768221

View Profile Personal Message (Offline)

Ignore
1714768221
Reply with quote  #2

1714768221
Report to moderator
1714768221
Hero Member
*
Offline Offline

Posts: 1714768221

View Profile Personal Message (Offline)

Ignore
1714768221
Reply with quote  #2

1714768221
Report to moderator
1714768221
Hero Member
*
Offline Offline

Posts: 1714768221

View Profile Personal Message (Offline)

Ignore
1714768221
Reply with quote  #2

1714768221
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714768221
Hero Member
*
Offline Offline

Posts: 1714768221

View Profile Personal Message (Offline)

Ignore
1714768221
Reply with quote  #2

1714768221
Report to moderator
koin
Legendary
*
Offline Offline

Activity: 873
Merit: 1000


View Profile
June 15, 2011, 12:40:31 AM
 #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?
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 15, 2011, 10: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.

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
dr.bitcoin
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 15, 2011, 12:42:43 PM
 #4

Doesn't this sound like a corrupt database? Did your machine crash at any point when playing with bitcoind and bitcoin?
Shevek (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 15, 2011, 01:25:07 PM
 #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...

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!