Pages:
Author

Topic: LOG for errors - page 2. (Read 369 times)

newbie
Activity: 16
Merit: 5
January 12, 2021, 07:53:39 AM
#4
It seems your bitcoin.conf file is not properly setup that's why you get that error sometimes.

Can you check your bitcoin.conf file and share it here or if you don't have bitcoin.conf file make a new one and add these codes below as samples.

Hello once again,
Tried both of your config samples, but for some reason daemon still crashing.


user@ubuntu:~$ bitcoind -daemon
Bitcoin Core starting
user@ubuntu:~$ bitcoin-cli getconnectioncount
error: Could not connect to the server 127.0.0.1:8332

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
user@ubuntu:~$


Any ideas? :|
newbie
Activity: 16
Merit: 5
January 11, 2021, 03:39:44 PM
#3
It seems your bitcoin.conf file is not properly setup that's why you get that error sometimes.

You right. There was no conf file at all.
Created, pasted your first example, looks like it is working now Smiley Thank you.

time for lightning now...

legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
January 11, 2021, 01:52:13 PM
#2
It seems your bitcoin.conf file is not properly setup that's why you get that error sometimes.

Can you check your bitcoin.conf file and share it here or if you don't have bitcoin.conf file make a new one and add these codes below as samples.

Sample of bitcoin.conf config:
Code:
rpcuser=user
rpcpassword=pass
rpcallowip=127.0.0.1
rpcport=8332
rpcthreads=10
server=1


Another sample.
Code:
# Connection settings
rpcallowip=127.0.0.1
rpcuser=[USER]
rpcpassword=[PASSWORD]
rpcport=8332
rpcbind=127.0.0.1:8332

Then reboot and run bitcoind manually and test it again.
newbie
Activity: 16
Merit: 5
January 11, 2021, 12:41:40 PM
#1
Is there any log for bitcoin core?
As you can see below, when i check connection count for the first time, it says 9.
But trying the same command after ±20min. it says that core is not running.
Where should i look for the errors?



user@ubuntu:~$ bitcoin-cli getconnectioncount
9
user@ubuntu:~$ bitcoin-cli getconnectioncount
error: Could not connect to the server 127.0.0.1:8332

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
Pages:
Jump to: