Dauer: ~5 Minuten
Rolle: Gateway-Operator
Voraussetzung: Administratorrechte
Windows:
# Prozess suchen Get-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -ErrorAction SilentlyContinue # Oder via Port netstat -ano | findstr :5000
Linux:
# Prozess suchen pgrep -f "WvdS.WebAPI.Data.Gateway.Api" # Oder via Port ss -tlnp | grep 5000
Windows (Konsole):
cd %GATEWAY_ROOT% .\WvdS.WebAPI.Data.Gateway.Api.exe
Windows (Hintergrund):
Start-Process -FilePath "%GATEWAY_ROOT%\WvdS.WebAPI.Data.Gateway.Api.exe" -WindowStyle Hidden
Linux:
cd /opt/gateway ./WvdS.WebAPI.Data.Gateway.Api &
Windows:
# Graceful shutdown Stop-Process -Name "WvdS.WebAPI.Data.Gateway.Api" -Force
Linux:
# Graceful shutdown pkill -SIGTERM -f "WvdS.WebAPI.Data.Gateway.Api" # Force kill (nur wenn nötig) pkill -9 -f "WvdS.WebAPI.Data.Gateway.Api"
# Verfügbarkeit prüfen curl -s http://localhost:5000/health # Erwartete Antwort: "Healthy"
| # | Prüfpunkt | ✓ |
| — | ———– | — |
| 1 | Prozess läuft | ☐ |
| 2 | Port 5000 offen | ☐ |
| 3 | Health Check „Healthy“ | ☐ |
| 4 | Keine Fehler in Konsole | ☐ |
| Problem | Ursache | Lösung |
| ——— | ——— | ——– |
Port bereits in Verwendung | Alter Prozess läuft | Prozess beenden, dann starten |
Access denied | Fehlende Rechte | Als Administrator starten |
Config error | appsettings.json fehlerhaft | JSON-Syntax prüfen |
Database connection failed | DSN falsch konfiguriert | Connection String prüfen |
« ← Tagesgeschäft | → DSN verwalten »
Wolfgang van der Stille @ EMSR DATA d.o.o. - Data Gateway Professional