# Configuration file for the kend
NETWORK="baobab"
# if you specify NETWORK_ID, a private network is created.
NETWORK_ID=
PORT=32323
....
DATA_DIR=/var/kend/data
LOG_DIR=/var/log/kend
kend start
-bash: /usr/bin/kend: No such file or directory
I don’t see any kend binary file after install yum to run kend start. Ken only.
Another problem. Can I ask where is genesis.json file. I can’t found it.
sudo ken init --datadir /var/kend/data genesis.json
CRIT[04/06,16:15:34 Z] [19] Failed to read genesis file err=“open genesis.json: no such file or directory”
I had been through the same problem.
The problem is that the rpm package does not have the ‘kend’ file which is a simple script written by Klaytn to help start/stop the ken process.
My quick fix was to install ken with ‘ken-…tar.gz’
It has the kend file
Thanks for helping @sytech. Is there any problems you got if we use llinux-amd64 file on Amazon Linux 2 (redhat 7.x86_64.rpm). I thought that they are different built binary files.
And can you load .conf file from ken command. I have to pass manual arguments rightnow because
kend-v1.6.0-0.el7.x86_64.rpm didn’t load .conf file from /etc/kend/conf/kend.conf
Another problem. Can I ask where is genesis.json file. I can’t found it.
Can I ask the reason why you need a genesis.json? What you’re trying to run is an EN node. EN Node only cannot generate blocks. I recommend core-cell + en or service chain docs to configure your own testnet. You can find the way how to generate genesis.json file by using homi tool.
Check status by cmd: systemctl status kend.service -l
Btw, I think we should post RPC public test node url : https://api.baobab.klaytn.net:8651 on Docs website. I think it will attract more smart contract developers without having to spend time installing nodes to develop(You guys published it already but they might not know (included me untils I found this forum).
Oh, you have already set up the network… thanks for the detailed instruction.
Besides, I asked devops. They told kend file is already in /etc/init.d/. You can check the path by running rpm -qpl kend-baobab-v1.6.0-0.el7.x86_64.rpm. After installation, you can run/stop the EN node by following commands.
systemctl status kend
systemctl start kend
systemctl stop kend
You can build a network more conveniently with this approach
Btw, I think we should post RPC public test node url : https://api.baobab.klaytn.net:8651 on Docs website.