Bitcoin Forum
October 18, 2018, 01:02:50 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind does not coexist with bitcoin  (Read 1193 times)
Shevek
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 14, 2011, 07: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!!??

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539867770
Hero Member
*
Offline Offline

Posts: 1539867770

View Profile Personal Message (Offline)

Ignore
1539867770
Reply with quote  #2

1539867770
Report to moderator
1539867770
Hero Member
*
Offline Offline

Posts: 1539867770

View Profile Personal Message (Offline)

Ignore
1539867770
Reply with quote  #2

1539867770
Report to moderator
1539867770
Hero Member
*
Offline Offline

Posts: 1539867770

View Profile Personal Message (Offline)

Ignore
1539867770
Reply with quote  #2

1539867770
Report to moderator
koin
Legendary
*
Offline Offline

Activity: 874
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
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
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!