Bitcoin Forum
July 30, 2024, 10:23:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind 0 connections, cant connect to btc network  (Read 860 times)
Dreydahh (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile WWW
January 15, 2014, 12:19:18 PM
 #1

Hello,
Few days ago my bitcoind stopped working. It can't connect to btc network, getpeerinfo doesn't show any peers, and i have got 0 connections. Also client doesn't seems to respond on "stop" command. It just doesn't close, I need to kill it with killall -9. And blocks aren't downloading. I have tried to remove whole ~/.bitcoin and in bitcoin.conf I have only rpc user/pass.
I'm using bitcoind 0.8.6 on Debian Linux 64bit. Iptables were flushed, so it doesn't block anything. It seems that port 8333 is open(checked with this tool http://www.yougetsignal.com/tools/open-ports/).
Output from bitcoind getinfo:
Code:
{
    "version" : 80600,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "difficulty" : 1.00000000,
    "testnet" : false,
    "keypoololdest" : 1389534608,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}
Output from lsof
Code:
root@dreydahh:~# lsof -i | grep 8333
bitcoind  18265 btcduser    6u  IPv6 233042177      0t0  TCP *:8333 (LISTEN)
bitcoind  18265 btcduser    7u  IPv4 233042178      0t0  TCP *:8333 (LISTEN)
Output from debug.log when I start client.
Code:
2014-01-15 12:14:19 Bitcoin version v0.8.6-beta (2013-12-05 13:11:26 +0100)
2014-01-15 12:14:19 Using OpenSSL version OpenSSL 0.9.8k 25 Mar 2009
2014-01-15 12:14:19 Default data directory /home/btcduser/.bitcoin
2014-01-15 12:14:19 Using data directory /home/btcduser/.bitcoin
2014-01-15 12:14:19 Using at most 125 connections (1024 file descriptors available)
2014-01-15 12:14:19 Using 2 threads for script verification
2014-01-15 12:14:19 init message: Verifying wallet...
2014-01-15 12:14:19 dbenv.open LogDir=/home/btcduser/.bitcoin/database ErrorFile=/home/btcduser/.bitcoin/db.log
2014-01-15 12:14:20 Bound to [::]:8333
2014-01-15 12:14:20 Bound to 0.0.0.0:8333
2014-01-15 12:14:20 init message: Loading block index...
2014-01-15 12:14:20 Opening LevelDB in /home/btcduser/.bitcoin/blocks/index
2014-01-15 12:14:20 Opened LevelDB successfully
2014-01-15 12:14:20 Opening LevelDB in /home/btcduser/.bitcoin/chainstate
2014-01-15 12:14:20 Opened LevelDB successfully
2014-01-15 12:14:20 LoadBlockIndexDB(): last block file = 0
2014-01-15 12:14:20 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=1, size=293, heights=0...0, time=2009-01-03...2009-01-03)
2014-01-15 12:14:20 LoadBlockIndexDB(): transaction index disabled
2014-01-15 12:14:20 LoadBlockIndexDB(): hashBestChain=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f  height=0 date=2009-01-03 18:15:05
2014-01-15 12:14:20 init message: Verifying blocks...
2014-01-15 12:14:20  block index             154ms
2014-01-15 12:14:20 init message: Loading wallet...
2014-01-15 12:14:20 nFileVersion = 80600
2014-01-15 12:14:20  wallet                  548ms
2014-01-15 12:14:20 init message: Loading addresses...
2014-01-15 12:14:20 Loaded 0 addresses from peers.dat  10ms
2014-01-15 12:14:20 mapBlockIndex.size() = 1
2014-01-15 12:14:20 nBestHeight = 0
2014-01-15 12:14:20 setKeyPool.size() = 101
2014-01-15 12:14:20 mapWallet.size() = 0
2014-01-15 12:14:20 mapAddressBook.size() = 1
2014-01-15 12:14:20 AddLocal(37.28.154.85:8333,1)
2014-01-15 12:14:20 IPv4 venet0:0: 37.28.154.85
2014-01-15 12:14:20 init message: Done loading
2014-01-15 12:14:20 dnsseed thread start
2014-01-15 12:14:20 Loading addresses from DNS seeds (could take a while)
2014-01-15 12:14:20 net thread start
2014-01-15 12:14:20 addcon thread start
2014-01-15 12:14:20 opencon thread start
2014-01-15 12:14:20 msghand thread start
2014-01-15 12:14:20 dumpaddr thread start
2014-01-15 12:14:20 Added 28 addresses from 178.18.90.41: 0 tried, 28 new
2014-01-15 12:14:21 Added 25 addresses from ::: 0 tried, 53 new
2014-01-15 12:14:21 Added 27 addresses from 192.3.11.20: 0 tried, 80 new
2014-01-15 12:14:21 Added 14 addresses from ::: 0 tried, 94 new
2014-01-15 12:14:21 94 addresses found from DNS seeds
2014-01-15 12:14:21 dnsseed thread exit
2014-01-15 12:14:25 connection timeout
2014-01-15 12:14:25 ERROR: GetMyExternalIP() : connection to 91.198.22.70:80 failed
2014-01-15 12:14:30 ThreadRPCServer method=validateaddress
2014-01-15 12:14:30 connection timeout
2014-01-15 12:14:30 ERROR: GetMyExternalIP() : connection to 74.208.43.192:80 failed
2014-01-15 12:14:31 GetMyExternalIP() received [37.28.154.85] 37.28.154.85:0
2014-01-15 12:14:31 GetMyExternalIP() returned 37.28.154.85
2014-01-15 12:14:31 AddLocal(37.28.154.85:8333,4)
2014-01-15 12:14:34 ThreadRPCServer method=validateaddress
2014-01-15 12:14:34 ThreadRPCServer method=validateaddress
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 15, 2014, 01:25:29 PM
 #2

Ufw status?

Dreydahh (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile WWW
January 15, 2014, 01:28:00 PM
 #3

Ufw status?

I don't use ufw
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!