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

    Error adding Snort interface after upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 608 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
      dlogan
      last edited by

      I have pfSense embedded on a 4 GB flash card, it's actually a PFW201 from Tranquilnet.  I upgraded from 1.2.3 to 2.0.5 yesterday.  Snort installed.  Then I go to Services -> Snort and when I click to add an interface I get the following page:

      Fatal error: Call to undefined function snort_generate_id() in /usr/local/www/snort/snort_interfaces_edit.php on line 68

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

        @dlogan:

        I have pfSense embedded on a 4 GB flash card, it's actually a PFW201 from Tranquilnet.  I upgraded from 1.2.3 to 2.0.5 yesterday.  Snort installed.  Then I go to Services -> Snort and when I click to add an interface I get the following page:

        Fatal error: Call to undefined function snort_generate_id() in /usr/local/www/snort/snort_interfaces_edit.php on line 68

        Ugh!  Another Nano install… :'(

        OK, I'm not completely hostile to Nano installs, but it seems there are frequently a number of problems with packages on these systems.  This error means that either you do not have a snort.inc file on the partition, or it is an exceedingly old one.  Since you didn't post with all the other errors I would expect if the file was completetly missing, I'm thinking your partition has one that is very, very old.

        Try removing the Snort package, rebooting, then installing it again.  If that doesn't work, you will need to put your system partition in read/write mode, and then go find the file /usr/local/pkg/snort/snort.inc and delete it.  Then try the install again.

        Bill

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