Overview
This guide covers common issues encountered when operating Viction nodes and their solutions.Node Won’t Start
Issue: “Fatal: Failed to unlock account”
Error message:- Verify password file content:
- Try unlocking interactively:
- Check keystore file exists:
Issue: “Fatal: Error starting protocol stack”
Error message:- Check what’s using the port:
- Stop the conflicting process or use a different port:
- Kill existing tomo process:
Issue: “Fatal: Failed to create the protocol stack”
Error message:- Check for running instances:
- Remove stale lock file:
- Use a different data directory:
Sync Issues
Issue: Node Not Syncing
Symptoms:- Block number not increasing
eth_syncingreturns false but node is behind- No peers connected
- Check peer count:
- Verify network connectivity:
- Check firewall:
- Try different bootnodes:
- Clear peer database and restart:
Issue: Slow Sync Speed
Symptoms:- Syncing takes extremely long time
- Low block import rate
- Use fast sync mode (if starting from scratch):
- Increase cache size:
- Ensure sufficient resources:
- Check CPU usage:
top - Check disk I/O:
iostat -x 1 - Check available memory:
free -h
- Use SSD storage: Move datadir to SSD if currently on HDD:
- Increase max peers:
Issue: Sync Stuck at Certain Block
Symptoms:- Syncing stops at specific block height
- Logs show repeated import attempts
- Check logs for errors:
- Try rollback to previous block:
- Remove corrupted database and resync:
Account Issues
Issue: “ErrLocked - password or unlock”
Error message:- Unlock account when starting node:
- Unlock via console:
Issue: “ErrDecrypt - could not decrypt key”
Error message:- Verify you’re using the correct password
- Check if keystore file is corrupted:
- Restore from backup if corrupted
Issue: “ErrNoMatch - no key for given address”
Error message:- List available accounts:
- Check keystore directory:
- Verify datadir path:
- Import missing key:
Performance Issues
Issue: High CPU Usage
Symptoms:- CPU at 100% constantly
- Node becomes unresponsive
- Check what’s consuming CPU:
- Reduce staker threads (for masternodes):
- Disable expensive metrics:
- Check for attack (high RPC requests):
Issue: High Memory Usage
Symptoms:- Node using excessive RAM
- OOM killer terminates process
- Check memory usage:
- Reduce cache size:
- Enable garbage collection:
- Increase system swap:
Issue: Disk Space Full
Symptoms:- Database write errors
- Node crashes with I/O errors
- Check disk usage:
- Prune old data (if supported):
- Clean up logs:
- Move datadir to larger disk:
RPC Issues
Issue: “Connection Refused”
Error message:- Enable RPC when starting:
- Check if RPC port is listening:
- Check firewall:
Issue: “Method Not Allowed”
Error message:- Enable required APIs:
Issue: “Too Many Requests”
Symptoms:- RPC calls failing or timing out
- Slow response times
- Implement rate limiting at reverse proxy level (nginx):
- Increase timeout:
Network Issues
Issue: No Peers Connecting
Symptoms:- Peer count stays at 0
- Node isolated from network
- Check NAT settings:
- Manually add peers:
- Configure static nodes in
~/.ethereum/static-nodes.json:
- Disable discovery temporarily:
Issue: Peers Keep Disconnecting
Symptoms:- Peers connect then quickly disconnect
- Unstable peer count
- Check network stability:
- Check system time:
- Increase max pending peers:
Masternode Issues
Issue: Not Signing Blocks
Symptoms:- Registered masternode not producing blocks
- Missing assigned slots
- Verify masternode registration:
- Check account is unlocked:
- Verify staking is enabled:
- Check logs for errors:
Issue: Masternode Penalties
Symptoms:- Receiving penalties for missed blocks
- Rewards lower than expected
-
Ensure high uptime:
- Use monitoring and auto-restart
- Implement failover
-
Optimize performance:
- Use SSD storage
- Sufficient RAM (8GB+)
- Good network connectivity
- Monitor continuously:
Database Issues
Issue: “Database Corruption”
Error message:- Try database repair (if available):
- Remove and resync:
- Restore from snapshot:
Logging and Debugging
Enable Debug Logging
- 0: Silent
- 1: Error
- 2: Warn
- 3: Info (default)
- 4: Debug
- 5: Trace
Increase Log Detail for Specific Modules
Debug Console
Attach to running node for interactive debugging:Getting Help
Collect Debug Information
When reporting issues, include:- Node version:
- System information:
- Recent logs:
- Configuration:
- Node status:
Community Resources
Emergency Procedures
For critical issues:- Stop the node gracefully:
- Backup critical data:
- Check system health:
- Contact support with all debug information