Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Suricata Not Starting on Reboot and Stops After a short Period of Operation

    Scheduled Pinned Locked Moved IDS/IPS
    2 Posts 2 Posters 910 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      datajunkie
      last edited by

      As it states in the subject.  Suricata is enabled on the interfaces in question, but won't start during a reboot.  Additionally, when manually started it will operate fine for a few minutes to a few hours, but then I see that the service has stopped suddenly when I go take a look.  I'm not seeing anything in the logs indicating errors.

      Where should I start to identify what's happening?

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        Troubleshooting this one may be tricky given its sort of random nature.

        Suricata could be running out of memory, but it should log some kind of error before just stopping.

        It might be you have traffic triggering an obscure rule with a bug in it that causes a crash, but I would say that is unlikely because with all the people using Suricata and various rules you would expect others to have the same problem with the rule.

        It could be a hardware problem (most likely with a flaky memory chip) that manifests itself only during high resource utilization.

        When you say it runs for a "short period", just how long is that?  Seconds, minutes or maybe an hour or two?

        Which logs are you looking at for errors?  Suricata has its own log you can view on the LOGS tab.  Some info (although limited) will be in the pfSense system log.

        Bill

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.