MyTonCtrl> status
[debug] 01.03.2023, 19:11:14.357 (UTC) start GetRootWorkchainEnabledTime function
[debug] 01.03.2023, 19:11:14.357 (UTC) start GetConfig function (12)
[warning] 01.03.2023, 19:11:14.368 (UTC) GetValidatorStatus warning: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
[debug] 01.03.2023, 19:11:14.571 (UTC) start GetConfig34 function
[debug] 01.03.2023, 19:11:14.783 (UTC) start GetConfig36 function
[debug] 01.03.2023, 19:11:14.948 (UTC) start GetValidatorsLoad function (1677695814, 1677697814)
[debug] 01.03.2023, 19:11:18.796 (UTC) start GetValidatorEfficiency function
[warning] 01.03.2023, 19:11:18.796 (UTC) GetValidatorEfficiency warning: efficiency not found.
[debug] 01.03.2023, 19:11:18.960 (UTC) start GetConfig function (15)
[debug] 01.03.2023, 19:11:19.541 (UTC) start GetConfig function (17)
[debug] 01.03.2023, 19:11:19.712 (UTC) start GetFullConfigAddr function
[debug] 01.03.2023, 19:11:19.877 (UTC) start GetFullElectorAddr function
[debug] 01.03.2023, 19:11:20.123 (UTC) start GetActiveElectionId function
[warning] 01.03.2023, 19:11:20.336 (UTC) GetValidatorIndex warning: index not found.
[debug] 01.03.2023, 19:11:20.337 (UTC) start GetValidatorWallet function
[debug] 01.03.2023, 19:11:20.337 (UTC) start GetLocalWallet function
[debug] 01.03.2023, 19:11:20.337 (UTC) start GetDbSize function
[debug] 01.03.2023, 19:11:20.342 (UTC) start GetOffersNumber function
[debug] 01.03.2023, 19:11:20.342 (UTC) start GetOffers function
[debug] 01.03.2023, 19:11:20.678 (UTC) start GetComplaintsNumber function
[debug] 01.03.2023, 19:11:20.678 (UTC) start GetConfig32 function
[debug] 01.03.2023, 19:11:20.737 (UTC) start GetComplaints function
===[ TON network status ]===
Transactions per second (TPS): 0.0, 0.0, 0.0
Number of validators: 187(292)
Number of shardchains: 1
Number of offers: 0(0)
Number of complaints: 0(0)
Election status: open

===[ TON network configuration ]===
Configurator address: -1:5555555555555555555555555555555555555555555555555555555555555555
Elector address: -1:3333333333333333333333333333333333333333333333333333333333333333
Validation period: 65536, Duration of elections: 32768-8192, Hold period: 32768
Minimum stake: 10000.0, Maximum stake: 10000000.0

===[ TON timestamps ]===
TON network was launched: 15.11.2019 12:44:14
Start of the validation cycle: 02.03.2023 01:21:23
End of the validation cycle: 02.03.2023 19:33:39
Start of elections: 01.03.2023 16:15:15
End of elections: 01.03.2023 23:04:51
Beginning of the next elections: 02.03.2023 10:27:31

Mar 1, 2023, 7:12 PM
help me please
😭
Mar 1, 2023, 7:13 PM
Your node is active, liteserver works, 10k needed to be a validator, no ton needed to just run a full node

2tb is archival node, simple full mode is ok to run with small disc, it takes near 100gb month I think

You could configure it to not store state and transactions longer than a week
To get liteserver key execute installer command in mytonctl, then plsc command
Then use it to connect in tonutils lib or etc
Mar 1, 2023, 7:46 PM
Most likely he means that he does not have section ===[ Local validator status ]=== in his status
This is due to the fact that he set mytonctrl in lite mode:
https://t.me/tondev_eng/23340

