Error: Panguard Guard is already running (PID: 12345)
Another instance of Guard is active. Stop it first:
Copy
Ask AI
# Stop the running instancesudo panguard guard stop# If stop fails, check and remove the PID filecat ~/.panguard-guard/guard.pidsudo kill $(cat ~/.panguard-guard/guard.pid)rm ~/.panguard-guard/guard.pid# Now start againsudo panguard guard start
Do not run multiple Guard instances on the same machine. They will conflict on log file access, firewall rules, and monitoring resources.
If the PID file references a process that no longer exists (stale PID):
Copy
Ask AI
# Verify the process is actually goneps -p $(cat ~/.panguard-guard/guard.pid)# If "no such process", safely remove the PID filerm ~/.panguard-guard/guard.pidsudo panguard guard start
# Require more events before alerting on brute forcepanguard config set response.minConfidence 0.90# Increase SSH failure thresholdpanguard config set rules.sshFailureThreshold 20
Whitelist known-good IPs and processes
Add trusted IPs and processes to the whitelist:
Copy
Ask AI
# Whitelist an IPpanguard config set response.whitelistedIps '["10.0.0.0/8", "192.168.1.100"]'# Whitelist a processpanguard config set response.whitelistedProcesses '["backup-agent", "monitoring-daemon"]'
Disable noisy rules
Identify and disable specific rules causing false positives:
Copy
Ask AI
# Check recent alerts with rule IDspanguard guard logs --severity low --limit 20# Disable a specific rulepanguard config set rules.excludeIds '["sigma-noisy-001"]'
This checks Node.js version, permissions, disk space, port availability, and configuration validity.
Reset configuration
If the config file is corrupted:
Copy
Ask AI
# Back up current configcp ~/.panguard-guard/config.json ~/.panguard-guard/config.json.bak# Reset to defaultsrm ~/.panguard-guard/config.jsonsudo panguard guard start