Sentinel: Troubleshooting
Common issues and solutions for Sentinel Agent deployments across Windows, macOS, and Linux.
Installation Issues
Installation Fails or Hangs
Windows:
# Check Windows Installer logsGet-EventLog -LogName "Application" -Source "MsiInstaller" -Newest 10
# Try repair installmsiexec /f sentinel-installer.msi /quiet /norestartmacOS:
# Check installer logslog stream --predicate 'process == "Installer"' --level debug
# Try manual installationsudo cp -r Sentinel.app /Applications/Linux:
# Check apt/yum logssudo tail -100 /var/log/apt/history.log # Ubuntu/Debiansudo tail -100 /var/log/yum.log # RHEL/CentOSInsufficient Disk Space
# Check available disk spacedf -h
# WindowsGet-Volume
# Required space# Installation: 100MB# Database + logs: 100MB minimum# Total: 200MB minimumPermission Denied
Windows:
# Run as AdministratorSet-ExecutionPolicy -ExecutionPolicy Bypass -Scope Processmsiexec /i sentinel-installer.msi /quietmacOS/Linux:
# Add user to required groupssudo usermod -a -G adm,sudo sentinelsudo chown -R sentinel:sentinel /var/lib/truthvouch/Connectivity Issues
Cannot Connect to Cloud API
1. Test DNS resolution:
# Windowsnslookup api.truthvouch.io
# macOS/Linuxnslookup api.truthvouch.io2. Test HTTPS connectivity:
# All platformscurl -I https://api.truthvouch.io
# Windows PowerShell[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12Invoke-WebRequest -Uri https://api.truthvouch.io3. Check firewall:
# Windowsnetstat -an | findstr 443
# macOS/Linuxnetstat -an | grep 443ss -tulpn | grep :4434. Check proxy settings:
# config.yaml (if using proxy)cloud: proxy_url: http://proxy.company.local:8080 proxy_username: user proxy_password: passAPI Key Invalid or Expired
Verify API key:
# Windows PowerShell$key = (Get-Content "C:\ProgramData\TruthVouch\Sentinel\config.yaml" | Select-String "api_key").LineWrite-Host $keyRegenerate API key:
- Log into TruthVouch dashboard
- Settings → API Keys
- Revoke old key
- Create new key
- Update in
config.yaml - Restart Sentinel
Timeout Errors
Increase timeout values:
cloud: request_timeout_sec: 60 # Default: 30Policy Sync Issues
Policies Not Updating
Check last sync time:
# Windows PowerShell$sync = (Get-Content "C:\ProgramData\TruthVouch\Sentinel\config.yaml").LastSyncWrite-Host $sync
# macOS/Linuxgrep "last_sync" ~/.truthvouch/sentinel/sentinel.dbForce immediate sync:
# Windowssentinel.exe --sync-policy --force
# macOS/Linuxsentinel --sync-policy --forceClear cache and resync:
# WindowsRemove-Item C:\ProgramData\TruthVouch\Sentinel\policies\* -Recurse
# macOSrm -rf ~/.truthvouch/sentinel/cache/
# Linuxsudo rm -rf /var/lib/truthvouch/sentinel/policies/Then restart Sentinel.
Policy Signature Verification Failed
Symptoms: Policies rejected, old policies continue in use
Causes:
- Corrupt policy file
- Man-in-the-middle attack
- Clock skew (system time incorrect)
Solutions:
# 1. Check system time# Windows: Settings → Time & Language → Date & time# macOS/Linux: date
# 2. Sync system time# Windows (PowerShell as Admin)W32tm /resync
# macOSsudo sntp -sS time.nist.gov
# Linuxsudo ntpdate -s time.nist.govPerformance Issues
High CPU Usage
Identify cause:
# Windows Task Managertasklist /v | findstr sentinel
# macOS Activity Monitortop -o %CPU | grep sentinel
# Linuxtop -p $(pidof sentinel)Reduce monitoring scope:
monitoring: # Disable expensive features clipboard_monitoring: false network_monitoring: false
# Monitor only specific tools tools: - name: "ChatGPT" enabled: true - name: "Unused Tool" enabled: falseIncrease sync interval:
policy: sync_interval: 120 # 2 hours instead of 1High Memory Usage
Check process memory:
# WindowsGet-Process sentinel | Select-Object WorkingSet64
# macOS/Linuxps aux | grep sentinelReduce database size:
database: max_size_mb: 50 # Reduce from 100
advanced: offline_grace_period_days: 7 # Shorter retentionCheck for memory leaks:
# Monitor over time# Windows: Performance Monitor# macOS/Linux: watch -n 1 'ps aux | grep sentinel'If memory grows continuously, report to support with logs.
Slow Policy Evaluation
Increase timeout:
advanced: policy_check_timeout_ms: 500 # Default: 100Check for regex issues: View config.yaml for complex DLP patterns. Simplify regex if needed.
Logging and Diagnostics
Enable Debug Logging
Windows:
# Edit config(Get-Content "C:\ProgramData\TruthVouch\Sentinel\config.yaml") | ForEach-Object { $_ -replace 'level: INFO', 'level: DEBUG' } | Set-Content "C:\ProgramData\TruthVouch\Sentinel\config.yaml"
Restart-Service TruthVouchSentinelmacOS/Linux:
# Edit configsudo sed -i 's/level: INFO/level: DEBUG/' /etc/truthvouch/sentinel/config.yaml
# Restartsudo systemctl restart sentinel # Linuxlaunchctl reload ~/Library/LaunchAgents/io.truthvouch.sentinel.plist # macOSView Logs
Windows:
# Event Viewereventvwr.msc
# PowerShellGet-EventLog -LogName "Application" -Source "TruthVouch" -Newest 100
# Or fileGet-Content "C:\ProgramData\TruthVouch\Sentinel\logs\sentinel.log" -Tail 50macOS:
log stream --predicate 'process == "sentinel"' --level debug
# Filetail -50 ~/.truthvouch/sentinel/logs/sentinel.logLinux:
# Real-timesudo journalctl -u sentinel -f
# Historicalsudo journalctl -u sentinel | tail -50
# Filesudo tail -50 /var/log/truthvouch/sentinel.logCollect Diagnostics
Create diagnostic bundle:
# Windows (PowerShell as Admin)$diag = @{ "config" = Get-Content "C:\ProgramData\TruthVouch\Sentinel\config.yaml" "service" = Get-Service TruthVouchSentinel "logs" = Get-EventLog -LogName "Application" -Source "TruthVouch" -Newest 100}$diag | ConvertTo-Json | Out-File diagnostics.json
# macOS/Linuxtar -czf sentinel-diagnostics.tar.gz \ /etc/truthvouch/sentinel/config.yaml \ ~/.truthvouch/sentinel/logs/ \ /var/log/truthvouch/sentinel.logService Not Running
Windows Service Won’t Start
# Check service statusGet-Service TruthVouchSentinel
# View error logsGet-EventLog -LogName "System" -Source "Service Control Manager" -Newest 10
# Try to start serviceStart-Service TruthVouchSentinel -ErrorAction SilentlyContinue
# Check dependenciesGet-Service TruthVouchSentinel | Format-List DependentServices, ServicesDependedOnmacOS Daemon Issues
# Check if loadedlaunchctl list | grep truthvouch
# Try to loadlaunchctl load ~/Library/LaunchAgents/io.truthvouch.sentinel.plist
# Check permissionsls -la ~/Library/LaunchAgents/io.truthvouch.sentinel.plist
# Fix ownershipsudo chown root ~/Library/LaunchAgents/io.truthvouch.sentinel.plistLinux Systemd Issues
# Check service statussudo systemctl status sentinel
# View unit filesudo systemctl cat sentinel
# Check permissionsls -la /etc/systemd/system/sentinel.servicesudo systemctl daemon-reload
# Try to startsudo systemctl start sentinel
# View detailed errorsudo systemctl status sentinel -n 50AI Tool Detection Issues
Tool Not Being Detected
1. Verify tool is configured:
monitoring: tools: - name: "ChatGPT" enabled: true executables: - "chrome.exe" - "firefox.exe"2. Check if tool is installed and running:
- Windows: Check Task Manager for process
- macOS: Activity Monitor
- Linux:
ps aux | grep chrome
3. Enable debug logging and check logs for process detection
False Positives/Negatives
Report issue:
- Enable debug logging
- Collect diagnostics (see above)
- Include specific examples
- Contact support with bundle
DLP Issues
PII Not Being Detected
Check pattern configuration:
dlp: pii: patterns: ssn: true credit_card: trueTest pattern:
# Test SSN regex"123-45-6789" should match pattern "^\d{3}-\d{2}-\d{4}$"Legitimate Content Blocked
Add to exceptions:
allowlists: pii_exceptions: patterns: - "555-0100" # Test phoneDatabase Issues
Database Corruption
Symptoms: Sentinel won’t start, database errors in logs
Fix:
# WindowsRemove-Item "C:\ProgramData\TruthVouch\Sentinel\data\sentinel.db"
# macOSrm ~/.truthvouch/sentinel/sentinel.db
# Linuxsudo rm /var/lib/truthvouch/sentinel/sentinel.dbRestart Sentinel to rebuild database.
Database Size Growing
database: retention_days: 30 # Reduce from default 90 max_size_mb: 50 # Limit database sizeSentinel automatically cleans old logs.
Updating Issues
Update Fails
Windows:
# Remove old installationmsiexec /x sentinel-installer.msi /quiet
# Reinstallmsiexec /i sentinel-installer.msi /quietmacOS:
# Remove old versionsudo rm -rf /Applications/Sentinel.app
# Reinstall via Homebrewbrew upgrade sentinelLinux:
sudo apt updatesudo apt upgrade sentinel# orsudo yum update sentinelGetting Help
Collect before contacting support:
- Version:
sentinel --version - Config (without API keys):
sentinel --show-config - Recent logs (50 lines)
- System info (OS, architecture)
- Error messages (exact text)
Support channels:
- Email: [email protected]
- Chat: TruthVouch dashboard
- Docs: https://docs.truthvouch.io
See Configuration Reference and Policy Sync for configuration help.