bnb-chain / node-deploy

50 stars 39 forks source link

node-deploy/.local/bsc/node0/geth0': No such file or directory #63

Open vinaykharayat opened 3 months ago

vinaykharayat commented 3 months ago

I am getting these error

+ set -e
+++ dirname ./start_cluster.sh
++ cd .
++ pwd
+ basedir=/node-deploy
+ workspace=/node-deploy
+ source /node-deploy/.env
++ BSC_CLUSTER_SIZE=3
++ BSC_CHAIN_NAME=rialto
++ BSC_CHAIN_ID=123456
++ KEYPASS=0123456789
++ INIT_HOLDER=
++ INIT_HOLDER_PRV=
++ RPC_URL=http://0.0.0.0:8545
++ HARD_FORK_DELAY=40
++ FullImmutabilityThreshold=512
++ MinBlocksForBlobRequests=576
++ DefaultExtraReserveForBlobRequests=32
++ BreatheBlockInterval=600
+ size=3
+ stateScheme=path
+ dbEngine=pebble
+ gcmode=full
+ epoch=200
+ blockInterval=3
+ needRegister=false
+ sleepBeforeStart=10
+ CMD=start
+ ValidatorIdx=
+ case ${CMD} in
+ native_start
++ cat /node-deploy/.local/bsc/hardforkTime.txt
++ grep hardforkTime
++ awk '-F ' '{print $NF}'
cat: /node-deploy/.local/bsc/hardforkTime.txt: No such file or directory
+ CancunHardforkTime=
+ ValIdx=
+ (( i = 0 ))
+ (( i < size ))
+ '[' '!' -z ']'
+ for j in ${workspace}/.local/bsc/validator${i}/keystore/*
++ cat '/node-deploy/.local/bsc/validator0/keystore/*'
++ jq -r .address
cat: '/node-deploy/.local/bsc/validator0/keystore/*': No such file or directory
+ cons_addr=0x
+ HTTPPort=8545
+ WSPort=8545
+ MetricsPort=6060
+ rm -f /node-deploy/.local/bsc/node0/geth0
+ cp /node-deploy/bin/geth /node-deploy/.local/bsc/node0/geth0
cp: cannot create regular file '/node-deploy/.local/bsc/node0/geth0': No such file or directory

The is my directory structure

├── bin
├── bsc
│   ├── accounts
│   ├── beacon
│   ├── build
│   ├── cmd
│   ├── common
│   ├── consensus
│   ├── console
│   ├── core
│   ├── crypto
│   ├── docker
│   ├── docs
│   ├── eth
│   ├── ethclient
│   ├── ethdb
│   ├── ethstats
│   ├── event
│   ├── graphql
│   ├── internal
│   ├── log
│   ├── metrics
│   ├── miner
│   ├── node
│   ├── p2p
│   ├── params
│   ├── rlp
│   ├── rpc
│   ├── signer
│   ├── swarm
│   ├── tests
│   ├── trie
│   └── triedb
├── create-validator
│   └── abi
├── genesis
│   ├── abi
│   ├── contracts
│   ├── scripts
│   ├── test
│   └── wbnb
├── helm
│   ├── bc
│   ├── bsc
│   ├── bsc-relayer
│   └── oracle-relayer
├── keys
│   ├── bls0
│   ├── bls1
│   ├── bls10
│   ├── bls11
│   ├── bls12
│   ├── bls13
│   ├── bls14
│   ├── bls15
│   ├── bls16
│   ├── bls17
│   ├── bls18
│   ├── bls19
│   ├── bls2
│   ├── bls20
│   ├── bls3
│   ├── bls4
│   ├── bls5
│   ├── bls6
│   ├── bls7
│   ├── bls8
│   ├── bls9
│   ├── validator0
│   ├── validator1
│   ├── validator10
│   ├── validator11
│   ├── validator12
│   ├── validator13
│   ├── validator14
│   ├── validator15
│   ├── validator16
│   ├── validator17
│   ├── validator18
│   ├── validator19
│   ├── validator2
│   ├── validator20
│   ├── validator3
│   ├── validator4
│   ├── validator5
│   ├── validator6
│   ├── validator7
│   ├── validator8
│   └── validator9
├── txblob
└── txbot
buddh0 commented 1 month ago

you should put the bin file geth into /node-deploy/bin/

vinaykharayat commented 1 month ago

you should put the bin file geth into /node-deploy/bin/

okay, thanks I'll try!