If you want the mytonctrl to display the status of the node, you need to uninstall and reinstall it with full mode:
https://t.me/tondev_eng/23349
Mar 1, 2023, 8:00 PM
no. i installed mytonctrl on a new vps with -m full
plsc shows ip,port,key like we see in ton.org/ton-global.config.json
but if i try to use in lite client it shows connection refused error.
help me
🥹
Mar 2, 2023, 6:18 AM
If you installed in full mode and you don't have section ===[ Local validator status ]===, then the installation failed. Try to reinstall again and send all installer output from console here
Mar 2, 2023, 6:54 AM
ok
[1/4] Starting installation MyTonCtrl
[2/4] Checking for required TON components
TON exist
Cloning into 'mytonctrl'...
remote: Enumerating objects: 2025, done.
remote: Counting objects: 100% (786/786), done.
remote: Compressing objects: 100% (236/236), done.
remote: Total 2025 (delta 595), reused 678 (delta 545), pack-reused 1239
Receiving objects: 100% (2025/2025), 2.76 MiB | 5.11 MiB/s, done.
Resolving deltas: 100% (1330/1330), done.
Submodule 'mypyconsole' (https://github.com/igroman787/mypyconsole.git) registered for path 'mypyconsole'
Submodule 'mypylib' (https://github.com/igroman787/mypylib.git) registered for path 'mypylib'
Cloning into '/usr/src/mytonctrl/mypyconsole'...
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 33 (delta 14), reused 24 (delta 7), pack-reused 0
Receiving objects: 100% (33/33), 18.48 KiB | 3.69 MiB/s, done.
Resolving deltas: 100% (14/14), done.
Cloning into '/usr/src/mytonctrl/mypylib'...
remote: Enumerating objects: 135, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 135 (delta 31), reused 38 (delta 16), pack-reused 80
Receiving objects: 100% (135/135), 48.93 KiB | 8.15 MiB/s, done.
Resolving deltas: 100% (80/80), done.
Submodule path 'mypyconsole': checked out '3538607e412598cace37232c5941673bcdc56ded'
Submodule path 'mypylib': checked out '8727d55f87c56e70ff7d71e293f219136aef5f7c'
[3/4] Launching the mytoninstaller.py
[debug] 02.03.2023, 06:56:45.145 (UTC) Start WritingLogFile thread.
[debug] 02.03.2023, 06:56:45.146 (UTC) Start SelfTesting thread.
[info] 02.03.2023, 06:56:45.146 (UTC) Start program '/usr/src/mytonctrl/mytoninstaller.py'
[debug] 02.03.2023, 06:56:45.146 (UTC) start FirstMytoncoreSettings fuction
Unit exist.
[warning] 02.03.2023, 06:56:45.147 (UTC) mytoncore.db already exist. Break FirstMytoncoreSettings fuction
[debug] 02.03.2023, 06:56:45.147 (UTC) start FirstNodeSettings fuction
[warning] 02.03.2023, 06:56:45.147 (UTC) Validators config.json already exist. Break FirstNodeSettings fuction
[debug] 02.03.2023, 06:56:45.147 (UTC) start EnableValidatorConsole function
[warning] 02.03.2023, 06:56:45.147 (UTC) Server or client key already exist. Break EnableValidatorConsole fuction
[debug] 02.03.2023, 06:56:45.148 (UTC) start EnableLiteServer function
[warning] 02.03.2023, 06:56:45.148 (UTC) Liteserver key already exist. Break EnableLiteServer fuction
[debug] 02.03.2023, 06:56:45.148 (UTC) Backup validator config file 'config.json' to 'config.json.backup'
[debug] 02.03.2023, 06:56:45.150 (UTC) Backup mytoncore config file 'mytoncore.db' to 'mytoncore.db.backup'
[debug] 02.03.2023, 06:56:45.152 (UTC) start CreateSymlinks fuction
[4/4] Mytonctrl installation completed
🤔
ok
bash /usr/src/mytonctrl/scripts/uninstall.sh
Failed to stop dht-server.service: Unit dht-server.service not loaded.
Uninstall Complete
@f_closer
installing again
the problem is dht server was not running?
🤣
Mar 2, 2023, 7:11 AM
Failed to stop dht-server.service: Unit dht-server.service not loaded
You didn't install it, so it says it couldn't uninstall it. It's ok, you can skip it
Mar 2, 2023, 7:12 AM
dht server is essential component for full node?
Mar 2, 2023, 7:12 AM
It is part of it like other components. But here it means only its separate part without the node itself.
You can install DHT-server without a full node.
Mar 2, 2023, 7:14 AM
[5/6] Downloading config files
--2023-03-02 07:14:09-- https://ton-blockchain.github.io/global.config.json
Resolving ton-blockchain.github.io (ton-blockchain.github.io)... 185.199.111.153, 185.199.110.153, 185.199.108.153, ...
Connecting to ton-blockchain.github.io (ton-blockchain.github.io)|185.199.111.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13807 (13K) [application/json]
Saving to: ‘global.config.json’

global.config.json 100%[====================================================================================================>] 13.48K --.-KB/s in 0s

2023-03-02 07:14:09 (88.5 MB/s) - ‘global.config.json’ saved [13807/13807]

[6/6] TON software installation complete
[3/4] Launching the mytoninstaller.py
[debug] 02.03.2023, 07:14:09.342 (UTC) Start WritingLogFile thread.
[debug] 02.03.2023, 07:14:09.342 (UTC) Start SelfTesting thread.
[info] 02.03.2023, 07:14:09.342 (UTC) Start program '/usr/src/mytonctrl/mytoninstaller.py'
[debug] 02.03.2023, 07:14:09.342 (UTC) start FirstMytoncoreSettings fuction
[debug] 02.03.2023, 07:14:09.577 (UTC) Start/restart mytoncore service
[debug] 02.03.2023, 07:14:09.586 (UTC) start FirstNodeSettings fuction
[debug] 02.03.2023, 07:14:09.973 (UTC) Use addr:


403 Forbidden


Error: Forbidden


Your client does not have permission to get URL / from this server.




:53004
[debug] 02.03.2023, 07:14:09.973 (UTC) First start validator - create config.json
[ 1][t 0][2023-03-02 07:14:09.980304401][validator-engine.cpp:3607] failed to parse options: [Error : 0 : Failed to resolve host: Name or service not known]
[debug] 02.03.2023, 07:14:09.981 (UTC) Chown ton-work dir
[debug] 02.03.2023, 07:14:09.984 (UTC) Start/restart validator service
[debug] 02.03.2023, 07:14:09.990 (UTC) sleep 10 sec
[debug] 02.03.2023, 07:14:20.000 (UTC) start EnableValidatorConsole function
[debug] 02.03.2023, 07:14:20.017 (UTC) Start/restart validator service
[debug] 02.03.2023, 07:14:20.023 (UTC) sleep 10 sec
[debug] 02.03.2023, 07:14:30.175 (UTC) start CreateWallet function
[debug] 02.03.2023, 07:14:30.195 (UTC) start GetLocalWallet function
[debug] 02.03.2023, 07:14:30.195 (UTC) start GetWalletFromFile function
[debug] 02.03.2023, 07:14:30.195 (UTC) start GetConfig function (12)
[warning] 02.03.2023, 07:14:33.201 (UTC) GetValidatorStatus warning: Command '['/usr/bin/ton/validator-engine-console/validator-engine-console', '-k', '/var/ton-work/keys/client', '-p', '/var/ton-work/keys/server.pub', '-a', '127.0.0.1:63361', '-v', '0', '--cmd', 'getstats']' timed out after 3 seconds
[debug] 02.03.2023, 07:14:35.146 (UTC) start GetConfig function (15)
[debug] 02.03.2023, 07:14:37.614 (UTC) start WalletVersion2Wallet function
[debug] 02.03.2023, 07:14:37.615 (UTC) start CreateNewKey function
Traceback (most recent call last):
File "/usr/src/mytonctrl/mytoncore.py", line 4434, in
Init()
File "/usr/src/mytonctrl/mytoncore.py", line 3902, in Init
Event(eventName)
File "/usr/src/mytonctrl/mytoncore.py", line 3921, in Event
EnableVcEvent()
File "/usr/src/mytonctrl/mytoncore.py", line 3935, in EnableVcEvent
adnlAddr = ton.CreateNewKey()
File "/usr/src/mytonctrl/mytoncore.py", line 1232, in CreateNewKey
result = self.validatorConsole.Run("newkey")
File "/usr/src/mytonctrl/mytoncore.py", line 66, in Run
process = subprocess.run(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=timeout)

File "/usr/lib/python3.9/subprocess.py", line 507, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.9/subprocess.py", line 1134, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.9/subprocess.py", line 1982, in _communicate
self._check_timeout(endtime, orig_timeout, stdout, stderr)
File "/usr/lib/python3.9/subprocess.py", line 1178, in _check_timeout
raise TimeoutExpired(
subprocess.TimeoutExpired: Command '['/usr/bin/ton/validator-engine-console/validator-engine-console', '-k', '/var/ton-work/keys/client', '-p', '/var/ton-work/keys/server.pub', '-a', '127.0.0.1:63361', '-v', '0', '--cmd', 'newkey']' timed out after 3 seconds
[debug] 02.03.2023, 07:14:40.651 (UTC) Start/restart mytoncore service
[debug] 02.03.2023, 07:14:40.664 (UTC) start EnableLiteServer function
[debug] 02.03.2023, 07:14:40.664 (UTC) generate liteserver key
[debug] 02.03.2023, 07:14:40.670 (UTC) move key
[debug] 02.03.2023, 07:14:40.673 (UTC) chown 1
[debug] 02.03.2023, 07:14:40.675 (UTC) chown 2
[debug] 02.03.2023, 07:14:40.677 (UTC) read vconfig
[debug] 02.03.2023, 07:14:40.677 (UTC) prepare vconfig
[debug] 02.03.2023, 07:14:40.677 (UTC) write vconfig
[debug] 02.03.2023, 07:14:40.677 (UTC) Start/restart validator service
[debug] 02.03.2023, 07:14:40.683 (UTC) sleep 10 sec
[debug] 02.03.2023, 07:14:50.693 (UTC) read mconfig
[debug] 02.03.2023, 07:14:50.694 (UTC) edit mytoncore config file
[debug] 02.03.2023, 07:14:50.694 (UTC) write mconfig
[debug] 02.03.2023, 07:14:50.694 (UTC) Start/restart mytoncore service
[debug] 02.03.2023, 07:14:50.709 (UTC) Backup validator config file 'config.json' to 'config.json.backup'
[debug] 02.03.2023, 07:14:50.711 (UTC) Backup mytoncore config file 'mytoncore.db' to 'mytoncore.db.backup'
[debug] 02.03.2023, 07:14:50.713 (UTC) start CreateSymlinks fuction
[4/4] Mytonctrl installation completed
@f_closer
looks like https://ifconfig.me blacked my server ip while trying to know the public ip ?
Mar 2, 2023, 7:19 AM
Yes, it looks like your ip address is in some kind of black list
Mar 2, 2023, 7:20 AM
at this point, cant i manually specify my public ip address?
Mar 2, 2023, 7:21 AM
icanhazip.com also gives you your public address. maybe it can help.
Mar 2, 2023, 7:23 AM
https://github.com/ton-blockchain/mytonctrl/blob/4b8c0a5c07b01d549256fe21961157bd2d0f56ef/mytoninstaller.py#L293
@f_closer
but if i do curl 'https://ifconfig.me' shows ip address
something like python useragent blacked?
Mar 2, 2023, 7:29 AM
httpbin.org/ip
Mar 2, 2023, 8:38 AM
installer problem
if a validator stake 10k ton howmuch can he earn from mytonctrl?
Mar 2, 2023, 8:44 AM
validator stake is about 350k as I remember
Mar 2, 2023, 8:46 AM
===[ TON network configuration ]===
Configurator address: -1:5555555555555555555555555555555555555555555555555555555555555555
Elector address: -1:3333333333333333333333333333333333333333333333333333333333333333
Validation period: 65536, Duration of elections: 32768-8192, Hold period: 32768
Minimum stake: 10000.0, Maximum stake: 10000000.0
full node communicate with other node via liteclient/liteserver ?
Hi what is the use of dht server?
Does it help connect to lots of other node?
Mar 6, 2023, 8:35 PM

© 2024 Draquery.com All rights reserved.