Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Dashd block remains 0

Discussion in 'Daemon and QT Wallet Guides' started by boogiedoll, Mar 15, 2018.

Tags:
  1. boogiedoll

    boogiedoll New Member

    Joined:
    Mar 15, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    I installed Dash on Ubuntu 16.04 using the steps below but after a few hours block count remains 0. Where did I go wrong?

    Code:
    sudo add-apt-repository ppa:dash.org/dash
    sudo apt-get update
    sudo apt-get install dashd dash-qt
    
    mkdir .dash
    cd .dash
    vi dash.conf
    ############ dash.conf #################
    server=1
    daemon=1
    rpcuser=user
    rpcpassword=password
    alertnotify=echo %s | mail -s "DASH Alert" <[email protected]>
    #############################

    Code:
    dashd -daemon
    
    dash-cli getinfo
    
    {
        "version" : 120058,
        "protocolversion" : 70103,
        "walletversion" : 61000,
        "balance" : 0.00000000,
        "darksend_balance" : 0.00000000,
        "blocks" : 0,
        "timeoffset" : 0,
        "connections" : 0,
        "proxy" : "",
        "difficulty" : 0.00024414,
        "testnet" : false,
        "keypoololdest" : 1521113908,
        "keypoolsize" : 1001,
        "paytxfee" : 0.00000000,
        "relayfee" : 0.00010000,
        "errors" : ""
    }
     
  2. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,306
    Likes Received:
    2,436
    Trophy Points:
    1,183
  3. boogiedoll

    boogiedoll New Member

    Joined:
    Mar 15, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    I changed the binary but I got this instead:

    Error: Unable to start HTTP server. See debug log for details.

    Code:
    2018-03-15 15:34:45 Dash Core version v0.12.2.3 (2018-01-11 12:31:49 +0300)
    2018-03-15 15:34:45 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
    2018-03-15 15:34:45 Assuming ancestors of block 000000000000001c172f518793c3b9e83f202284615592f87fe3506ce964dcd4 have valid signatures.
    2018-03-15 15:34:45 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
    2018-03-15 15:34:45 Default data directory /home/stormtrooper/.dashcore
    2018-03-15 15:34:45 Using data directory /home/stormtrooper/.dashcore
    2018-03-15 15:34:45 Using config file /home/stormtrooper/.dashcore/dash.conf
    2018-03-15 15:34:45 Using at most 125 connections (1024 file descriptors available)
    2018-03-15 15:34:45 Using 10 threads for script verification
    2018-03-15 15:34:45 scheduler thread start
    2018-03-15 15:34:45 Binding RPC on address ::1 port 9998 failed.
    2018-03-15 15:34:45 Binding RPC on address 127.0.0.1 port 9998 failed.
    2018-03-15 15:34:45 Unable to bind any endpoint for RPC server
    2018-03-15 15:34:45 Error: Unable to start HTTP server. See debug log for details.
    2018-03-15 15:34:45 PrepareShutdown: In progress...
    2018-03-15 15:34:45 Verifying mncache.dat format...
    2018-03-15 15:34:45 ERROR: Read: Failed to open file /home/stormtrooper/.dashcore/mncache.dat
    2018-03-15 15:34:45 scheduler thread interrupt
    2018-03-15 15:34:45 Missing file mncache.dat, will try to recreate
    2018-03-15 15:34:45 Writing info to mncache.dat...
    2018-03-15 15:34:45 Written info to mncache.dat  0ms
    2018-03-15 15:34:45      Masternodes: 0, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 0, entries in Masternode list we asked for: 0, nDsqCount: 0
    2018-03-15 15:34:45 mncache.dat dump finished  1ms
    2018-03-15 15:34:45 Verifying mnpayments.dat format...
    2018-03-15 15:34:45 ERROR: Read: Failed to open file /home/stormtrooper/.dashcore/mnpayments.dat
    2018-03-15 15:34:45 Missing file mnpayments.dat, will try to recreate
    2018-03-15 15:34:45 Writing info to mnpayments.dat...
    2018-03-15 15:34:45 Written info to mnpayments.dat  0ms
    2018-03-15 15:34:45      Votes: 0, Blocks: 0
    2018-03-15 15:34:45 mnpayments.dat dump finished  0ms
    2018-03-15 15:34:45 Verifying governance.dat format...
    2018-03-15 15:34:45 ERROR: Read: Failed to open file /home/stormtrooper/.dashcore/governance.dat
    2018-03-15 15:34:45 Missing file governance.dat, will try to recreate
    2018-03-15 15:34:45 Writing info to governance.dat...
    2018-03-15 15:34:45 Written info to governance.dat  0ms
    2018-03-15 15:34:45      Governance Objects: 0 (Proposals: 0, Triggers: 0, Watchdogs: 0/0, Other: 0; Erased: 0), Votes: 0
    2018-03-15 15:34:45 governance.dat dump finished  0ms
    2018-03-15 15:34:45 Verifying netfulfilled.dat format...
    2018-03-15 15:34:45 ERROR: Read: Failed to open file /home/stormtrooper/.dashcore/netfulfilled.dat
    2018-03-15 15:34:45 Missing file netfulfilled.dat, will try to recreate
    2018-03-15 15:34:45 Writing info to netfulfilled.dat...
    2018-03-15 15:34:45 Written info to netfulfilled.dat  0ms
    2018-03-15 15:34:45      Nodes with fulfilled requests: 0
    2018-03-15 15:34:45 netfulfilled.dat dump finished  0ms
    2018-03-15 15:34:45 Shutdown: done
     
  4. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,306
    Likes Received:
    2,436
    Trophy Points:
    1,183
    Looks like the daemon is not able to bind to the loopback device (127.0.0.1) - does your host have one?
     
  5. boogiedoll

    boogiedoll New Member

    Joined:
    Mar 15, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    I stopped and restarted dashd and it works (no error).
    But the block count is still 0.
    Btw, do I need those files in /include and /lib? As I only use /bin files from dashcore-0.12.2.3-linux64.tar.gz

    Code:
    {
      "version": 120203,
      "protocolversion": 70208,
      "walletversion": 61000,
      "balance": 0.00000000,
      "privatesend_balance": 0.00000000,
      "blocks": 0,
      "timeoffset": 0,
      "connections": 7,
      "proxy": "",
      "difficulty": 0.000244140625,
      "testnet": false,
      "keypoololdest": 1521129446,
      "keypoolsize": 999,
      "paytxfee": 0.00000000,
      "relayfee": 0.00001000,
      "errors": ""
    }
    
     
  6. boogiedoll

    boogiedoll New Member

    Joined:
    Mar 15, 2018
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Got it! It's syncing now. Thanks for the help.


    Code:
    {
      "version": 120203,
      "protocolversion": 70208,
      "walletversion": 61000,
      "balance": 0.00000000,
      "privatesend_balance": 0.00000000,
      "blocks": 26005,
      "timeoffset": 0,
      "connections": 8,
      "proxy": "",
      "difficulty": 200.9072401983091,
      "testnet": false,
      "keypoololdest": 1521129446,
      "keypoolsize": 999,
      "paytxfee": 0.00000000,
      "relayfee": 0.00001000,
      "errors": ""
    }
    
     
    • Like Like x 1
  7. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,306
    Likes Received:
    2,436
    Trophy Points:
    1,183
    Good one :)
     
  8. beliomir

    beliomir New Member

    Joined:
    Mar 14, 2018
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    An simply awser=>

    Go on cryptochainer =>download dash blockchain.
    There is an explain to copy/past blockchain, it would be automaticaly update when lanching dashcore.
    http://cryptochainer.com/dir/

    You can also download antoher blockchain for a lot of coins!!!
    (I 've the same problem with dash core and it solve it!!!!)

    In back, anybody help me on the thread of coin in read only mode?
    So If you had resoled the same problems like me?

    I think that dash have a good comunauty and good developpers.
     
  9. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    661
    Likes Received:
    377
    Trophy Points:
    133
    You can also download an up to date copy of the Dash blockchain here: https://github.com/UdjinM6/dash-bootstrap
    But recent improvements to the client and the current amount of masternodes means that it is actually just as fast to simply open the client and wait for sync, it happens quite fast.