Config and Log files of a Full Node server in Lunes Platform

Lunes node log

After a fullnode server installation on Lunes Platform we can find the following distribution of files and folders, about configuration, log and other data (wallet and the blockchain itself)

Config file (lunes.conf)

The main config file is lunes.conf, Every time a change is made, to be applied, you must stop the lunesnode service and restart it.

Start service: sudo systemctl start lunesnode

Stop service: sudo systemctl stop lunesnode

Status of service: sudo systemctl status lunesnode

 administrador@pijofullnode:~$ sudo systemctl status lunesnode
● lunesnode.service - Lunes Node Blockchain
Loaded: loaded (/etc/systemd/system/lunesnode.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-03-27 10:19:48 CET; 1 day 13h ago
Main PID: 1127 (java)
Tasks: 66 (limit: 4915)
CGroup: /system.slice/lunesnode.service
└─1127 /usr/bin/java -jar /opt/lunesnode/lunesnode-latest.jar /etc/lunesnode/lunes.conf
mar 28 23:59:22 pijofullnode lunesnode[1127]: 2019-03-28 23:59:22,007 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(4xdJfPSaZeLvCw3S5xT2bF377xXTKcut8
mar 28 23:59:34 pijofullnode lunesnode[1127]: 2019-03-28 23:59:34,063 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(673u5iLHjdQKfjMQcYf2YDwL8xNAFbVQN
mar 29 00:00:39 pijofullnode lunesnode[1127]: 2019-03-29 00:00:39,007 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(42nyhsfEf2VkBvGCz1WKPjJchwqRhFnJ2
mar 29 00:01:13 pijofullnode lunesnode[1127]: 2019-03-29 00:01:13,008 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(3s4qek2HdftCwjerjdQt9uEiASW45PeGv
mar 29 00:01:28 pijofullnode lunesnode[1127]: 2019-03-29 00:01:28,033 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(3Sne3tbasy31pGbjZb4wbwtXP8GCQiJiK
mar 29 00:01:31 pijofullnode lunesnode[1127]: 2019-03-29 00:01:31,006 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(3uDmCMpMHJmEgbXEV1peWFdcb4ZTWyY8z
mar 29 00:03:27 pijofullnode lunesnode[1127]: 2019-03-29 00:03:27,007 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(52NmBCJFKh4QKiH6tRRJPDYCRuXww6qhc
mar 29 00:05:40 pijofullnode lunesnode[1127]: 2019-03-29 00:05:40,006 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(3NbP3B9bBnjbHLmN6ZR8HnHgG5k2iEGPo
mar 29 00:05:44 pijofullnode lunesnode[1127]: 2019-03-29 00:05:44,058 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(4CPvTdS3VVwXGtyWDjKR6Ufbb9iiLLyp9
mar 29 00:07:20 pijofullnode lunesnode[1127]: 2019-03-29 00:07:20,008 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(M3jXtkjMrQT6dqXT2QnaQs9ztj3QX2EhU

Modify the lunes.conf

sudo nano /etc/lunesnode/lunes.conf

<I will dedicate one article for this file>

Log’s files

Existen dos ficheros de log a observar:

lunes.log que muestra mensajes en detalle sobre tu propio nodo y de su relación con los demás y syslog que muestra de forma general la generación de bloques y la conexión entre peers:


tail -f /home/lunesuser/lunesblockchain/log/lunes.log
2019-03-28 23:54:23,005 DEBUG [appender-63] io.lunes.mining.MinerImpl - Next attempt for acc=37nX3hdCt1GWeSsAMNFmWgbQWZZhbvBG3mX in 110993 milliseconds
2019-03-28 23:54:29,787 DEBUG [r.default-dispatcher-5684] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://api.lunesfullnode.com:5555/activation/status
2019-03-28 23:54:29,857 DEBUG [r.default-dispatcher-5685] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://api.lunesfullnode.com:5555/blocks/at/404215
2019-03-28 23:54:31,930 DEBUG [r.default-dispatcher-5686] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://api.lunesfullnode.com:5555/blocks/seq/404214/404215
2019-03-28 23:54:32,584 DEBUG [nio-worker-group-3-1] i.l.network.NetworkServer$ - [52a27bb0] connection timed out: /35.196.163.27:7770, outgoing channel count: 4
2019-03-28 23:54:37,589 DEBUG [nio-worker-group-3-2] i.l.network.NetworkServer$ - [3e4b7a89] connection timed out: /3.209.29.217:7770, outgoing channel count: 3
2019-03-28 23:54:38,389 DEBUG [r.default-dispatcher-5685] i.l.state2.StateStorage - Accounts count: 3410
2019-03-28 23:54:38,446 DEBUG [r.default-dispatcher-5685] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://api.lunesfullnode.com:5555/debug/state
2019-03-28 23:54:39,435 DEBUG [r.default-dispatcher-5685] i.l.state2.StateStorage - Accounts count: 3410
2019-03-28 23:54:39,492 DEBUG [r.default-dispatcher-5685] s.a.h.CompositeHttpService - HTTP 200 OK from GET http://api.lunesfullnode.com:5555/debug/state
2019-03-28 23:54:52,602 DEBUG [nio-worker-group-3-3] i.l.network.NetworkServer$ - [cf94d92b] connection timed out: /185.141.60.198:7770, outgoing channel count: 4

more /var/log/syslog | grep lunesnode
Mar 28 23:35:11 pijofullnode lunesnode[1127]: 2019-03-28 23:35:11,968 INFO [nio-worker-group-3-2] i.l.n.HandshakeHandler$Client - [489e6580 68.183.23.33:7770] Accepted handshake Handshake(lunesnode1,(0,0,7),mainnode1,1632419,Some(/68.183.23.33:7770))
Mar 28 23:35:58 pijofullnode lunesnode[1127]: 2019-03-28 23:35:58,032 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(4Pyn4P38vrhMXRGcQSoFceYBMnCQKdF96B86NTSFLu73hwDBbeow1MxAcdvHAJa7zeqa9dRzxHD64YUA1Cw5VFo6 -> 643Ui5u…, txs=0, features=Set()) appended. New height: 404201)
Mar 28 23:35:59 pijofullnode lunesnode[1127]: 2019-03-28 23:35:59,038 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(UPYwLTS1ZiBKtSCneMRofXDMD2Lu3E5RKqmuikfMDpQ7EV293U3rx9ffESVtwh87GC8sL88Punh4oEYWRkoi2Mm -> 4Pyn4P3…, txs=0, features=Set()) appended. New height: 404202)
Mar 28 23:36:48 pijofullnode lunesnode[1127]: 2019-03-28 23:36:48,004 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(4jijESYqGG59U2jWBr8yR4azJAqWED8ZyZN9wrF4iyEVrAR9FuVs2d56HSBZtg2zMRCVt5u5hWnWahnc7Lup3kqa -> UPYwLTS…, txs=0, features=Set()) appended. New height: 404203)
Mar 28 23:38:52 pijofullnode lunesnode[1127]: 2019-03-28 23:38:52,007 INFO [appender-63] i.l.s.BlockchainUpdaterImpl - Block(q4D4Ehi37J49dQKGo8jbydomVy5YZFgygddQVeihr5aS98SJ5d6xLRsPfCcBk58ZM13ZwSNtNTkSKszEUnwLneY -> 4jijESY…, txs=0, features=Set()) appended. New height: 404204)

Ficheros de datos

Fichero wallet.dat

The wallet is stored in /home/lunesuser/lunesblockchain/wallet/wallet.dat

If we change the SEED in the configuration file and therefore the wallet, we must (with the service lunesnode stopped) delete the file wallet.dat.

When the service starts again a new wallet.dat is created

Blockchain’s files

Is stored at /home/lunesuser/lunesblockchain/data/*.ldb and have 2,1 MB each one.

If after an update we had to re-synchronize the complete blockchain we will have to delete this directory.

If you liked this little article we will be very happy accepting a donation or a lease to our node:
www.LunesFullNode.com – 37nX3hdCt1GWeSsAMNFmWgbQWZZhbvBG3mX

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.