Bitcoin Forum
September 20, 2018, 01:52:55 AM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help with configuration plz  (Read 160 times)
Xiomberg
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
November 28, 2017, 10:58:37 AM
 #1

Good morning,

I would love to mimic, but I think it's a configuration problem with my client.
my available balance is always 0.00000000 BTC and never changed.
There are 12 active users in the Bitcoin network so I think I understand the modem / LAN side well.

The problem I think is in the side effects of cmd (use windows7).

When I run the C: \ Program Files \ Bitcoin \ daemon \ bitcoind -daemon my miles command:
Bitcoin Core is probably already running.

When I run the C: \ Program Files \ Bitcoin \ daemon \ bitcoin-cli getblockchaininfo command my mile program:
error: Unable to locate RPC credentials. Authentication cookies were not found and no rpc password was set in the <C: \ Users \ Mario \ AppData \ Roaming \ Bitcoin \ bitcoin.conf configuration file

How can I solve this problem?

Thank you!!
1537408375
Hero Member
*
Offline Offline

Posts: 1537408375

View Profile Personal Message (Offline)

Ignore
1537408375
Reply with quote  #2

1537408375
Report to moderator
1537408375
Hero Member
*
Offline Offline

Posts: 1537408375

View Profile Personal Message (Offline)

Ignore
1537408375
Reply with quote  #2

1537408375
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537408375
Hero Member
*
Offline Offline

Posts: 1537408375

View Profile Personal Message (Offline)

Ignore
1537408375
Reply with quote  #2

1537408375
Report to moderator
neurotypical
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


View Profile
November 28, 2017, 04:01:16 PM
 #2

Good morning,

I would love to mimic, but I think it's a configuration problem with my client.
my available balance is always 0.00000000 BTC and never changed.
There are 12 active users in the Bitcoin network so I think I understand the modem / LAN side well.

The problem I think is in the side effects of cmd (use windows7).

When I run the C: \ Program Files \ Bitcoin \ daemon \ bitcoind -daemon my miles command:
Bitcoin Core is probably already running.

When I run the C: \ Program Files \ Bitcoin \ daemon \ bitcoin-cli getblockchaininfo command my mile program:
error: Unable to locate RPC credentials. Authentication cookies were not found and no rpc password was set in the <C: \ Users \ Mario \ AppData \ Roaming \ Bitcoin \ bitcoin.conf configuration file

How can I solve this problem?

Thank you!!

Looks like if you don't set rpcuser and rpcpassword inside bitcoin.conf file it looks for the cookie file:

Quote
# If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
# is .cookie and found in the `-datadir` being used for bitcoind. This option is typically used
# when the server and client are run as the same user.

From the wiki:

https://en.bitcoin.it/wiki/Running_Bitcoin

Just look on the "RPC server options:" and set it yourself inside the bitcoin.conf file that you can open with notepad or any text editor.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1526
Merit: 1628


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
November 29, 2017, 05:48:09 AM
 #3

my miles command:
..
my mile program
What are these? Are they part of the command or something else?

How can I solve this problem?
Stop Bitcoind / Bitcoin Core from the task manager. Then start it again.

Looks like if you don't set rpcuser and rpcpassword inside bitcoin.conf file it looks for the cookie file:
There is no need to set an rpcuser or rpcpassword. Just use the cookie file. It seems like that file was not created, so restarting the client should solve that problem.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!