Bitcoin Forum
May 07, 2024, 07:17:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 [791] 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 ... 844 »
  Print  
Author Topic: BiblePay | 10% to Orphan-Charity | RANDOMX MINING | Sanctuaries (Masternodes)  (Read 243130 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (345 posts by 1+ user deleted.)
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 04:56:54 PM
 #15801

I'm trying to verify all of our network is on the chain with the highest work.

As a tool for the sanctuaries, please log into : pool.biblepay.org, click Reports | Sanctuary Health
And please verify your hash matches the hash on the right side of "Good sanctuaries" (matching that height next to it).

This hash is matching chainz and the Biblepay Explorer now.

I will continue to work on making my sancs match the vote levels next (I believe those will auto correct themselves once everyone ensures their sanc health matches).

Also please ensure your sanc is in DM mode now.

If your sanc does not match, you can type 'exec reassesschains' and if that does not work, re-start with -erasechain=1.


🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
1715109443
Hero Member
*
Offline Offline

Posts: 1715109443

View Profile Personal Message (Offline)

Ignore
1715109443
Reply with quote  #2

1715109443
Report to moderator
1715109443
Hero Member
*
Offline Offline

Posts: 1715109443

View Profile Personal Message (Offline)

Ignore
1715109443
Reply with quote  #2

1715109443
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715109443
Hero Member
*
Offline Offline

Posts: 1715109443

View Profile Personal Message (Offline)

Ignore
1715109443
Reply with quote  #2

1715109443
Report to moderator
1715109443
Hero Member
*
Offline Offline

Posts: 1715109443

View Profile Personal Message (Offline)

Ignore
1715109443
Reply with quote  #2

1715109443
Report to moderator
sunk818
Full Member
***
Offline Offline

Activity: 1176
Merit: 111



View Profile WWW
December 05, 2019, 05:10:07 PM
 #15802

Is this the correct chain?

Oncoapop3 runs a chainstate with various VPS and their current blockhash:
http://oncoapop.sdf.org/biblepaymain/biblepay_chainstate.shtml

bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:06:05 PM
 #15803

The two Biblepay explorers do not match.

https://chainz.cryptoid.info/bbp/
http://explorer.biblepay.org/

Block 161668
https://chainz.cryptoid.info/bbp/block.dws?161668.htm
http://explorer.biblepay.org/block/f4283bb95a946f514271e1ce3aaa121facbb408afd5e4d26f187b2ed7e72a474

Looks like theyre both on same block now

Block 161668 Hash:
f4283bb95a946f514271e1ce3aaa121facbb408afd5e4d26f187b2ed7e72a474

Is this the correct chain?

I currently have the f428* on all nodes also.

🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
coinsinspect
Newbie
*
Offline Offline

Activity: 164
Merit: 0


View Profile
December 05, 2019, 06:07:12 PM
 #15804

Hi,
I deleted all files except wallet.dat and biblepay.conf  in my Sanctuary and wallet
on both stations I am at block 0 for ~12 hours.

From my Sanctuary  debug.log
Code:
2019-12-05 17:40:11 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:41:19 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:43:30 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:44:37 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:46:00 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:47:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 17:52:38 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:55:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:57:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 18:01:12 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:59 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:04:16 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:07:50 PM
 #15805

Could someone please give us an update on Tokok, if they are working yet?

I find it very unsettling to not receive a reply from them in 24 hours.

Let me know and tomorrow if we have not heard back, lets talk about forming a grievance.





Have not heard from them either and no deposits have gone through at this point in time

Same here. Support chat says that "all agents are busy" when they were available in few minutes some weeks ago

Ok thanks guys.

Well this is pretty serious for them not to reply to us (with no mandatory upgrades yet) and a 2btc investment.

Checking my inbox, nothing yet.

Ill send them a new high priority email now.

So we have two people here that cant even withdraw the BBP, correct?

Togo and JSheets?


🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:09:16 PM
 #15806

Hi,
I deleted all files except wallet.dat and biblepay.conf  in my Sanctuary and wallet
on both stations I am at block 0 for ~12 hours.

From my Sanctuary  debug.log
Code:
2019-12-05 17:40:11 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:41:19 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:43:30 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:44:37 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:46:00 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:47:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 17:52:38 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:55:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:57:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 18:01:12 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:59 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:04:16 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt

Please try :

- Verify system time and time zone are correct
- Remove banlist.dat
- Start with "-erasechain=1"

The log above is normal (that means it wont share data until its synced).

EDIT:
Here is an extra addnode Im connected to now:
107.150.33.90
178.170.72.139

🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
December 05, 2019, 06:22:32 PM
 #15807

I'm attempting to withdraw some coins out of Tokok for the first time (about $200 worth),
They are stuck in "Pending approval" status the past ~30 minutes

"Notice
- Only after the withdrawal request pass the system audit will it be made successfully
- Withdrawal of some currencies requires manual review. Review Time: 9:30-02:00 (UTC+8)"

https://www.reddit.com/r/Nash/comments/c0rpql/anyone_ever_have_delays_withdrawing_from_tokok/

I will report back how it goes, looks like they'll be doing manually reviewing in an hour

UPDATE: An hour and a half after I posted this, All my withdrawals were approved, got emailed approval for each one

I was able to withdraw from Tokok on Monday Dec 2nd (3 days ago),
I think they operate in China timezone, so its about 2:22am for them right now

bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:24:45 PM
 #15808

I'm attempting to withdraw some coins out of Tokok for the first time (about $200 worth),
They are stuck in "Pending approval" status the past ~30 minutes

"Notice
- Only after the withdrawal request pass the system audit will it be made successfully
- Withdrawal of some currencies requires manual review. Review Time: 9:30-02:00 (UTC+8)"

https://www.reddit.com/r/Nash/comments/c0rpql/anyone_ever_have_delays_withdrawing_from_tokok/

I will report back how it goes, looks like they'll be doing manually reviewing in an hour

UPDATE: An hour and a half after I posted this, All my withdrawals were approved, got emailed approval for each one

I was able to withdraw from Tokok,
I think they operate in China timezone, so its about 2:22am for them right now

Ok, good.  We still have a complaint by JSheets and MIP, I know MIP said he tested and it did not work.

I guess you withdrew in ETHer, guys do we still have two bbp issues with TOKOK or does BBP allow deposits now?


🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
December 05, 2019, 06:26:22 PM
 #15809

I withdrew BBP and ETH, they allowed the ETH first even though I requested it last, then 10-20 min later they allowed withdrawal of the BBP

coinsinspect
Newbie
*
Offline Offline

Activity: 164
Merit: 0


View Profile
December 05, 2019, 06:28:42 PM
 #15810

Hi,
I deleted all files except wallet.dat and biblepay.conf  in my Sanctuary and wallet
on both stations I am at block 0 for ~12 hours.

From my Sanctuary  debug.log
Code:
2019-12-05 17:40:11 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:41:19 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:43:30 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:44:37 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:46:00 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:47:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 17:52:38 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:55:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 17:57:33 CActiveLegacyMasternodeManager::ManageState -- SYNC_IN_PROCESS: Sync in progress. Must wait until sync is complete to start Masternode
2019-12-05 18:01:12 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:53 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:02:59 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt
2019-12-05 18:04:16 AcceptConnection -- masternode is not synced yet, skipping inbound connection attempt

Please try :

- Verify system time and time zone are correct
- Remove banlist.dat
- Start with "-erasechain=1"

The log above is normal (that means it wont share data until its synced).

EDIT:
Here is an extra addnode Im connected to now:
107.150.33.90
178.170.72.139


Thanks Togo!

I did the same and add to biblepay.conf:
addnode = 107.150.33.90
addnode = 178.170.72.139


Now I am getting blocks.

jsheets1970
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
December 05, 2019, 06:36:08 PM
 #15811

Could someone please give us an update on Tokok, if they are working yet?

I find it very unsettling to not receive a reply from them in 24 hours.

Let me know and tomorrow if we have not heard back, lets talk about forming a grievance.





Have not heard from them either and no deposits have gone through at this point in time

Same here. Support chat says that "all agents are busy" when they were available in few minutes some weeks ago

Ok thanks guys.

Well this is pretty serious for them not to reply to us (with no mandatory upgrades yet) and a 2btc investment.

Checking my inbox, nothing yet.

Ill send them a new high priority email now.

So we have two people here that cant even withdraw the BBP, correct?

Togo and JSheets?



I have deposits in flight to them. Been that way for 6 days. The wallet is not taking them in
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:40:08 PM
 #15812

** Upgrade Sanctuaries to Deterministic Mode **


For anyone who missed it, we must upgrade our sanctuaries to deterministic mode early:
https://www.reddit.com/r/BiblePay/comments/clyxyc/upgrading_masternodes_sanctuaries_to/


Thank you.




🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 06:41:12 PM
 #15813

Could someone please give us an update on Tokok, if they are working yet?

I find it very unsettling to not receive a reply from them in 24 hours.

Let me know and tomorrow if we have not heard back, lets talk about forming a grievance.





Have not heard from them either and no deposits have gone through at this point in time

Same here. Support chat says that "all agents are busy" when they were available in few minutes some weeks ago

Ok thanks guys.

Well this is pretty serious for them not to reply to us (with no mandatory upgrades yet) and a 2btc investment.

Checking my inbox, nothing yet.

Ill send them a new high priority email now.

So we have two people here that cant even withdraw the BBP, correct?

Togo and JSheets?



I have deposits in flight to them. Been that way for 6 days. The wallet is not taking them in

Ok, thanks, I have notified them, and, I will test one now on Tokok.


🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
bible_pay (OP)
Full Member
***
Offline Offline

Activity: 1176
Merit: 215


Jesus is the King of Kings and Lord of Lords


View Profile WWW
December 05, 2019, 07:26:51 PM
 #15814

I'm attempting to withdraw some coins out of Tokok for the first time (about $200 worth),
They are stuck in "Pending approval" status the past ~30 minutes

"Notice
- Only after the withdrawal request pass the system audit will it be made successfully
- Withdrawal of some currencies requires manual review. Review Time: 9:30-02:00 (UTC+8)"

https://www.reddit.com/r/Nash/comments/c0rpql/anyone_ever_have_delays_withdrawing_from_tokok/

I will report back how it goes, looks like they'll be doing manually reviewing in an hour

UPDATE: An hour and a half after I posted this, All my withdrawals were approved, got emailed approval for each one

I was able to withdraw from Tokok on Monday Dec 2nd (3 days ago),
I think they operate in China timezone, so its about 2:22am for them right now

So just to get back up to speed on this, now that Cryptobridge is out of business, are there any decentralized exchanges that are healthy that we can apply for?
Do they even really exist?

I did hear back from Delion, they are supposedly trying to replace cryptobridge and they will allow us in for free:
https://delion.online/#usecases

I will reply to them, and graviex and stex this month.

🕇 BiblePay 🕇
🕇  Announcement | ForumSlackDiscordRedditTwitter | SouthXChange  🕇
🕇 A Christian cryptocurrency | Supporting orphans through a decentralized autonomous charity 🕇
togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
December 05, 2019, 08:44:52 PM
 #15815

are there any decentralized exchanges that are healthy that we can apply for?
Do they even really exist?

Bisq
I've heard a bunch, I've researched some but haven't tried it
I posted more details here:
https://forum.biblepay.org/index.php?topic=480.0

Blocknet (BlockDX)
I've heard a little, but haven't researched into it, not sure
https://blocknet.co/block-dx/

Heres some past articles I found:

sunk818
Full Member
***
Offline Offline

Activity: 1176
Merit: 111



View Profile WWW
December 05, 2019, 08:52:44 PM
 #15816

Bisq
I've heard a bunch, I've researched some but haven't tried it
I posted more details here:

Are they the one that have the dogecoin rule? You need bigger marketcap and/or volume to be listed?

togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
December 05, 2019, 09:21:14 PM
Last edit: December 05, 2019, 10:34:04 PM by togoshigekata
 #15817

Bisq
I've heard a bunch, I've researched some but haven't tried it
I posted more details here:
https://forum.biblepay.org/index.php?topic=480.0

Are they the one that have the dogecoin rule? You need bigger marketcap and/or volume to be listed?

This is all I know:

https://docs.bisq.network/exchange/howto/list-asset.html

Method #1: Create an Issue
Method #2: Make a Pull Request

https://docs.bisq.network/exchange/howto/list-asset.html#inactive-assets-will-be-de-listed

- Controversial assets may be put to a vote
- Inactive assets will be de-listed
--- To remain listed on Bisq, assets must maintain a minimum trading volume of 0.01 BTC over a rolling period of time

NOTE: I was wrong about listing fee, there is a BSQ fee if you don't have enough volume yet
"Those that don’t meet the threshold require an asset listing fee be paid to remain listed"
"The fee is 1 BSQ per day (the fee is a Bisq DAO parameter, so it is subject to change).
The minimum fee is 30 BSQ (i.e., 30 days)"

1 BSQ is about 67 cents right now: https://bisq.network/markets/?currency=bsq_btc

togoshigekata
Full Member
***
Offline Offline

Activity: 1260
Merit: 115



View Profile
December 06, 2019, 12:02:56 AM
 #15818

Update on Crex Exchange:

https://twitter.com/Crex_24/status/1201822589771026432

Quote
From January 1st, 2020 all EU users will be required to complete mandatory KYC verification in accordance with the 5th EU AML Directive.
Note: Crex24 operates in all countries except the UK, USA, Canada and Israel.

coinsinspect
Newbie
*
Offline Offline

Activity: 164
Merit: 0


View Profile
December 06, 2019, 12:47:42 AM
 #15819

Hope this helps, for the Iquidus explorer, I have a crontab that tries to run the biblepay daemon every 5 minutes:

crontab -e

Code:
*/5 * * * * /home/biblepay-evolution/src/biblepayd > /dev/null 2>&1

Gave this to Rogue a little earlier tonight. You could use this also

#!/bin/bash
# checkprocess.sh

PROCESS=<insert the name of what process you are kicking off>

check_running_process()
{
sudo ps -ef | grep -v grep | grep $PROCESS > /dev/null
result=$?
#echo "exit code: ${result}"

if [ "${result}" -eq "0" ] ; then
    echo "Process is Running"
    return 1
else
    echo "Process is Stopped"
    return 0
fi

}

echo Current Date and Time is: date +"%Y-%m-%d %T"
if (check_running_process); then
#Want to make sure it is not already being started
   sleep 10
   if (check_running_process); then
      echo "Restarting Process now"
      #syntax to restart the process
      #insert your command to restart the process that is not running <-- Here is the command you would put in to start the process if it has died
   fi
fi


here is my change if you are running several MN on same Linux :

Code:
./checkprocess.bash "biblepayd" "/sbin/runuser -l bbp -c './mn/biblepayd'"

Code:
root@station:~# cat checkprocess.bash
#!/bin/bash
# checkprocess.sh

echo process to check = $1
echo running command = $2

PROCESS=$1

check_running_process()
{
    sudo ps -ef | grep -v grep | grep -v checkprocess | grep $PROCESS > /dev/null
    result=$?
    #echo "exit code: ${result}"

    if [ "${result}" -eq "0" ] ; then
        echo "Process is Running"
        return 1
    else
        echo "Process is Stopped"
        return 0
    fi

}

if (check_running_process); then
#Want to make sure it is not already being started
   sleep 10
   if (check_running_process); then
      echo "Restarting Process now"
      #syntax to restart the process
      #insert your command to restart the process that is not running <-- Here is the command you would put in to start the process if it has died
      $2
   fi
fi


In crontab -e
Code:
*/5 * * * * /root/checkprocess.bash "biblepayd" "/sbin/runuser -l bbp -c './mn/biblepayd'" > /dev/null 2>&1
jsheets1970
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
December 06, 2019, 02:43:48 AM
 #15820

Hope this helps, for the Iquidus explorer, I have a crontab that tries to run the biblepay daemon every 5 minutes:

crontab -e

Code:
*/5 * * * * /home/biblepay-evolution/src/biblepayd > /dev/null 2>&1

Gave this to Rogue a little earlier tonight. You could use this also

#!/bin/bash
# checkprocess.sh

PROCESS=<insert the name of what process you are kicking off>

check_running_process()
{
sudo ps -ef | grep -v grep | grep $PROCESS > /dev/null
result=$?
#echo "exit code: ${result}"

if [ "${result}" -eq "0" ] ; then
    echo "Process is Running"
    return 1
else
    echo "Process is Stopped"
    return 0
fi

}

echo Current Date and Time is: date +"%Y-%m-%d %T"
if (check_running_process); then
#Want to make sure it is not already being started
   sleep 10
   if (check_running_process); then
      echo "Restarting Process now"
      #syntax to restart the process
      #insert your command to restart the process that is not running <-- Here is the command you would put in to start the process if it has died
   fi
fi


here is my change if you are running several MN on same Linux :

Code:
./checkprocess.bash "biblepayd" "/sbin/runuser -l bbp -c './mn/biblepayd'"

Code:
root@station:~# cat checkprocess.bash
#!/bin/bash
# checkprocess.sh

echo process to check = $1
echo running command = $2

PROCESS=$1

check_running_process()
{
    sudo ps -ef | grep -v grep | grep -v checkprocess | grep $PROCESS > /dev/null
    result=$?
    #echo "exit code: ${result}"

    if [ "${result}" -eq "0" ] ; then
        echo "Process is Running"
        return 1
    else
        echo "Process is Stopped"
        return 0
    fi

}

if (check_running_process); then
#Want to make sure it is not already being started
   sleep 10
   if (check_running_process); then
      echo "Restarting Process now"
      #syntax to restart the process
      #insert your command to restart the process that is not running <-- Here is the command you would put in to start the process if it has died
      $2
   fi
fi


In crontab -e
Code:
*/5 * * * * /root/checkprocess.bash "biblepayd" "/sbin/runuser -l bbp -c './mn/biblepayd'" > /dev/null 2>&1


Glad this quick script could help you guys. I would think with multiple masternodes you might be able to look at ports but this should indeed do the trick. Glad i could help others here
Pages: « 1 ... 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 [791] 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 ... 844 »
  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!