fattain-naime/cwp-superpowers/cwp-troubleshooting
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "fix CWP error", "troubleshoot server issue", "check server logs", "diagnose web server problem", "fix login issue", "resolve 502 error", "fix email problem", "debug PHP issue", "check service status", "fix CWP panel", "resolve DNS issue", "check server health", or needs to diagnose and resolve any issue on a CWP server.
Install
npx vskill@latest install fattain-naime/cwp-superpowers/cwp-troubleshootingSKILL.md
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:
- Identify the symptom -- What is failing?
- Check service status -- Is the service running?
- Review logs -- What do the logs say?
- Apply fix -- Implement the solution
- Verify -- Confirm the fix works
- Document -- Record the solution
Service Status Checks
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 | |
| Dovecot | /var/log/maillog | |
| PHP-FPM | /opt/alt/php-fpm{VER}/var/log/php-fpm-error.log | |
| PHP compile | /var/log/php-rebuild.log | |
| CSF | /var/log/lfd.log | |
| System | /var/log/messages | |
| Auth | /var/log/secure | |
| Cron | /var/log/cron | |
| Varnish | /var/log/varnish/varnish.log |
Web Server Errors
ERR_TOO_MANY_REDIRECTS
Common with Nginx -> Varnish -> Apache stack.
502 Bad Gateway
PHP-FPM is not responding.
503 Service Unavailable
Service is down or misconfigured.
504 Gateway Timeout
Request processing exceeded time limit.
Apache Proxy Mutex Error
Default Page for All Domains
PHP Errors
PHP Installation Failing
Requires 1.5-2 GB available RAM and working DNS resolver.
"No Loader installed" (ionCube)
intl Extension Missing
suPHP 500 Internal Server Error
Email Issues
For comprehensive email troubleshooting including DKIM, SPF, spam filtering, and Roundcube, see the cwp-email skill.
Quick Email Diagnostics
Database Issues
For comprehensive database troubleshooting including InnoDB crash recovery, performance tuning, and MariaDB upgrades, see the cwp-database skill (references/mysql.md).
Quick Database Diagnostics
Panel Access Issues
Can't Login to CWP
CWP Expired (Error 500)
404 on User Login
Invalid Session
Close all browser windows and re-login.
Installation Issues
"Could not resolve host"
Root Login Error (AlmaLinux 9)
Comment SHA_CRYPT_MAX_ROUNDS in /etc/login.defs.
Varnish Fails on AlmaLinux 9
Manual Varnish installation required on EL9.
MariaDB 10.4 EOL
Quick Diagnostic Script
Additional Resources
references/common-issues.md-- Common server and service issuesreferences/log-analysis.md-- Log file locations and analysis guidereferences/error-codes.md-- Error code reference and solutions
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cwp-troubleshooting/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fattain-naime/cwp-superpowers/cwp-troubleshooting)