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

    reinstalling snort problem

    Scheduled Pinned Locked Moved IDS/IPS
    2 Posts 2 Posters 318 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.
    • S
      Simbad
      last edited by Simbad

      Hi!

      After reinstalled snort, i dont see snort in menu & recive this error:

      PHP ERROR: Type: 1, File: /usr/local/pkg/snort/snort.inc, Line: 2340, Message: Allowed memory size of 402653184 bytes exhausted (tried to allocate 301989888 bytes) @ 2020-01-12 08:29:01

      How can I complete the installation without previous configuration?

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

        @Simbad said in reinstalling snort problem:

        Hi!

        After reinstalled snort, i dont see snort in menu & recive this error:

        PHP ERROR: Type: 1, File: /usr/local/pkg/snort/snort.inc, Line: 2340, Message: Allowed memory size of 402653184 bytes exhausted (tried to allocate 301989888 bytes) @ 2020-01-12 08:29:01

        How can I complete the installation without previous configuration?

        It looks like from that message that PHP itself ran out of available memory. That particular line of code in the snort.inc file indicates you have something miconfigured perhaps in your SID MGMT files.

        You can try these steps to recover.

        1. Make a backup of the firewall's config.xml file.
        2. Under DIAGNOSTICS > EDIT open /conf/config.xml.
        3. Search through that file and find this line in the XML code:
        <auto_manage_sids>on</auto_manage_sids>
        
        1. Change the "on" to "off" and save the file.

        That will tell Snort not to use SID MGMT. Delete the package and reinstall.

        Since your installation is not completing, you likely don't have a Snort menu option under SERVICES, so you will be stuck with manually editing the config.xml file. That is very dangerous, so make a backup before making any modifications to the file.

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