Author

Topic: [ANN][DASH] Dash (dash.org) | First Self-Funding Self-Governing Crypto Currency - page 1912. (Read 9723748 times)

sr. member
Activity: 426
Merit: 250
How to start dashd automatically again after it crashed.

run:
Code:
crontab -e

add line:
Code:
*/1 * * * * ./home/dashuser/mn_watch.sh >/dev/null 2>&1

use any editor you like and save this as "mn_watch.sh" file in user "dashuser" home directory:
Code:
#!/bin/bash
if [ -z `pidof dashd` ]; then
./home/dashuser/dashd
fi

add executable flag:
Code:
chmod u+x mn_watch.sh


PS. Use appropriate username, not "dashuser" from my example Wink
I also assumed that dashd is located in your user home directory, change path if needed.

PPS. not tested but should work  Roll Eyes

Awesome to share with everyone.  Thanks UdjinM6! 
legendary
Activity: 1318
Merit: 1040
How to start dashd automatically again after it crashed.

run:
Code:
crontab -e

add line:
Code:
*/1 * * * * /home/dashuser/mn_watch.sh >/dev/null 2>&1

use any editor you like and save this as "mn_watch.sh" file in user "dashuser" home directory:
Code:
#!/bin/bash
if [ -z `pidof dashd` ]; then
/home/dashuser/dashd
fi

add executable flag:
Code:
chmod u+x mn_watch.sh


PS. Use appropriate username, not "dashuser" from my example Wink
I also assumed that dashd is located in your user home directory, change path if needed.

PPS. not tested but should work  Roll Eyes

EDIT: ooops, tested and fixed  Smiley
legendary
Activity: 1442
Merit: 1018
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

Secure shell/putty.  Set your mnodes' SSH to a non standard port.  You can also set the SSH daemon to use a key that only you have and to allow only certain IPs access.

You can even put SSH terminal software on your smartphone.  I log into my web servers all the time securely from my phone.  There's no reason you shouldn't be able to restart your MN remotely.

Something I Googled real quick:
https://www.digitalocean.com/community/tutorials/how-to-tune-your-ssh-daemon-configuration-on-a-linux-vps



way ahead of you on this one

I'm looking at my server (Pi) and it won't start
I even have my wallet open at home - shhhhh - lol



@oblox - cron won't work if dash-cli masternode start doesn't work :-P

Correct, but if you had a cron setup to start dashd on crash, you wouldn't have this issue.
sr. member
Activity: 426
Merit: 250
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

Secure shell/putty.  Set your mnodes' SSH to a non standard port.  You can also set the SSH daemon to use a key that only you have and to allow only certain IPs access.

You can even put SSH terminal software on your smartphone.  I log into my web servers all the time securely from my phone.  There's no reason you shouldn't be able to restart your MN remotely.

Something I Googled real quick:
https://www.digitalocean.com/community/tutorials/how-to-tune-your-ssh-daemon-configuration-on-a-linux-vps



way ahead of you on this one

I'm looking at my server (Pi) and it won't start
I even have my wallet open at home - shhhhh - lol



@oblox - cron won't work if dash-cli masternode start doesn't work :-P

Ahh the Pi....well that is out of my realm.   I'm sure we can find a script you can put in cron that would determine the pid of the daemon and then kill it.  But until the mem leak is stomped, I would just make it a habit to restart the MN every couple of days quick like so you don't lose your spot.

Couldn't you issue a "reboot" of the pi remotely?
legendary
Activity: 1092
Merit: 1000
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

 70 minutes on the clock.
sr. member
Activity: 426
Merit: 250
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

Secure shell/putty.  Set your mnodes' SSH to a non standard port.  You can also set the SSH daemon to use a key that only you have and to allow only certain IPs access.

You can even put SSH terminal software on your smartphone.  I log into my web servers all the time securely from my phone.  There's no reason you shouldn't be able to restart your MN remotely.

Something I Googled real quick:
https://www.digitalocean.com/community/tutorials/how-to-tune-your-ssh-daemon-configuration-on-a-linux-vps

legendary
Activity: 1442
Merit: 1018
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

Cronjob bro, cronjob.
legendary
Activity: 1260
Merit: 1001
How long before a MN gets de-listed
I'm crash now for about 2-3 hours
and
can't fix until I get home.....

I'm sorry Mangled, but I don't think it's any more than an hour Sad 
hero member
Activity: 616
Merit: 501
legendary
Activity: 3066
Merit: 1188

could be that the dotcom boom mark 2 is running out of juice as the shares reach their pumped up zenith and subsequent decline..

Looked to me like that rally today in the US exchanges which mitigated initial losses was just a short squeeze rather than a return of confidence.
sr. member
Activity: 434
Merit: 250
Quantum entangled and jump drive assisted messages
Bitcoin 1-week chart now looking distinctly un-pretty. As if it's headed back to zero from whence it came.
Could get carried anywhere from here in a storm of asset revaluation. Slammed to the floor. Booted to high heaven. Who knows.
2 icky problems, much bitcoin is traded in China and dependent on their trade,
secondly there are 3600 bitcoins mined a day by hungry miners and if they ain't holding then they are dumping, meaning that there must be $774,000 sunk into the bitcoin every single day to maintain equilibrium, could be that the dotcom boom mark 2 is running out of juice as the shares reach their pumped up zenith and subsequent decline...
legendary
Activity: 1120
Merit: 1000

