Author

Topic: Why "bitcoind" does not start when I run it ??? (Read 988 times)

jr. member
Activity: 56
Merit: 10
Ok Great Thank for all
staff
Activity: 3458
Merit: 6793
Just writing some code
Thanks for your reply but I think normally Bitcoind should start no ?
When you notice the Tutorial of the Youtube Video: https://www.youtube.com/watch?v=W54aRszkEOI, we notice that after the installation of Bitcoind and its launch, we see a message of the kind : "Bitcoin server starting".
   So why in my case I do not get the same message (bitcoin server starting) ?

Thank you for replying and if possible give me another directive regarding why I do not get the message "bitcoin server starting".
You do not get that message because you do not have the -daemon option in the command line args or have daemon=1 in your bitcoin.conf. Without those, bitcoind will not be in daemon mode so there will be no messages to the terminal and it will appear to hang. However, it is not hanging, it is in fact starting.
jr. member
Activity: 56
Merit: 10
Thanks for your reply but I think normally Bitcoind should start no ?
When you notice the Tutorial of the Youtube Video: https://www.youtube.com/watch?v=W54aRszkEOI, we notice that after the installation of Bitcoind and its launch, we see a message of the kind : "Bitcoin server starting".
   So why in my case I do not get the same message (bitcoin server starting) ?

Thank you for replying and if possible give me another directive regarding why I do not get the message "bitcoin server starting".
staff
Activity: 3458
Merit: 6793
Just writing some code
Now I try to run "bitcoind" in the Linux Terminal but nothing appears
That is what is supposed to happen. Bitcoind is not supposed to output anything to the terminal, if it does, something has gone wrong. Bitcoind has started when you see it "hang". Check in the processes list, you will see it there. In order to interact with it, you need to use bitcoin-cli in a different terminal. Or you can run bitcoind with -daemon so you can use bitcoin-cli in the same terminal.
legendary
Activity: 4228
Merit: 1313
Hello.
   I am able to install a Bitcoin Server on Ubuntu (Xubuntu).
I was able to install the "bitcoind" server successfully by typing: sudo apt-get install bitcoind.

When I type: cd /usr/bin, I see that the server "bitcoind" is installed in the / usr / bin folder. Then I created a new folder by typing: "mkdir bitcoin" and then I type mousepad "bitcoin.conf" to put the connection parameters to the RPC server of the bitcoin.

Now I try to run "bitcoind" in the Linux Terminal but nothing appears, ie the "bitcoind" server does not start. I wait for several hours and it is always negative. The server "bitcoind" still does not start.

But when I try to retype "bitcoind" in another Terminal, I get as Error: "Error: Cannot obtain a lock on data directory /root/.bitcoin. Bitcoin Core is probably already running."

Thank you for explaining to me how to successfully operate normally "bitcoind".


It sounds like it is running.

What does this show (this shows running processes that include the word bitcoin):
  ps aux | grep bitcoin


What about:
  bitcoin-cli getinfo

jr. member
Activity: 56
Merit: 10
Hello.
   I am able to install a Bitcoin Server on Ubuntu (Xubuntu).
I was able to install the "bitcoind" server successfully by typing: sudo apt-get install bitcoind.

When I type: cd /usr/bin, I see that the server "bitcoind" is installed in the / usr / bin folder. Then I created a new folder by typing: "mkdir bitcoin" and then I type mousepad "bitcoin.conf" to put the connection parameters to the RPC server of the bitcoin.

Now I try to run "bitcoind" in the Linux Terminal but nothing appears, ie the "bitcoind" server does not start. I wait for several hours and it is always negative. The server "bitcoind" still does not start.

But when I try to retype "bitcoind" in another Terminal, I get as Error: "Error: Cannot obtain a lock on data directory /root/.bitcoin. Bitcoin Core is probably already running."

Thank you for explaining to me how to successfully operate normally "bitcoind".
Jump to: