Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lotus Cannot start after forced shutdown #5051

Closed
yzn5555 opened this issue Nov 30, 2020 · 7 comments
Closed

lotus Cannot start after forced shutdown #5051

yzn5555 opened this issue Nov 30, 2020 · 7 comments

Comments

@yzn5555
Copy link

yzn5555 commented Nov 30, 2020

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]

@yzn5555
Copy link
Author

yzn5555 commented Nov 30, 2020

The damaged block is found. The data after the height of 279862 is damaged. How to repair it

@yzn5555
Copy link
Author

yzn5555 commented Nov 30, 2020

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:
image
image

@yzn5555
Copy link
Author

yzn5555 commented Nov 30, 2020

I wonder if there is a command to repair the damaged block

@kernelogic
Copy link

Can you re-import the snapshot?

@yzn5555
Copy link
Author

yzn5555 commented Dec 3, 2020 via email

@falcolee
Copy link

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:
./lotus daemon --lotus-make-genesis=devgen.car --genesis-template=localnet.json --bootstrap=false

@Reiers
Copy link

Reiers commented Jan 14, 2022

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.

@filecoin-project filecoin-project locked and limited conversation to collaborators Jan 14, 2022
@Reiers Reiers converted this issue into discussion #7951 Jan 14, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants