License Troubleshoot NEW
Overview
This guide helps you troubleshoot common licensing issues. Follow the steps below to diagnose and resolve problems with your RC License installation.
Pre-Troubleshooting Checklist
- ☐ You have root access to your server
- ☐ Your server has internet connectivity
- ☐ Your operating system is supported
- ☐ You have a valid license
- ☐ Ports 80 and 443 are not blocked
Common Issues and Solutions
License Installation Failed
Symptoms:
- Installation script exits with errors
- License command not found after installation
- Permission denied errors
Solutions:
1. Verify you're running as root:
whoami
Output should be: root
2. Check internet connectivity:
curl -I https://api.licensetube.com
Should return HTTP 200 or 301 response
3. Reinstall the license:
bash <( curl https://api.licensetube.com/pre.sh ) cPanel; ZCP
License Command Not Found
Symptoms:
- Command not found error when running license command
- License prefix not recognized
Solutions:
1. Check if license is installed:
which ZCP
2. Verify installation path:
ls -la /usr/local/bin/ | grep RcLicense
3. Reinstall if missing:
bash <( curl https://api.licensetube.com/pre.sh ) cPanel; ZCP
License Expired
Symptoms:
- License status shows "Expired"
- Services restricted or disabled
- Warning messages in logs
Solutions:
1. Check license status:
ZCP
2. Renew your license:
Contact support or visit our website to renew your license.
3. Update license after renewal:
ZCP
Network Connectivity Issues
Symptoms:
- Cannot download installation files
- Mirror URL not accessible
- Timeout errors
Solutions:
1. Test connectivity to mirror:
ping https://api.licensetube.comcurl -v https://api.licensetube.com
2. Check firewall rules:
iptables -L -n | grep 80
iptables -L -n | grep 443
3. Verify DNS resolution:
nslookup mirror.resellercenter.ir
dig mirror.resellercenter.ir
Permission Denied Errors
Symptoms:
- Permission denied when running license commands
- Cannot write to installation directory
Solutions:
1. Check file permissions:
ls -la /usr/local/bin/ZCP
2. Fix permissions:
chmod 755 /usr/local/bin/ZCP
3. Verify ownership:
chown root:root /usr/local/bin/ZCP
License Verification Failed
Symptoms:
- Verification command fails
- Cannot connect to verify.cpanel.net
Solutions:
1. Check cPanel verification status:
touch /etc/.verifylicense
ZCP
2. Verify network access:
curl -I https://verify.cpanel.net
3. Check firewall rules for outbound connections:
iptables -L -n | grep ACCEPT
Advanced Troubleshooting
Checking System Logs
View system messages:
tail -f /var/log/messages
Check cPanel logs:
tail -f /var/log/cpanel/error_log
Testing License Manually
1. Download installation script:
wget https://api.licensetube.com/pre.sh
2. Run with debug mode:
bash -x pre.sh cPanel
Collecting Diagnostic Information
For support, gather this information:
uname -a
php --version
ZCPdf -h
free -h
ifconfig
Getting Help
Support Resources
Contact Support
If you cannot resolve the issue, please contact our support team with:
- Your license type and ID
- Server OS and version
- Error messages
- Steps you've already tried
- System diagnostic output