CLI
zwallctl troubleshooting (pointer)
The operator-usable CLI incident table lives in Troubleshooting. Command flags live in Command Index. Auth and config file live in Auth and Config.
This page only binds CLI failures to the rest of the troubleshooting set so operators do not copy folklore.
Symptom
zwallctl cannot talk to the Manager, prints “not implemented,” or secret rotation does not match the edition.
Likely verified causes (do not expand here)
Scroll sideways to see the full table. Use the arrow keys when focused.
| Symptom | Cause | Where to go |
|---|---|---|
| connection refused | Default Manager URL http://localhost:8080; example Manager listen 8443 | Manager Unavailable, CLI troubleshooting |
| x509 / TLS errors | HTTP client vs TLS Manager | Manager Unavailable, TLS |
| 401 | Missing/expired admin JWT | CLI auth; AUTHENTICATION |
start / stop warning | Not implemented remotely | systemd in SERVICE_CONTROL |
restart --agent 409 | Hosting Agent | Agent Disconnected |
Enterprise secret-rotate error | API rotation retired; use setup.sh --manager-secret-custody rotate (not certified) | Operator commands |
Community secret-rotate jwt|db|all | Still a live Manager API (POST /api/v1/admin/rotate-secret) | Operator commands |
Folklore firewall list / map dump | Not cobra commands | Command Index |
zwallctl deny created a rule but no drop | Posts BLOCK_IP_INBOUND; Hosting cannot receive rules | Enforcement |
Diagnostic commands/endpoint
Use the CLI book. Binding facts only:
zwallctl ping --manager-url https://manager.example.com:8443
zwallctl login --manager-url https://manager.example.com:8443 --username adminzwallctl start prints that remote start is not implemented and suggests systemd. It also prints a stale path /etc/zwall/agent.yml — do not copy that path. Use the unit: Virtualization /etc/zcs/agent.yml, Hosting /etc/zwall-hosting/agent.yml.
What each result means
See Troubleshooting. Manager /health/ready failing is not a zwallctl bug.
Safe remediation
- Set
--manager-urlorZWALL_MANAGER_URLto the real HTTPS Manager. - Login interactively (avoid
--passwordin shared scripts). - Use systemd for process control.
- For secrets: follow edition-specific CLI notes in Operator commands. Do not put secret values on argv in examples.
Do-not-do warnings
- Do not document
start/stopas remote power. - Do not assume Community and Enterprise
secret-rotateare the same command. - Do not put live JWTs in
--tokenexamples. - Do not copy README folklore commands.
Escalation condition
Escalate only after the Manager is ready and the CLI still fails against the same URL that curl /health/ready succeeds on.
Related documentation
Edition
SHARED CLI core. License subtree and retired Enterprise secret-rotate are ENTERPRISE. Community secret-rotate [jwt|db|all] remains live API.
Status
SUPPORTED as a pointer. The remote start/stop and port-mismatch issues remain product/docs gaps.