Bitcoin Forum
May 21, 2024, 08:55:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind unable to check getbalance (Error: There is no RPC client functionality  (Read 2560 times)
soumikr (OP)
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
September 15, 2015, 03:35:54 PM
 #1

Matter :

I have installed bitcoind wallet successfully but there is problem when i am trying to check my bitcoin wallet balance.

I have used these commands to install bitcoind :

===================================================

Install the wallet Bitcoin:
Run these command lines one after the other:
1. sudo aptitude install python-software-properties
2. sudo add-apt-repository ppa:bitcoin/bitcoin
3. sudo aptitude update
4. sudo aptitude install bitcoind
5. mkdir ~/.bitcoin/ 

Configure Bitcoind Edit an empty ~/.bitcoin/bitcoin.conf file in the .bitcoin folder, enter this
command: nano ~/.bitcoin/bitcoin.conf

Insert the following code in it:
server=1
daemon=1
rpcuser=INVENT_A_UNIQUE_USERNAME
rpcpassword=INVENT_A_UNIQUE_PASSWORD
rpcport=8332
addnode=INSERT_THE_COIN_NODE

Start Bitcoind Just type bitcoind in the terminal.
bitcoind

It will output “Bitcoin server starting”
To see your available balance, type: bitcoind getbalance.
Result should be: 0.00000000 

=======================================================

So when i am checking my balance with this command : bitcoind getbalance

its giving me this error ::
Error: There is no RPC client functionality in bitcoind anymore. Use the bitcoin-cli utility instead.

I have tried to find solution for this error but not get yet. I hope you guys can help me out regarding my issue hopefully.


Best
Regards
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
September 15, 2015, 04:23:27 PM
 #2

Run bitcoind in one terminal. Then use another terminal with and use
 
Code:
bitcoin-cli <command>

soumikr (OP)
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
September 15, 2015, 05:01:04 PM
 #3

Run bitcoind in one terminal. Then use another terminal with and use
 
Code:
bitcoin-cli <command>

Hello,

Thanks for your quick response. but when i am running that commands it giving me this :

root@coindice:~# bitcoin-cli
/usr/bin/env: node: No such file or directory

Could you please tell me what other step i need to do on this case.

Thanks
Regards
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6642


Just writing some code


View Profile WWW
September 15, 2015, 07:21:20 PM
 #4

Run bitcoind in one terminal. Then use another terminal with and use
 
Code:
bitcoin-cli <command>

Hello,

Thanks for your quick response. but when i am running that commands it giving me this :

root@coindice:~# bitcoin-cli
/usr/bin/env: node: No such file or directory

Could you please tell me what other step i need to do on this case.

Thanks
Regards
Check your path. Make sure that the binary for bitcoin-cli is on the path (it should be since bitcoind ran).

Try running the binary directly by entering in the full path for bitcoin-cli.

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!