尝试取消节点时出现问题

时间:2019-05-14 10:18:10

标签: blockchain ethereum geth quorum

我正在尝试从头开始构建仲裁节点,我遵循了本教程:https://github.com/jpmorganchase/quorum/wiki/From-Scratch

当我尝试使用此命令执行节点时:

   PRIVATE_CONFIG=ignore nohup geth --datadir new-node-1 -- 
   nodiscover --verbosity 5 --networkid 31337 --raft --raftport 
   50000 --rpc --rpcaddr 0.0.0.0 --rpcport 22000 --rpcapi 
   admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft 
   --emitcheckpoints --port 21000 2>>node.log &

我得到这个输出

   [1] 32123

当我尝试

    geth attach newnode/geth.ipc

我知道

    no such file or directory

您是否有任何形式的输出结果,表示[1] 32123?

1 个答案:

答案 0 :(得分:0)

输出32123是geth进程的进程ID。这是正常的Unix输出,与Quorum无关。要获取更多信息,我建议您阅读一些Unix文档,以了解如何使用“&”在后台运行进程。

在您的命令行中,我可以看到您正在使用数据目录--datadir new-node-1启动geth进程。但是,您正在尝试附加到newnode目录中的IPC文件。 我建议您尝试:

geth attach new-node-1/geth.ipc

如果仍然无法连接,请检查ipc文件是否存在。如果不是,则表明geth进程无法运行。您可以使用“ ps”进行检查,并在日志文件(node.log)中查找是否有任何错误。

相关问题