Errors & Troubleshooting
Where can I find a log file for the running Klaytn node using the Klaytn binary package?
Answer
You can find a log file in data directory. For example, default location of a log for kcnd
is /var/log/kcnd/kcnd.out
when you install kcnd
RPM package.
Klaytn node can not connect to network with Protocol istanbul/64 failed
and Genesis block mismatch
error message as below.
Protocol istanbul/64 failed
and Genesis block mismatch
error message as below.Answer
This error can happen when genesis.json
is differ. Please stop Klaytn node and remove data directory. Then run ken init
again using correct genesis.json
as below.
For example, when data directory is /var/kend/data
.
Can't deploy smart contract using truffle with following error message.
Answer
Enable net
and other API for RPC console by editing kend.conf
file as below.
After updating kend.conf
, restart Klaytn node.
Can't start Klaytn node with Unit not found
error as below after installing binary package.
Unit not found
error as below after installing binary package.Answer
Please reload daemon as below.
CN can't connect to network with Add dial candidate from static nodes
log message.
Add dial candidate from static nodes
log message.Answer
This can happen when genesis.json
and nodekey/validator information differ. Please check nodekey/validator and genesis.json
file again.
Klaytn node can't start with following error log message.
Answer
If you see the above protocol stack error message in the log file, it means Klaytn failed to start because the full path name of current working directory is too long. Please launch a Klaytn node with a shorter full data directory. The maximum allowed length of path name depends on operating system.
EN can't connect to CC with following log message.
Answer
It could happen when genesis of mainchain and service chain differ. Please check genesis of both chain are same.
Head state missing error
Answer Due to a compatibility issue, we strongly recommend to upgrade EN's binary to v0.9.6 if you have been running an EN with older versions (<= v0.8.2). If it is your first time upgrading the EN to v0.9.x and want to migrate the data from the older version, you must specify the option ADDITIONAL="--db.num-statetrie-partitions 1"
in the configuration file when you install the newer version.
Last updated