Author

Topic: Command bitcoin-cli getaccountaddress method not found (Read 2316 times)

newbie
Activity: 20
Merit: 0
I solved the problem by sudo apt-get install db5.1-util
newbie
Activity: 20
Merit: 0
I followed to the letter all that you told me but I always get: Reading package lists ... Done
Building dependency tree
Reading state information ... Done
Package libdb4.8 ++ - dev is not available, but is Referred to by another package.
This may mean That the package is missing, Has Been obsoleted, or
is only available from another source
Package libdb4.8-dev is not available, but is Referred to by another package.
This may mean That the package is missing, Has Been obsoleted, or
is only available from another source
E: Package 'libdb4.8-dev' has no installation candidate
E: Package 'libdb4.8 ++ - dev' has no installation candidate
staff
Activity: 3458
Merit: 6793
Just writing some code
When do I get sudo apt-get install libdb4.8-dev libdb4.8++-dev: Package 'libdb4.8-dev' has no installation candidate
E: Package 'libdb4.8 ++ - dev' has no installation candidate
Oops, Sorry I made a mistake.

Open /etc/apt/sources.list and add the line
Code:
deb http://[mirror]/debian/ oldstable main
where [mirror] is
Code:
ftp..debian.org
and is any country on this list: https://www.debian.org/mirror/official#list.

Then run
Code:
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
and compile
newbie
Activity: 20
Merit: 0
After ./configure gives me an error: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality) I tried to give ./configure --with-bdb-compatible and ./configure --with-bdb-compatible \ but I always get the same error. How can I fix
That means that the BerkeylyDB version is not compatible with Bitcoin core. To install the correct one, run these:
Code:
deb http://[mirror]/debian/ oldstable main
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Then compile.

When do I get sudo apt-get install libdb4.8-dev libdb4.8++-dev: Package 'libdb4.8-dev' has no installation candidate
E: Package 'libdb4.8 ++ - dev' has no installation candidate
staff
Activity: 3458
Merit: 6793
Just writing some code
After ./configure gives me an error: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality) I tried to give ./configure --with-bdb-compatible and ./configure --with-bdb-compatible \ but I always get the same error. How can I fix
That means that the BerkeylyDB version is not compatible with Bitcoin core. To install the correct one, run these:
Code:
deb http://[mirror]/debian/ oldstable main
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Then compile.
newbie
Activity: 20
Merit: 0
After ./configure gives me an error: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality) I tried to give ./configure --with-bdb-compatible and ./configure --with-bdb-compatible \ but I always get the same error. How can I fix
newbie
Activity: 20
Merit: 0
I compiled bitcoind following this guide http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server  the debug file is too large are 4.5 Mb how can I do to publish
That's the problem. You compiled with --disable-wallet option and this prevents you from being able to use the getaccountaddress option which requires a wallet. Try recompiling using these instructions instead: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
I realized I too when I read " When the intention is to run only a P2P node without a wallet, bitcoin may be compiled in disable-wallet mode with:

./configure --disable-wallet "
staff
Activity: 3458
Merit: 6793
Just writing some code
I compiled bitcoind following this guide http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server  the debug file is too large are 4.5 Mb how can I do to publish
That's the problem. You compiled with --disable-wallet option and this prevents you from being able to use the getaccountaddress option which requires a wallet. Try recompiling using these instructions instead: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
newbie
Activity: 20
Merit: 0
I compiled bitcoind following this guide http://bitcoin-austria.at/artikel/full-bitcoind-node-debian-7-server  the debug file is too large are 4.5 Mb how can I do to publish
staff
Activity: 3458
Merit: 6793
Just writing some code
Did you compile Bitcoin with wallet support? Could you show us your debug.log?
newbie
Activity: 20
Merit: 0
I was able to compile and install bitcoin on debian 7 and when do: bitcoind-cli getinfo

{
    "version" : 100200,
    "protocolversion" : 70002,
    "blocks" : 330412,
    "timeoffset" : -4,
    "connections" : 17,
    "proxy" : "",
    "difficulty" : 39603666252.41841125,
    "testnet" : false,
    "relayfee" : 0.00001000,
    "errors" : ""
}

But if I want to create a new address and do: bitcoin-cli getaccountaddress I get a strange error " error {"code": - 32601, "message": "Method not found"} "
Jump to: