Skip to main content

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:
Cause: Incorrect password provided for account unlock Solutions:
  1. Verify password file content:
  1. Try unlocking interactively:
  1. Check keystore file exists:

Issue: “Fatal: Error starting protocol stack”

Error message:
Cause: Another process is using the P2P port Solutions:
  1. Check what’s using the port:
  1. Stop the conflicting process or use a different port:
  1. Kill existing tomo process:

Issue: “Fatal: Failed to create the protocol stack”

Error message:
Cause: Another tomo instance is using the same data directory or a lockfile exists from a crash Solutions:
  1. Check for running instances:
  1. Remove stale lock file:
  1. Use a different data directory:

Sync Issues

Issue: Node Not Syncing

Symptoms:
  • Block number not increasing
  • eth_syncing returns false but node is behind
  • No peers connected
Solutions:
  1. Check peer count:
If peer count is 0:
  1. Verify network connectivity:
  1. Check firewall:
  1. Try different bootnodes:
  1. Clear peer database and restart:

Issue: Slow Sync Speed

Symptoms:
  • Syncing takes extremely long time
  • Low block import rate
Solutions:
  1. Use fast sync mode (if starting from scratch):
  1. Increase cache size:
  1. Ensure sufficient resources:
  • Check CPU usage: top
  • Check disk I/O: iostat -x 1
  • Check available memory: free -h
  1. Use SSD storage: Move datadir to SSD if currently on HDD:
  1. Increase max peers:

Issue: Sync Stuck at Certain Block

Symptoms:
  • Syncing stops at specific block height
  • Logs show repeated import attempts
Solutions:
  1. Check logs for errors:
  1. Try rollback to previous block:
  1. Remove corrupted database and resync:

Account Issues

Issue: “ErrLocked - password or unlock”

Error message:
Cause: Account is locked and needs to be unlocked for signing Solutions:
  1. Unlock account when starting node:
  1. Unlock via console:

Issue: “ErrDecrypt - could not decrypt key”

Error message:
Cause: Wrong password for keystore file Solutions:
  1. Verify you’re using the correct password
  2. Check if keystore file is corrupted:
  1. Restore from backup if corrupted

Issue: “ErrNoMatch - no key for given address”

Error message:
Cause: Account address not found in keystore Solutions:
  1. List available accounts:
  1. Check keystore directory:
  1. Verify datadir path:
  1. Import missing key:

Performance Issues

Issue: High CPU Usage

Symptoms:
  • CPU at 100% constantly
  • Node becomes unresponsive
Solutions:
  1. Check what’s consuming CPU:
  1. Reduce staker threads (for masternodes):
  1. Disable expensive metrics:
  1. Check for attack (high RPC requests):
If high, restrict RPC access:

Issue: High Memory Usage

Symptoms:
  • Node using excessive RAM
  • OOM killer terminates process
Solutions:
  1. Check memory usage:
  1. Reduce cache size:
  1. Enable garbage collection:
  1. Increase system swap:

Issue: Disk Space Full

Symptoms:
  • Database write errors
  • Node crashes with I/O errors
Solutions:
  1. Check disk usage:
  1. Prune old data (if supported):
  1. Clean up logs:
  1. Move datadir to larger disk:

RPC Issues

Issue: “Connection Refused”

Error message:
Cause: RPC server not running or not accessible Solutions:
  1. Enable RPC when starting:
  1. Check if RPC port is listening:
  1. Check firewall:

Issue: “Method Not Allowed”

Error message:
Cause: Requested API method not enabled Solutions:
  1. Enable required APIs:
Only enable APIs you need. Personal and admin APIs should not be exposed publicly.

Issue: “Too Many Requests”

Symptoms:
  • RPC calls failing or timing out
  • Slow response times
Solutions:
  1. Implement rate limiting at reverse proxy level (nginx):
  1. Increase timeout:

Network Issues

Issue: No Peers Connecting

Symptoms:
  • Peer count stays at 0
  • Node isolated from network
Solutions:
  1. Check NAT settings:
  1. Manually add peers:
  1. Configure static nodes in ~/.ethereum/static-nodes.json:
  1. Disable discovery temporarily:

Issue: Peers Keep Disconnecting

Symptoms:
  • Peers connect then quickly disconnect
  • Unstable peer count
Solutions:
  1. Check network stability:
  1. Check system time:
  1. Increase max pending peers:

Masternode Issues

Issue: Not Signing Blocks

Symptoms:
  • Registered masternode not producing blocks
  • Missing assigned slots
Solutions:
  1. Verify masternode registration:
  1. Check account is unlocked:
  1. Verify staking is enabled:
  1. Check logs for errors:

Issue: Masternode Penalties

Symptoms:
  • Receiving penalties for missed blocks
  • Rewards lower than expected
Solutions:
  1. Ensure high uptime:
    • Use monitoring and auto-restart
    • Implement failover
  2. Optimize performance:
    • Use SSD storage
    • Sufficient RAM (8GB+)
    • Good network connectivity
  3. Monitor continuously:

Database Issues

Issue: “Database Corruption”

Error message:
Solutions:
  1. Try database repair (if available):
  1. Remove and resync:
  1. Restore from snapshot:

Logging and Debugging

Enable Debug Logging

Verbosity levels:
  • 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:
  1. Node version:
  1. System information:
  1. Recent logs:
  1. Configuration:
  1. Node status:

Community Resources

Emergency Procedures

For critical issues:
  1. Stop the node gracefully:
  1. Backup critical data:
  1. Check system health:
  1. Contact support with all debug information