-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing wallet software from Peercoin to Peerunity to Peercoin causing DB exception #68
Comments
This is the same error that we saw when attempting to move from DB's built with BDB 5.3 to those built with the correct db-4.8.30.NC. This leads me back to wondering what kind of differences there are between the old libdb4.8++-dev packages that Sunny built Peercoin with and the db-4.8.30.NC.tar.gz package that we and bitcoin are now using. |
I've got exactly the same error after compiling latest Peerunity from master, running Peerunity once then trying to restart ppcoind. Ubuntu 14.04 32bit.
|
As @pennybreak indicated above, all indications point to a version mismatch in the BerkeleyDB dependencies that @sunnyking used to compile the Peercoin reference client (a specific version of libdb4.8++-dev, which isn't available from any source that we can find) and the version that Peerunity is built with (db-4.8.30.NC). Bitcoin ran into the same problem with incompatible versions of wallets, and there is a straight-forward fix that can be run from the command line to correct it. Make sure that none of your Peerunity or Peercoin clients are running (GUI or daemon), and if they are, shut them down before you start. I'm assuming your .ppcoin directory is located at the root of your /home directory, so if it isn't, just adapt the first step:
Now, when you restart ppcoind, it should launch as expected. We've talked about adding a bash script that could do this for you, but other than in situations where you're testing the functionality, do we envision that large groups of users are going to be attempting to seamlessly go back and forth between their Peerunity clients and Peercoin reference clients? If you see this, @sunnyking, could you please run a test for us? To try to lock down if this issue is in fact caused by the dependency mismatch that we think it is could you let us know what output is returned when you run this command on the system you used to build the Peercoin v0.4.0 reference binaries?
The output will look something like this:
Thank you! |
On recent Ubuntu releases, the libdb4.8++-dev package is not in the default repositories. However it's in the bitcoin repository, which we can add with: sudo apt-add-repository ppa:bitcoin/bitcoin |
Changing wallet software from Peecoin 0.4.0 to Peerunity 0.1.0 and then back to Peercoin 0.4.0 causes DB exception upon startup:
The text was updated successfully, but these errors were encountered: