- Ihr habt ein altes Backup eingespielt wo es das IDS noch nicht gab.
- Ihr habt ein altes Backup eingespielt wo das IDS noch Snort war.
- Irgend etwas ist beim Update schief gelaufen.
Als erstes müssen wir uns einen Überblick darüber verschaffen WIESO das IDS nicht starten will.
Also per SSH verbinden und das Messages-Log nach Einträgen vom IDS durchsuchen lassen:
Code: Select all
cat /var/log/messages | grep suricata
Bsp.:
Code: Select all
Aug 15 19:09:45 examplehost suricata: [ERRCODE: SC_ERR_INITIALIZATION(45)] - pid file '/var/run/suricata.pid' exists but appears stale. Make sure Suricata is not running and then remove /var/run/suricata.pid. Aborting!
Aug 15 19:10:26 examplehost suricata: [ERRCODE: SC_ERR_UID_FAILED(155)] - unable to get the user ID, check if user exist!!
Code: Select all
rm -f /var/run/suricata.pid
Code: Select all
getent passwd
Code: Select all
root:x:0:0:root:/root:/bin/bash
(...)
snort:x:101:101:ftp:/var/log/snort:/bin/false
(...)
samba:x:1000:1000:Samba User:/var/empty:/bin/false
Der korrekte Eintrag sollte so aussehen:
Code: Select all
(...)
suricata:x:101:101:Suricata:/var/log/suricata:/bin/false
(...)
Code: Select all
usermod -l suricata snort
usermod -d /var/log/suricata suricata
Code: Select all
root:x:0:root
(...)
snort:x:101:
(...)
samba:x:1000:
Code: Select all
groupmod -n suricata snort
Code: Select all
rm -f /var/run/suricata.pid
Vielleicht helfen diese Schritte bei euch ja auch.

Viel Erfolg!
