• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Masternode On Raspberry Pi 2 Model B

I have problem with my masternode on raspberry pi.
Dashd runs, it is fully synchronized.
command "dash-cli masternode debug" returns "Masternode successfully started"
When I call "masternode start-alias <my alias>" on my local mashine I see "Got updated entry for <my masternode ip>:9999" in debug.log on raspberry pi.
I dindn't see "Enabled! You may shut down the cold daemon".
Port 9999 is opened in firewall and forwarded on router.
I don't see my masternode in dashninja.pl.
I receiving status "ENABLED" when I calling "dash-cli masternode list full | grep <my masternode IP>" on my local computer.
Have anybody some ideas to resolve my problem?
 
Last edited by a moderator:
I have problem with my masternode on raspberry pi.
Dashd runs, it is fully synchronized.
command "dash-cli masternode debug" returns "Masternode successfully started"
When I call "masternode start-alias <my alias>" on my local mashine I see "Got updated entry for <my masternode ip>:9999" in debug.log on raspberry pi.
I dindn't see "Enabled! You may shut down the cold daemon".
Port 9999 is opened in firewall and forwarded on router.
I don't see my masternode in dashninja.pl.
I receiving status "ENABLED" when I calling "dash-cli masternode list full | grep <my masternode IP>" on my local computer.
Have anybody some ideas to resolve my problem?
"Got updated entry" means that masternode with same vin is already online, at least that specific node thinks so. Should be "Got NEW Masternode entry" for a new one. Remove mncache.dat on your pi and see if it recognizes itself as a MN then. Also make sure that "masternodeprivkey" in pi's dash.conf matches the one for the alias.
 
"Got updated entry" means that masternode with same vin is already online, at least that specific node thinks so. Should be "Got NEW Masternode entry" for a new one. Remove mncache.dat on your pi and see if it recognizes itself as a MN then. Also make sure that "masternodeprivkey" in pi's dash.conf matches the one for the alias.
My problem was resolved. Actually there was no problem with my masternode. I checked "masternodeprivkey" in pi's dash.conf. I removed mncache.dat and restarted dashd daemon. These actions did not make any results. But after approximately of 10 hours my masternode appeared in dashninja.pl without any action on my part. Thank you.
 
Hello. I use this manual.
14. Lets fire it up for the first time

I can not run ./dashd getinfo
Error: There is no RPC client functionality in dashd anymore. Use the dash-cli u tility instead.
Hellp!
 
Hello. I use this manual.
14. Lets fire it up for the first time

I can not run ./dashd getinfo
Error: There is no RPC client functionality in dashd anymore. Use the dash-cli u tility instead.
Hellp!


dash-cli getinfo
dash-cli masternode start-missing
dash-cli setgenerate true -1

etc
etc
 
I started on a remote masternode "raspberry pi 3" and the local client dash Windows. Thanks for the good manuals.
 
Hi there
I have tried make 12 version of dashd and got
"No working boost sleep implementation" with libboost version 1.49 and newwer
only with
./configure --with-boost=/usr/local/
addtional parameter I can made make

PS sorry for my pure english.

I had a similar issue and fixed it by creating a symlink of the arm-linux-gnueabihf folder.

  1. Goto /usr/lib
  2. sudo ln -s arm-linux-gnueabihf armv7l-unknown-linux-gnueabihf
The boost library should be found now by /.configure
 
Fix for Error: There is no RPC client functionality in dashd anymore. Use the dash-cli utility instead. After ./dash stop?
 
To control dashd you use the dash-cli command. Dashd doesn't listen to commands directly anymore but listens to input from dash-cli.

So its:
. /dash-cli stop
 
I can not start ./dashd version 12.1.1
becouse crashes

I doing

cp -pr .dash .dashcore

in .dashcore

rm -f .dashcore/{debug.log,peers.dat,fee_estimates.dat,mn*.dat}

next

wget https://www.dash.org/binaries/dashcore-0.12.1.0-linux64.tar.gz

tar zxvf dashcore-0.12.1.0-linux*.tar.gz

mv dashcore-0.12.1/bin/dash{d,-cli} .dashcore ; ls -l .dashcore/dash{d,-cli}


in dash.conf change

#----
rpcuser=683776b31faf919079924a543d52deac6548b6a7
rpcpassword=683d52deac6548b63776b39924a51faf919074a8
rpcport=9998
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=7ra1rhngvNkhkiFE8STrmvH989898TCzLyRFHFsZvrJUBV6ZmWncv
externalip=xxx.xxx.xxx.xxx

and .....

when i do

dashd -reindex ->>>> crashes ( all stop )
only new version

 
arent you downloading the wrong Tar file? I think you are downloading the X64 version but you should download the ARM version for the PI.
X64 version shouldnt even be recognized by the system as an executable?

Try this one:
https://www.dash.org/binaries/dashcore-0.12.1.1-RPi2.tar.gz

work fine

but

./venv/bin/py.test ./test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /root/.dashcore/sentinel, inifile:
collected 20 items

test/integration/test_jsonrpc.py F
test/unit/test_dash_config.py .
test/unit/test_dashd_data_shims.py ..
test/unit/test_dashy_things.py .....
test/unit/test_models.py ..
test/unit/test_submit_command.py .
test/unit/models/test_proposals.py ...
test/unit/models/test_superblocks.py .....

