Cronos 노드 문제 해결
cronosd 동기화·실행·Validator 관련 자주 쓰는 확인 방법입니다.
동기화가 느리거나 멈춤
- State Sync: 실패할 수 있음. 그 경우 Quicksync 또는 스크래치 동기화 사용.
- seeds / persistent_peers:
config.toml의 seeds가 최신인지 확인. cronos-mainnet 참고. - 디스크·RAM: Full/Archive는 스토리지·메모리 요구사항이 큼. README 표 참고. 여유 공간 부족 시 동기화 중단될 수 있음.
- 블록 높이 비교:
curl -s https://rpc.cronos.org/commit | jq '.result.signed_header.header.height'cronosd status 2>&1 | jq '.SyncInfo.latest_block_height'
too many files opened
- ulimit:
ulimit -Sn 4096또는 더 큰 값(예: 50000). systemd 사용 시 서비스 파일에LimitNOFILE=50000설정. - installation.md의 systemd 예 참고.
Genesis / Chain ID 불일치
- Chain ID: Mainnet
cronosmainnet_25-1.cronosd init ... --chain-id와 genesis.json이 같은 네트워크인지 확인. - genesis.json: 공식 저장소에서 다시 다운로드 후 sha256sum으로 검증. installation.md 참고.
- 테스트넷에서 메인넷으로 전환 시
cronosd unsafe-reset-all후 genesis·config 다시 설정.
업그레이드 후 오류
- 네트워크 업그레이드(예: Huygen, v1.5) 후에는 요구되는 cronosd 버전으로 업그레이드 필요. Upgrade 가이드 및 updates/README.md 참고.
- 패치가 필요한 경우(예: unlucky tx): patching unlucky tx 참고.
Validator
- create-validator 실패: 지갑 잔액·stake 조건·이미 validator 등록 여부 확인. Mainnet Validator 가이드 참고.
- Sentry: Validator 노드는 sentry full node 뒤에 두고, 방화벽·config로 외부 P2P를 sentry에만 연결하도록 구성. Production 배포 노트.
로그
- systemd:
journalctl -u cronosd -f - foreground:
cronosd start출력 확인.