cita发现不出块,初步判断是磁盘满了,然后清理磁盘,清理日志,重新初始化,启动
./bin/cita setup test-chain/0
./bin/cita start test-chain/0
节点无法启动,而且只有forever的日志,提示pid文件不存在,具体如下:
2020-09-22 - 15:35:52 | cita_forever - 89 | INFO - CITA:forever:cita-forever
2020-09-22 - 15:35:52 | cita_forever - 90 | INFO - Version: v0.24.0-2-gb7ed857
2020-09-22 - 15:35:52 | cita_forever - 94 | INFO - config_file: ForeverConfig { name: Some("cita-forever"), command: Some("cita-forever"), args: None, pidfile: Some(".cita-forever.pid"), process: Some([ProcessConfig { name: Some("cita-auth"), command: Some("cita-auth"), args: Some(["-c", "auth.toml"]), pidfile: Some(".cita-auth.pid"), respawn: Some(3), pid: None, respawns: None }, ProcessConfig { name: Some("cita-network"), command: Some("cita-network"), args: Some(["-c", "network.toml"]), pidfile: Some(".cita-network.pid"), respawn: Some(3), pid: None, respawns: None }, ProcessConfig { name: Some("cita-bft"), command: Some("cita-bft"), args: Some(["-c", "consensus.toml", "-p", "privkey"]), pidfile: Some(".cita-bft.pid"), respawn: Some(3), pid: None, respawns: None }, ProcessConfig { name: Some("cita-jsonrpc"), command: Some("cita-jsonrpc"), args: Some(["-c", "jsonrpc.toml"]), pidfile: Some(".cita-jsonrpc.pid"), respawn: Some(3), pid: None, respawns: None }, ProcessConfig { name: Some("cita-chain"), command: Some("cita-chain"), args: Some(["-c", "chain.toml"]), pidfile: Some(".cita-chain.pid"), respawn: Some(3), pid: None, respawns: None }, ProcessConfig { name: Some("cita-executor"), command: Some("cita-executor"), args: Some(["-c", "executor.toml"]), pidfile: Some(".cita-executor.pid"), respawn: Some(3), pid: None, respawns: None }]) }
2020-09-22 - 15:35:52 | cita_forever::proces - 130 | WARN - cita-forever not started
2020-09-22 - 15:35:52 | cita_forever::proces - 283 | INFO - .cita-forever.pid not found.