Bitcoin 1-week chart now looking distinctly un-pretty. As if it's headed back to zero from whence it came.

Could get carried anywhere from here in a storm of asset revaluation. Slammed to the floor. Booted to high heaven. Who knows.


I didn't expect it to go this low, but I definitely thought we'd see it back in the 220s. Greece caused the price to shoot up, the Greek crisis was resolved, the price collapses again. It seemed predictable to me!
legendary
Activity: 3066
Merit: 1188

Bitcoin 1-week chart now looking distinctly un-pretty. As if it's headed back to zero from whence it came.

Could get carried anywhere from here in a storm of asset revaluation. Slammed to the floor. Booted to high heaven. Who knows.
legendary
Activity: 1551
Merit: 1002
♠ ♥ ♣ ♦ < ♛♚&#
I found a new service, if somebody write, they ( https://www.bitboat.net/it/buy ) could add Dash
hero member
Activity: 659
Merit: 500
Zepher is scammer!:)
After 20 months of watching Bitcoin prices decline steadily and then finally collapse, it's getting more and more depressing. We have the best coin out there..frankly better than Bitcoin IMO, but nobody in the real world seems to give a shit, and prices of all cryptos just keep falling. The good news is I don't need the money I have in DASH any time soon, but it's still depressing to see. Fortunately we are one of the very best projects on the market, so hopefully that will eventually start to matter!

After each cloud comes ray of sunshine:  http://cointelegraph.com/news/115172/kim-dotcom-china-in-big-trouble-buy-bitcoin-now
legendary
Activity: 1092
Merit: 1000
After 20 months of watching Bitcoin prices decline steadily and then finally collapse, it's getting more and more depressing. We have the best coin out there..frankly better than Bitcoin IMO, but nobody in the real world seems to give a shit, and prices of all cryptos just keep falling. The good news is I don't need the money I have in DASH any time soon, but it's still depressing to see. Fortunately we are one of the very best projects on the market, so hopefully that will eventually start to matter!

If we want to  Dash got to show the world the power and features Must get out of the domination of Bitcoin.

Should stop comparing ourselves with Bitcoin (DASH/BTC) Otherwise perish along with the bitcoin

It just takes time, new technologies are always met with skepticism, we need to educate the public about the advantages of Dash and present our plans for the future. Evan is working hard on preparing the roadmap after v12, and we are all looking forward to work more on outreach now that we will have some budget available for that.

The Dash developers are committed for the next couple of years regardless of short term price fluctuations. Now each person is in a different situation, I have no interest in selling my Dash for the next couple of years regardless of price.  Try to invest money you don't need for the next 24 months or so I think that is a good time frame to see Dash develop its own separate vision.
sr. member
Activity: 348
Merit: 250
Play Poker Games at Bitoker.com
After 20 months of watching Bitcoin prices decline steadily and then finally collapse, it's getting more and more depressing. We have the best coin out there..frankly better than Bitcoin IMO, but nobody in the real world seems to give a shit, and prices of all cryptos just keep falling. The good news is I don't need the money I have in DASH any time soon, but it's still depressing to see. Fortunately we are one of the very best projects on the market, so hopefully that will eventually start to matter!

If we want to  Dash got to show the world the power and features Must get out of the domination of Bitcoin.

Should stop comparing ourselves with Bitcoin (DASH/BTC) Otherwise perish along with the bitcoin

Must declare our independence. We do not coin like bitcoin or another thousands of shitcoin

We are a new monetary system better than cash or visa/master

If we want to be Big, we must think big.
legendary
Activity: 2688
Merit: 1240
After 20 months of watching Bitcoin prices decline steadily and then finally collapse, it's getting more and more depressing. We have the best coin out there..frankly better than Bitcoin IMO, but nobody in the real world seems to give a shit, and prices of all cryptos just keep falling. The good news is I don't need the money I have in DASH any time soon, but it's still depressing to see. Fortunately we are one of the very best projects on the market, so hopefully that will eventually start to matter!

Just look at the stock markets.. Google down, Apple down, Facebook down..

Its not just crypto ..
legendary
Activity: 1120
Merit: 1000
After 20 months of watching Bitcoin prices decline steadily and then finally collapse, it's getting more and more depressing. We have the best coin out there..frankly better than Bitcoin IMO, but nobody in the real world seems to give a shit, and prices of all cryptos just keep falling. The good news is I don't need the money I have in DASH any time soon, but it's still depressing to see. Fortunately we are one of the very best projects on the market, so hopefully that will eventually start to matter!
legendary
Activity: 1092
Merit: 1000
Will be interesting to see how low will we get if btc drops under 200. Some people might want to get out of crypto for a while Cheesy

It honestly feels good to be on Dash with a committed development team with a clear roadmap. I think the market is about to consolidate in only a few stronger projects.
Jump to: