Bitcoin Forum
May 22, 2024, 12:41:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind daemon start fails  (Read 2887 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
May 02, 2016, 11:03:23 AM
 #1

I write:
bitcoind -daemon

My log:
Quote
2016-05-02 10:52:01 Bitcoin version v0.12.1.0-g9779e1e (Mon, 11 Apr 2016 13:01:43 +0200)
2016-05-02 10:52:01 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-05-02 10:52:01 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-05-02 10:52:01 Default data directory /home/andrzej/.bitcoin
2016-05-02 10:52:01 Using data directory /home/andrzej/.bitcoin
2016-05-02 10:52:01 Using config file /home/andrzej/.bitcoin/bitcoin.conf
2016-05-02 10:52:01 Using at most 125 connections (1024 file descriptors available)
2016-05-02 10:52:01 Using 0 threads for script verification
2016-05-02 10:52:01 Binding RPC on address ::1 port 8332 failed.
2016-05-02 10:52:01 Binding RPC on address 127.0.0.1 port 8332 failed.
2016-05-02 10:52:01 Unable to bind any endpoint for RPC server
2016-05-02 10:52:01 Error: Unable to start HTTP server. See debug log for details.
2016-05-02 10:52:01 Shutdown: In progress...
2016-05-02 10:52:01 StopNode()
2016-05-02 10:52:01 Shutdown: done
merelcoin
Hero Member
*****
Offline Offline

Activity: 675
Merit: 504


View Profile
May 02, 2016, 11:08:13 AM
 #2

It can't bind to port 8332
Are you sure nothing else is using this port?
You might want to change the port in /home/andrzej/.bitcoin/bitcoin.conf and try again, just to see if it is indeed an occupied port?

open bitcoin.conf, and add this line (for example, just for changing the port from 8332 to 8392)
rpcport=8392
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
May 02, 2016, 11:20:58 AM
 #3

Afer restart Linux is OK, hot to stop daemon? "service bitcoind stop" and "/etc/init.d/bitcoind stop" not works
merelcoin
Hero Member
*****
Offline Offline

Activity: 675
Merit: 504


View Profile
May 02, 2016, 11:23:52 AM
 #4

Afer restart Linux is OK, hot to stop daemon? "service bitcoind stop" and "/etc/init.d/bitcoind stop" not works

"bitcoin-cli stop" should do the trick, bitcoind no longer supports these arguments
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!