Author

Topic: Seem like bitcoin -daemon not run (Read 173 times)

sr. member
Activity: 310
Merit: 727
---------> 1231006505
August 21, 2018, 11:41:16 AM
#4
Can you check the debug.log file because it seems your bitcoind is not running based on the error message you gave.

Code:
tail /home/ubuntu/.bitcoin/debug.log

The output of the debug.log could help a lot to see what's your problem. But there is a good chance the directory bitcoind is trying to access either doesn't exist or is doesn't have access right to read/write there. Or you are having errors in your confguration file. In the last case delete your bitcoin.conf file all together and try again.
staff
Activity: 3458
Merit: 6793
Just writing some code
August 21, 2018, 11:38:33 AM
#3
That error means that bitcoind started, ran into a problem (usually in the configuration) and then shut down.

Please post the contents of your debug.log file.
legendary
Activity: 1946
Merit: 1427
August 21, 2018, 11:34:26 AM
#2
I don't think you configured/ran it correctly.

A quick google search on your error gives a lot of instances with people that seem to have the exact same problem.

See

Quote
You're getting this error because bitcoind isn't running. Once it is, it will create an authentication cookie, and bitcoin-cli will be able to connect.

To start bitcoind from cmd prompt, type:
Code:
cd C:/Program\ Files/Bitcoin/daemon/
Press enter, then type:
Code:
bitcoind
And press enter.
https://bitcoin.stackexchange.com/questions/59140/could-not-locate-rpc-credentials-error?rq=1

Obviously replace the paths with your respective paths.

Let me know if this resolves anything.
newbie
Activity: 18
Merit: 0
August 21, 2018, 10:32:51 AM
#1
In terminal I key in following

ubuntu@ip-111:/etc/bitcoin$ bitcoind -daemon
Bitcoin server starting
ubuntu@ip-111:/etc/bitcoin$ bitcoin-cli uptime
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/ubuntu/.bitcoin/bitcoin.conf)

Then I check netstat -ltap but no bitcoind appear as one of PID listening to port.


Please guide me what has wrong.
Jump to: