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

    Snort crash: PHP Fatal error: Uncaught Error: Failed opening required '/usr/local/pkg/snort/snort.inc'

    Scheduled Pinned Locked Moved IDS/IPS
    3 Posts 2 Posters 279 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
      Spectre 988
      last edited by

      Getting this crash error from Snort:

      [06-Aug-2023 11:42:04 America/New_York] PHP Fatal error:  Uncaught Error: Failed opening required '/usr/local/pkg/snort/snort.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /tmp/snort_sync_cmds.php:2
      

      I have two PfSense machine running. One on a VM and the other physical as a backup. I've removed Snort from the primary where I am getting this error message every time I restart the VM. On the Backup machine I have removed it as well. Not sure why the OS still sees the files but I will investigate further.

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

        From your error messages I am guessing you had XMLSYNC enabled on the primary firewall. That will copy all of the Snort settings over to the secondary and any other machines configured on the Snort SYNC tab.

        It appears the sync command file is still hanging around in /tmp/snort_sync_cmds.php. Find and delete that file if it exists on either firewall.

        S 1 Reply Last reply Reply Quote 0
        • S
          Spectre 988 @bmeeks
          last edited by

          @bmeeks I think that worked. Thanks much

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