lotus Cannot start after forced shutdown #7951
Replies: 9 comments 2 replies
-
The damaged block is found. The data after the height of 279862 is damaged. How to repair it |
Beta Was this translation helpful? Give feedback.
-
Put the file 001704.log Move files to other directories,Start lotus program;The program can be started, but there are errors in the log,Check status: |
Beta Was this translation helpful? Give feedback.
-
I wonder if there is a command to repair the damaged block |
Beta Was this translation helpful? Give feedback.
-
Can you re-import the snapshot? |
Beta Was this translation helpful? Give feedback.
-
Now it has been restored, copy the data of other lotus node chain directory
I want to ask, if you import through a snapshot, does the snapshot do not contain node data?
…------------------ 原始邮件 ------------------
发件人: "filecoin-project/lotus" <[email protected]>;
发送时间: 2020年12月3日(星期四) 凌晨2:49
收件人: "filecoin-project/lotus"<[email protected]>;
抄送: "1076813060"<[email protected]>;"Author"<[email protected]>;
主题: Re: [filecoin-project/lotus] lotus Cannot start after forced shutdown (#5051)
Can you re-import the snapshot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Same here.i run a local dev network.after shutdown lotus daemon with ctrl+c . it couldn't start up again with the error below: ERROR: initializing node: starting node: could not build arguments for function "github.com/filecoin-project/lotus/node/modules/lp2p".StartListening.func1 (/home/worker/lotus/node/modules/lp2p/addrs.go:98): failed to build host.Host: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build lp2p.BaseIpfsRouting: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build dtypes.NetworkName: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build dtypes.AfterGenesisSet: received non-nil error from function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): genesis in the repo is not the one expected by this version of Lotus! plus my command here: |
Beta Was this translation helpful? Give feedback.
-
Hi @yzn5555 Thanks for the report. The issue you are experiencing lies elsewhere. Moving this issue to Lotus Discussions for help and troubleshooting. Closing Lotus issue ticket. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am Sgt_Coin (Trey), on of the support engineers here. The snapshot import contains chain data, no host data. The reason for using the snapshot is to limit the amount of time to sync with the blockchain. You also shouldn't use |
Beta Was this translation helpful? Give feedback.
-
Archiving for future reference as no response has been received. |
Beta Was this translation helpful? Give feedback.
-
Execute the kill -9 command to close the program, start again and report an error
ERROR: initializing node: starting node: could not build arguments for function "github.com/filecoin-project/lotus/node/modules/lp2p".StartListening.func1 (/data/lotus/node/modules/lp2p/addrs.go:98): failed to build host.Host: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build lp2p.RawHost: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): could not build value group []config.Option[group="libp2p"]: could not build arguments for function "github.com/filecoin-project/lotus/node/modules/lp2p".ConnGaterOption (/data/lotus/node/modules/lp2p/conngater.go:14): failed to build *conngater.BasicConnectionGater: could not build arguments for function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): failed to build dtypes.MetadataDS: received non-nil error from function "reflect".makeFuncStub (/usr/local/go/src/reflect/asm_amd64.s:12): opening datastore /metadata: leveldb/journal: block/chunk corrupted: chunk length overflows block (134 bytes) [file=001704.log]
Beta Was this translation helpful? Give feedback.
All reactions