0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Quorum "Fatal: Failed to raise file descriptor allowance: invalid argument"のバグ解消

Last updated at Posted at 2019-12-02

バグの内容

QuorumのCreate Network From Scrachのチュートリアル時、以下のコマンドでバグが発生するケースがあります。

これは、QuorumがGoのversion1.11までしかサポートしていないためです。
Issue

geth --datadir new-node-1 init genesis.json
INFO [12-02|16:18:49.325] Maximum peer count                       ETH=25 LES=0 total=25
Fatal: Failed to raise file descriptor allowance: invalid argument

バグの解消方法

  1. Goのversion管理ツールでVersionを1.11に変える。Go version管理の定番はgvm

  2. make allをgo.11でやり直す

注意

make allによって、現在のGoのVersionとQuorumに対応したgethバイナリーが生成されます。そのため、make allコマンドを実行する前にGoのVersionを変更してください。

細かい手順は公式で。

チェックポイント

  1. Pathの設定がbuild/binに設定されているか(which geth で確認)
  2. GoのVersionが 1.11以下か (gvm versionで確認)
  3. make all の前にGoのversionを変更したか(geth versionでgoのversion確認)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?