En노드 설치 최신체인데이터 가져오고 실행시

안녕하세요.
개발PC에서 EN 바오밥 테스트를 하려는데. 실행이 되지 않고 있습니다.
무엇이 문제일까요?

윈도우10 wsl2
Z드라이브 SSD 마운트
ken-baobab-v1.8.2-0-linux-amd64.tar.gz
DATA_DIR=/mnt/z/EN/ken-linux-amd64/data
LOG_DIR=/mnt/z/EN/ken-linux-amd64/logs

$kend start
$kend status
시작과 동시에 종료됩니다.

참고 모두 성공
nc -u -v ston65.cypress.klaytn.net 32323
nc -u -v ston45.baobab.klaytn.net 32323

관련로그

INFO[04/11,12:07:04 +09] [31] Enabling metrics collection              
INFO[04/11,12:07:04 +09] [31] Enabling Prometheus Exporter             
INFO[04/11,12:07:04 +09] [18] Setting connection type                   nodetype=en conntype=1
INFO[04/11,12:07:04 +09] [18] Baobab bootnodes are set                 
INFO[04/11,12:07:04 +09] [18] Bootnode - Add Seed                       Node="kni://779d766628247ebda5f3e108e9303bd8efdb8eba9fd8d6c529e2614aec7207ebf6614fe7e61d0d99b75e8b23dd3a679b112fd0de7e4e71a7008f0718710da48f@52.79.223.199:32323?ntype=bn"
INFO[04/11,12:07:04 +09] [18] Setting MaxPhysicalConnections            MaxPhysicalConnections=10
INFO[04/11,12:07:04 +09] [18] Baobab network ID is set                  networkid=1001
INFO[04/11,12:07:04 +09] [18] Raised fd limit to process's maximum value  fd=4096
INFO[04/11,12:07:04 +09] [18] Baobab network ID is set                  networkid=1001
INFO[04/11,12:07:04 +09] [18] Archiving mode of this node               isArchiveMode=false
INFO[04/11,12:07:04 +09] [40] Starting peer-to-peer node                instance=Klaytn/v1.8.2+7584e71de6/linux-amd64/go1.15.7
INFO[04/11,12:07:04 +09] [47] Non-single database is used for persistent storage  DBType=LevelDB
INFO[04/11,12:07:04 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/misc levelDBCacheSize=16 openFilesLimit=40 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:04 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/header levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:04 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/body   levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/receipts levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/0 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/1 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/2 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/3 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] Created a sharded database                dbType=statetrie numShards=4
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/txlookup                      levelDBCacheSize=16 openFilesLimit=40  useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/bridgeservice                 levelDBCacheSize=16 openFilesLimit=20  useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [47] LevelDB configurations                    path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/snapshot                      levelDBCacheSize=22 openFilesLimit=61  useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[04/11,12:07:05 +09] [30] Successfully loaded governance state from database  blockNumber=87981056
INFO[04/11,12:07:05 +09] [41] Initialised chain configuration           config="{ChainID: 1001 IstanbulCompatibleBlock: 75373312 LondonCompatibleBlock: 80295291 EthTxTypeCompatibleBlock: 86513895 SubGroupSize: 22 UnitPrice: 750000000000 DeriveShaImpl: 2 Engine: istanbul}"
INFO[04/11,12:07:05 +09] [41] Initialising Klaytn protocol              versions=[64] network=1001
INFO[04/11,12:07:05 +09] [5] Using DeriveShaConcat!                   
INFO[04/11,12:07:05 +09] [48] Initializing local trie node cache (fastCache)  MaxMiB=7649 FilePath=/mnt/z/EN/ken-linux-amd64/data/fastcache
INFO[04/11,12:07:05 +09] [48] Initialized local trie node cache (fastCache)  LoadedMiB=0 LoadedEntries=0 elapsed=1.099441ms
INFO[04/11,12:07:05 +09] [5] Loaded most recent local header           number=87981900 hash=e429b1…c16000 td=87981901 age=1d2h6m
INFO[04/11,12:07:05 +09] [5] Loaded most recent local full block       number=87981900 hash=e429b1…c16000 td=87981901 age=1d2h6m
INFO[04/11,12:07:05 +09] [5] Loaded most recent local fast block       number=87981900 hash=e429b1…c16000 td=87981901 age=1d2h6m
INFO[04/11,12:07:05 +09] [5] prefetchTxWorkers are started             num=32
INFO[04/11,12:07:05 +09] [5] Loaded local transaction journal          transactions=0 dropped=0
INFO[04/11,12:07:05 +09] [5] Regenerated local transaction journal     transactions=0 accounts=0
INFO[04/11,12:07:05 +09] [40] Starting P2P networking                  
INFO[04/11,12:07:07 +09] [34] UDP listener up                           self="kni://5e8197b109bdd5905a3bdbba45aa500b5b4019be6516aaa95b9a2ce8d061f76e0a9044cd886ba8c129c03fe2e9ec0dfc0e5e84cdeb5549f953619170e08c6b75@[::]:32323?ntype=en"
INFO[04/11,12:07:07 +09] [40] Started P2P server                        id=5e8197b109bdd590 multichannel=true
INFO[04/11,12:07:07 +09] [40] RLPx listener up                          self="kni://5e8197b109bdd5905a3bdbba45aa500b5b4019be6516aaa95b9a2ce8d061f76e0a9044cd886ba8c129c03fe2e9ec0dfc0e5e84cdeb5549f953619170e08c6b75@[::]:32323?ntype=en"
INFO[04/11,12:07:07 +09] [40] RLPx listener up                          self="kni://5e8197b109bdd5905a3bdbba45aa500b5b4019be6516aaa95b9a2ce8d061f76e0a9044cd886ba8c129c03fe2e9ec0dfc0e5e84cdeb5549f953619170e08c6b75@[::]:32323?ntype=en"
INFO[04/11,12:07:07 +09] [44] Start listening chain head event to update stakingInfoCache. 
INFO[04/11,12:07:07 +09] [41] Stopping Klaytn protocol                 
INFO[04/11,12:07:07 +09] [41] Klaytn protocol stopped                  
INFO[04/11,12:07:07 +09] [29] Terminated insertWorker                  
INFO[04/11,12:07:07 +09] [5] Transaction pool stopped                 
INFO[04/11,12:07:07 +09] [5] Writing cached state to disk              block=87981900 hash=e429b1…c16000 root=813237…dba05d
INFO[04/11,12:07:07 +09] [48] Persisted trie from memory database       blockNum=87981900 updated nodes=0 updated nodes size=0.00B time=18.889µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO[04/11,12:07:07 +09] [5] Blockchain manager stopped               
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/misc
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/header
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/body
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/receipts
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/0
INFO[04/11,12:07:07 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/1
INFO[04/11,12:07:08 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/2
INFO[04/11,12:07:08 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/statetrie_migrated_84793777/3
INFO[04/11,12:07:08 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/txlookup
INFO[04/11,12:07:08 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/bridgeservice
INFO[04/11,12:07:08 +09] [47] Database closed                           path=/mnt/z/EN/ken-linux-amd64/data/klay/chaindata/snapshot
WARN[04/11,12:07:08 +09] [34] UDP read error                            err="read udp [::]:32323: use of closed network connection"
Fatal: Error starting protocol stack: listen unix /mnt/z/EN/ken-linux-amd64/data/klay.ipc: bind: operation not supported

안녕하세요. 클레이튼 포럼에 질문을 주셔서 감사합니다.
윈도우 wsl 환경에서의 klaytn binary 실행은 충분히 검증되지 않은 실행환경이라 에러가 발생할 수 있습니다.

klaytn repository를 직접 다운받으셔서 binary를 빌드하시고 테스트해보시겠어요?
방법은 다음과 같습니다.

2개의 좋아요

현재 기본 wsl2 MS 마켓플레이스 에서 받은 우분트로는 정상 동작이 안되고.

docker 로 베이스이미지 우분투최신버전에
클레이튼 기본 사용하는 포트 전체 오픈 하면서 처리한 경우에는
문제없이 실행됨을 확인하였습니다.

#docker run -it -p 32323:32323 -p 32324:32324 -p 80:80 -p 22:22 -p 8551:8551 -p 8552:8552 -p 61001:61001 --name klaytnENTest -v Z:\EN:/EN ubuntu:latest

2개의 좋아요

wooram kim님 해결책 공유 감사드립니다.