Post
Topic
Board Bitcoin Technical Support
Topic OP
Bitcoind not recognising bitcoin.conf
by
tupelo
on 24/11/2015, 11:16:06 UTC
Hello, I am trying to set up a full node on ubuntu (should add I am a complete noob)

bitcoind -daemon prompts: Bitcoin server starting
~$ Error: Cannot obtain a lock on data directory /home/ubuntu/.bitcoin. Bitcoin Core is probably already running. Permission denied.


But there is nothing running. To be sure I killed it with sudo pkill -9 -f bitcoind

bitcoin-cli getinfo prompts: error: You must set rpcpassword= in the configuration file: /home/ubuntu/.bitcoin/bitcoin.conf
If the file does not exist, create it with owner-readable-only file permissions.


But I have set a bitcoin.conf and also sudo chown + sudo chmod on it.


Can somebody help me?
Thanks