Troubleshooting
Common issues and solutions.
Node Issues
Node won’t start
Symptoms: bitcoind exits immediately or shows errors.
Check logs:
tail -50 ~/.bitcoin-pocx/debug.log # mainnet
tail -50 ~/.bitcoin-pocx/testnet/debug.log # testnet
Common causes:
-
Port already in use
sudo lsof -i :8333 # mainnet sudo lsof -i :18333 # testnet -
Corrupt database
bitcoind -reindex # takes time -
Insufficient disk space
df -h ~/.bitcoin-pocx
Node not syncing
Symptoms: Block height not increasing, few or no peers.
Check peer connections:
bitcoin-cli -testnet getconnectioncount
bitcoin-cli -testnet getpeerinfo
Solutions:
-
Check firewall
sudo ufw allow 18333/tcp -
Add peers manually in
bitcoin.conf:addnode=seed.testnet.bitcoin-pocx.org -
Check internet
curl -s https://api.github.com | head -1
RPC connection refused
Symptoms: bitcoin-cli shows “Could not connect to the server”
Check:
-
Node running?
pgrep bitcoind -
RPC enabled? Ensure
server=1inbitcoin.conf -
Correct network flag?
bitcoin-cli -testnet getblockchaininfo -
Cookie auth working?
# Check cookie file exists ls -la ~/.bitcoin-pocx/testnet/.cookie
Miner Issues
Miner can’t connect to node
Symptoms: Connection refused, timeout errors.
Check:
-
Node running and synced?
bitcoin-cli -testnet getblockchaininfo -
RPC password auth enabled? Mining requires
rpcuser/rpcpasswordinbitcoin.conf(not cookie auth) -
Credentials match? Compare
bitcoin.confandminer.yaml -
Correct URL?
- Testnet:
http://127.0.0.1:18332 - Mainnet:
http://127.0.0.1:8332
- Testnet:
No plots found
Symptoms: Miner reports 0 capacity.
Check:
-
Plot path correct?
ls -la /path/to/plots/*.plot -
Permissions?
sudo -u bitcoin ls /path/to/plots/ -
Plot format valid? Ensure plots created with
pocx-plotter
Miner can’t connect to pool
Symptoms: Connection timeout, refused.
Check:
- Pool URL correct? Verify with pool docs
- Pool online? Check status page
- Network access?
curl -v http://pool-url:port
Plotting Issues
Plotting fails or corrupts
Solutions:
-
Check disk space
df -h /path/to/plots -
Check disk health
sudo smartctl -a /dev/sdX -
Resume interrupted plots (if supported)
Plotting too slow
Tips:
- More threads:
./pocx-plotter --threads 8 - Check I/O:
iostat -x 1 - SSD for temp files if plotter supports it
Pool Mining Issues
Assignment not recognized
Check:
-
Assignment confirmed?
bitcoin-cli -testnet get_assignment "YOUR_MINING_ADDRESS" -
Correct pool address?
-
Assignment expired?
No pool rewards
Check:
- Minimum payout threshold - most pools have one
- Correct payout address in pool dashboard
- Miner submitting? Check logs for submissions
Systemd Service Issues
Service won’t start
sudo systemctl status bitcoind
sudo journalctl -u bitcoind -n 50
Common issues:
-
Permissions
sudo chown -R bitcoin:bitcoin /var/lib/bitcoin -
Path issues - verify paths in service file
-
Config errors - check
bitcoin.confsyntax
Service starts then stops
Check:
- Exit code:
sudo systemctl status bitcoind - Memory limits - service may be OOM killed
- Logs:
sudo journalctl -u bitcoind --since "5 minutes ago"
Getting Help
If stuck:
- Check debug logs for specific errors
- Search GitHub issues
- Discord: https://discord.gg/enQ57bgJdq
- Telegram: https://t.me/+aqavnqlq2vg0Mzhk
When asking for help, include:
- OS and version
- Config files (redact passwords)
- Full error messages
- Steps to reproduce