<<  >> (p.2)
    Author Topic: [Guide] Futurebit Apollo BTC Custom Linux Install - Node  (Read 564 times)
    n0nce (OP)
    Hero Member
    *****
    Offline Offline

    Activity: 938
    Merit: 6012


    not your keys, not your coins!


    View Profile WWW
    November 16, 2022, 09:08:49 PM
     #21

    Hi N0nce,

    I followed the steps you outlined to install bitcoin-cli.  Doesn't appear to have worked, unfortunately.  I am getting the same error after installation in the debug file and when I ran bitcoin-cli echo 'hello world', I got the following:

    error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set.  See -rpcpassword and -stdinrpcpass.  Configuration file: (/home/futurebit/.bitcoin/bitcoin.conf)

    I'm thinking I don't actually have bitcoin-cli installed as when I entered the command sudo install -m 0755 -o root -g root -tusr/local/bin bin/bitcoin-cli, the command line simply reloaded to the base user and nothing was communicated about installation.
    No, no, that all looks good. It just means Bitcoin Core is running as a different user. I get that when running bitcoin-cli as a different user than the actual Bitcoin Core bitcoind daemon.

    I seriously hope it isn't the case, but it is possible that on default Futurebit OS, Core runs as root. To verify, try sudo bitcoin-cli getinfo.

    If my suspicion holds true, you would need to create RPC credentials like the error message suggests.

    n0nce.eu
Page 1
Viewing Page: 2