curl -X GET http://localhost:6868/health -H "Auth: ccc" A successful response should return "status":"ok","version":"2.3.0" . Even with careful steps, you may encounter issues. Here are the top 5 problems and their solutions. Error 1: port 6868 already in use Solution: Find the conflicting process and stop it, or reconfigure 6868ccc to use a different port.
metrics: enabled: true port: 9090 Then add a scrape job to Prometheus. For containerized environments, a 6868ccc install using Docker is faster and isolated.
/var/log/6868ccc/*.log daily rotate 7 compress missingok notifempty create 0640 6868ccc 6868ccc sharedscripts postrotate systemctl reload 6868ccc.service > /dev/null 2>&1 endscript 6868ccc install
ls -la /usr/local/6868ccc/bin/6868cccd sudo chmod +x /usr/local/6868ccc/bin/6868cccd After a successful 6868ccc install , consider these performance tweaks: 1. Increase File Descriptor Limits Edit /etc/security/limits.conf :
sudo nano /etc/systemd/system/6868ccc.service Paste the following (adjust paths as needed): curl -X GET http://localhost:6868/health -H "Auth: ccc" A
sudo lsof -i :6868 sudo kill -9 <PID> Solution: Regenerate your Triple-C key pair or verify that the client and server share the same ccc_keys value in config.yaml. Error 3: permission denied during install Solution: Ensure you are using sudo and that the target directory is writable. Avoid using /root/ as installation home. Error 4: missing libssl.so.1.1 Solution: Install OpenSSL 1.1.1 (even if newer version exists):
[Unit] Description=6868ccc Core Service After=network.target [Service] Type=simple User=6868ccc Group=6868ccc ExecStart=/usr/local/6868ccc/bin/6868cccd --config /etc/6868ccc/config.yaml Restart=on-failure RestartSec=10 Error 1: port 6868 already in use Solution:
# Pull the official image docker pull registry.6868ccc.io/6868ccc:latest docker run -d --name 6868ccc-app -p 6868:6868 -v /host/config.yaml:/etc/6868ccc/config.yaml -v /host/data:/var/lib/6868ccc -e CCC_AUTH_KEY="your-key" --restart always registry.6868ccc.io/6868ccc:latest