cwp-troubleshootinglisted
Install: claude install-skill fattain-naime/cwp-superpowers
# CWP Troubleshooting
Diagnose and resolve common issues on CWP servers. Handle web server errors, PHP problems, email delivery issues, database crashes, panel access problems, and service failures.
If the user provides specific details via "$ARGUMENTS", use that information to narrow down the diagnosis. For example: `/cwp-pro-centos:cwp-troubleshooting 502 error on example.com` will focus the troubleshooting on 502 errors for that domain.
## Diagnostic Workflow
Follow this systematic approach:
1. **Identify the symptom** -- What is failing?
2. **Check service status** -- Is the service running?
3. **Review logs** -- What do the logs say?
4. **Apply fix** -- Implement the solution
5. **Verify** -- Confirm the fix works
6. **Document** -- Record the solution
## Service Status Checks
```bash
# Web servers
systemctl status httpd nginx varnish
# Database
systemctl status mariadb
# Email
systemctl status postfix dovecot
# Firewall
csf -s
# CWP panel
systemctl status cwpsrv
# DNS
systemctl status named
# FTP
systemctl status pure-ftpd
# All services at once
systemctl status httpd nginx varnish mariadb postfix dovecot named cwpsrv
```
## Log File Locations
| Service | Log Path |
|---|---|
| Apache error | `/usr/local/apache/logs/error_log` |
| Apache access | `/usr/local/apache/domlogs/DOMAIN.log` |
| Nginx error | `/var/log/nginx/error.log` |
| Nginx access | `/var/log/nginx/access.log` |
| MariaDB | `/var/log/mysql/error.log` |
| Postfix | `/var/log/maillog` |
| Do