Author

Topic: Method not found (Read 1020 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
July 07, 2017, 01:46:26 PM
#13
Yes, I sure.
How I can completely uninstall the current version?
Just delete the binaries: bitcoind, bitcoin-qt, and bitcoin-cli. Although when you install the new version, it should overwrite the binaries that already exist.
sr. member
Activity: 292
Merit: 251
July 07, 2017, 01:43:23 PM
#12
Yes, I sure.
How I can completely uninstall the current version?
staff
Activity: 3458
Merit: 6793
Just writing some code
July 06, 2017, 10:29:26 PM
#11
Bitcoin.org does not distribute binaries without wallet functionality. Are you absolutely sure that you got this from bitcoin.org? Can you try downloading and installing the latest version from bitcoin.org?
sr. member
Activity: 292
Merit: 251
July 06, 2017, 08:57:45 PM
#10
How did you install bitcoind? Did you compile it yourself? Or did you download it from bitcoin.org? Or was it built by someone else and given to you?
I use this instruction:
https://bitcoin.org/en/full-node#other-linux-distributions
staff
Activity: 3458
Merit: 6793
Just writing some code
July 06, 2017, 08:19:49 PM
#9
How I can fix this?
How did you install bitcoind? Did you compile it yourself? Or did you download it from bitcoin.org? Or was it built by someone else and given to you?
sr. member
Activity: 292
Merit: 251
July 06, 2017, 08:00:04 PM
#8
Your install of bitcoind does not have wallet functionality compiled into it. Thus none of the wallet RPC commands will work, and this includes getaddressbyaccount
[/quote]
How I can fix this?
staff
Activity: 3458
Merit: 6793
Just writing some code
July 06, 2017, 06:36:24 PM
#7
Code:
$ bitcoin-cli getinfo
{
  "version": 130200,
  "protocolversion": 70015,
  "blocks": 474554,
  "timeoffset": 0,
  "connections": 13,
  "proxy": "",
  "difficulty": 708659466230.332,
  "testnet": false,
  "relayfee": 0.00001000,
  "errors": ""
}
Your install of bitcoind does not have wallet functionality compiled into it. Thus none of the wallet RPC commands will work, and this includes getaddressbyaccount
sr. member
Activity: 292
Merit: 251
July 06, 2017, 06:26:34 PM
#6
Code:
$ which bitcoin-cli
/home/bitcoinuser/bin/bitcoin-cli
$ pwd
/home/bitcoinuser
$ whoami
bitcoinuser
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ uname -a
Linux domain.com 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1
$ bitcoin-cli getinfo
{
  "version": 130200,
  "protocolversion": 70015,
  "blocks": 474554,
  "timeoffset": 0,
  "connections": 13,
  "proxy": "",
  "difficulty": 708659466230.332,
  "testnet": false,
  "relayfee": 0.00001000,
  "errors": ""
}
$ ps -ef | grep bitcoind
bitcoin    735     1  2 Jul05 ?        01:12:04 /home/bitcoinuser/bin/bitcoind -daemon
bitcoin   9141  8496  0 00:21 pts/0    00:00:00 grep bitcoind
$ lsof -i :8333
COMMAND  PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
bitcoind 735 bitcoinuser   11u  IPv6  12806      0t0  TCP *:8333 (LISTEN)
bitcoind 735 bitcoinuser   12u  IPv4  12807      0t0  TCP *:8333 (LISTEN)
bitcoind 735 bitcoinuser   15u  IPv4 433911      0t0  TCP domain.com:56368->z160-151.worldeuserver.org:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   21u  IPv4  25767      0t0  TCP domain.com:48179->static.246.56.9.5.clients.your-server.de:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   22u  IPv4  14017      0t0  TCP domain.com:40343->cpe-104-231-36-186.cinci.res.rr.com:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   27u  IPv4  22613      0t0  TCP domain.com:57026->phobos.wgops.com:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   28u  IPv4  14016      0t0  TCP domain.com:8333->host-188.65.213.21.knopp.ru:33944 (ESTABLISHED)
bitcoind 735 bitcoinuser   29u  IPv4  25731      0t0  TCP domain.com:8333->dsn-tn-01.scc.kit.edu:59447 (ESTABLISHED)
bitcoind 735 bitcoinuser   30u  IPv4 134987      0t0  TCP domain.com:37322->c-24-245-44-136.hsd1.mn.comcast.net:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   31u  IPv4  22671      0t0  TCP domain.com:47072->static.145.201.47.78.clients.your-server.de:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   32u  IPv4  14028      0t0  TCP domain.com:33518->vps.hsmiths.com:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   33u  IPv4  20413      0t0  TCP domain.com:8333->dsn-bm-01.scc.kit.edu:53367 (ESTABLISHED)
bitcoind 735 bitcoinuser   36u  IPv4  20443      0t0  TCP domain.com:8333->maesa.di.unipi.it:47468 (ESTABLISHED)
bitcoind 735 bitcoinuser   37u  IPv4  14042      0t0  TCP domain.com:35592->216.189.147.181:8333 (ESTABLISHED)
bitcoind 735 bitcoinuser   39u  IPv4  23776      0t0  TCP domain.com:8333->static.120.139.243.136.clients.your-server.de:65444 (ESTABLISHED)
$ lsof -i :8332
COMMAND  PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
bitcoind 735 bitcoinuser   9u  IPv6  12802      0t0  TCP localhost:8332 (LISTEN)
bitcoind 735 bitcoinuser   10u  IPv4  12804      0t0  TCP localhost:8332 (LISTEN)
$ cat ~/.bitcoin/bitcoin.conf
daemon=1
txindex=1
rpcuser=bitcoinuser
legendary
Activity: 3514
Merit: 5123
https://merel.mobi => buy facemasks with BTC/LTC
July 06, 2017, 03:38:43 PM
#5
could you execute the following commands and post the output?
Edit out passwords (and other sensitive information)

Code:
which bitcoin-cli
pwd
whoami
cat /etc/os-release
uname -a
bitcoin-cli getinfo
ps -ef | grep bitcoind
lsof -i :8333
lsof -i :8332

also, this one WITHOUT usernames and passwords:
cat ~/.bitcoin/bitcoin.conf
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
July 06, 2017, 03:33:40 PM
#4
What version are you running?
sr. member
Activity: 292
Merit: 251
July 06, 2017, 03:22:58 PM
#3
Code:
bitcoin-cli help getaccountaddress
help: unknown command: getaccountaddress
$bitcoin-cli help | grep account
$
legendary
Activity: 3514
Merit: 5123
https://merel.mobi => buy facemasks with BTC/LTC
July 06, 2017, 08:03:47 AM
#2
Code:
bitcoin-cli getaccountaddress
error code: -32601
error message:
Method not found
bitcoin-cli getaccountaddress ""
error code: -32601
error message:
Method not found
wtf?

did you include the account? In other words, did you enter
bitcoin-cli getaccountaddress
or
bitcoin-cli getaccountaddress ""

Only the second command is correct

you can also read the help:
bitcoin-cli help | grep account
bitcoin-cli help getaccountaddress
sr. member
Activity: 292
Merit: 251
July 06, 2017, 08:00:00 AM
#1
Code:
bitcoin-cli getaccountaddress
error code: -32601
error message:
Method not found
bitcoin-cli getaccountaddress ""
error code: -32601
error message:
Method not found
wtf?
Jump to: