|
@ -39,16 +39,16 @@ echo "chainnetwork: ${network} / ${chain}" |
|
|
uptime |
|
|
uptime |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
echo "*** BCLOCKHAIN SYSTEMD STATUS ***" |
|
|
echo "*** BLOCKCHAIN SYSTEMD STATUS ***" |
|
|
sudo systemctl status ${network}d -n2 --no-pager |
|
|
sudo systemctl status ${network}d -n2 --no-pager |
|
|
echo "" |
|
|
echo "" |
|
|
|
|
|
|
|
|
echo "*** LAST BCLOCKHAIN ERROR LOGS ***" |
|
|
echo "*** LAST BLOCKCHAIN ERROR LOGS ***" |
|
|
echo "sudo journalctl -u ${network}d -b --no-pager -n8" |
|
|
echo "sudo journalctl -u ${network}d -b --no-pager -n8" |
|
|
sudo journalctl -u ${network}d -b --no-pager -n8 |
|
|
sudo journalctl -u ${network}d -b --no-pager -n8 |
|
|
cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -2 |
|
|
cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -2 |
|
|
echo "" |
|
|
echo "" |
|
|
echo "*** LAST BCLOCKHAIN 20 INFO LOGS ***" |
|
|
echo "*** LAST BLOCKCHAIN 20 INFO LOGS ***" |
|
|
pathAdd="" |
|
|
pathAdd="" |
|
|
if [ "${chain}" = "test" ]; then |
|
|
if [ "${chain}" = "test" ]; then |
|
|
pathAdd="/testnet3" |
|
|
pathAdd="/testnet3" |
|
@ -111,4 +111,4 @@ echo "*** OPTION: SHARE THIS DEBUG OUTPUT ***" |
|
|
echo "An easy way to share this debug output on GitHub or on a support chat" |
|
|
echo "An easy way to share this debug output on GitHub or on a support chat" |
|
|
echo "use the following command and share the resulting link:" |
|
|
echo "use the following command and share the resulting link:" |
|
|
echo "/home/admin/XXdebugLogs.sh | nc termbin.com 9999" |
|
|
echo "/home/admin/XXdebugLogs.sh | nc termbin.com 9999" |
|
|
echo "" |
|
|
echo "" |
|
|