=================================== FAILURES ===================================
__________________________________ test_dashd __________________________________

def test_dashd():
config_text = DashConfig.slurp_config_file(config.dash_conf)
network = 'mainnet'
is_testnet = False
genesis_hash = u'00000ffd590b1485b3caadc19b22e6379c733355108f107a430458c df3407ab6'
for line in config_text.split("\n"):
if line.startswith('testnet=1'):
network = 'testnet'
is_testnet = True
genesis_hash = u'00000bafbc94add76cb75e2ec92894837288a481e5c005f 6563d91623bf8bc2c'

creds = DashConfig.get_rpc_creds(config_text, network)
dashd = DashDaemon(**creds)
assert dashd.rpc_command is not None

> assert hasattr(dashd, 'rpc_connection')
E assert False
E + where False = hasattr(<dashd.DashDaemon instance at 0x762265f8>, 'rp c_connection')

test/integration/test_jsonrpc.py:30: AssertionError
===================== 1 failed, 19 passed in 2.59 seconds ======================

root@raspberrypi:~/.dashcore/sentinel#


and .....


venv/bin/python bin/sentinel.py


Traceback (most recent call last):
File "bin/sentinel.py", line 244, in <module>
main()
File "bin/sentinel.py", line 149, in main
if not is_dashd_port_open(dashd):
File "bin/sentinel.py", line 136, in is_dashd_port_open
info = dashd.rpc_command('getinfo')
File "lib/dashd.py", line 42, in rpc_command
return self.rpc_connection.__getattr__(params[0])(*params[1:])
File "lib/dashd.py", line 31, in rpc_connection
return AuthServiceProxy("http://{0}:{1}@{2}:{3}".format(*self.creds))
File "/root/.dashcore/sentinel/venv/local/lib/python2.7/site-packages/bitcoinrpc/authproxy.py", line 86, in __init__
self.__url = urlparse.urlparse(service_url)
File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 191, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
root@raspberrypi:~/.dashcore/sentinel#



can u help me ???
 
I dont think this is Raspberry Pi related. Try this guide:
https://www.dash.org/forum/threads/taos-masternode-setup-guide-for-dummies-updated-for-12-1.2680/

And be sure to download the right file for the build! i still think you got the wrong one.
https://www.dash.org/binaries/dashcore-0.12.1.2-RPi2.tar.gz

good luck


My mastrnode is open and work only
sentinel not work

./dash-cli mnsync status
{
"AssetID": 999,
"AssetName": "MASTERNODE_SYNC_FINISHED",
"Attempt": 0,
"IsBlockchainSynced": true,
"IsMasternodeListSynced": true,
"IsWinnersListSynced": true,
"IsSynced": true,
"IsFailed": false
}


./dash-cli masternode debug
Masternode successfully started
 
work fine

but

./venv/bin/py.test ./test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
rootdir: /root/.dashcore/sentinel, inifile:
collected 20 items

test/integration/test_jsonrpc.py F
test/unit/test_dash_config.py .
test/unit/test_dashd_data_shims.py ..
test/unit/test_dashy_things.py .....
test/unit/test_models.py ..
test/unit/test_submit_command.py .
test/unit/models/test_proposals.py ...
test/unit/models/test_superblocks.py .....

=================================== FAILURES ===================================
__________________________________ test_dashd __________________________________

def test_dashd():
config_text = DashConfig.slurp_config_file(config.dash_conf)
network = 'mainnet'
is_testnet = False
genesis_hash = u'00000ffd590b1485b3caadc19b22e6379c733355108f107a430458c df3407ab6'
for line in config_text.split("\n"):
if line.startswith('testnet=1'):
network = 'testnet'
is_testnet = True
genesis_hash = u'00000bafbc94add76cb75e2ec92894837288a481e5c005f 6563d91623bf8bc2c'

creds = DashConfig.get_rpc_creds(config_text, network)
dashd = DashDaemon(**creds)
assert dashd.rpc_command is not None

> assert hasattr(dashd, 'rpc_connection')
E assert False
E + where False = hasattr(<dashd.DashDaemon instance at 0x762265f8>, 'rp c_connection')

test/integration/test_jsonrpc.py:30: AssertionError
===================== 1 failed, 19 passed in 2.59 seconds ======================

root@raspberrypi:~/.dashcore/sentinel#


and .....


venv/bin/python bin/sentinel.py


Traceback (most recent call last):
File "bin/sentinel.py", line 244, in <module>
main()
File "bin/sentinel.py", line 149, in main
if not is_dashd_port_open(dashd):
File "bin/sentinel.py", line 136, in is_dashd_port_open
info = dashd.rpc_command('getinfo')
File "lib/dashd.py", line 42, in rpc_command
return self.rpc_connection.__getattr__(params[0])(*params[1:])
File "lib/dashd.py", line 31, in rpc_connection
return AuthServiceProxy("http://{0}:{1}@{2}:{3}".format(*self.creds))
File "/root/.dashcore/sentinel/venv/local/lib/python2.7/site-packages/bitcoinrpc/authproxy.py", line 86, in __init__
self.__url = urlparse.urlparse(service_url)
File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 191, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL
root@raspberrypi:~/.dashcore/sentinel#



can u help me ???
Please make sure you have no special characters in rpc username/password
 
Back
Top