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

    Snort : Fatal error - Cannot redeclare snort_rm_blocked_install_cron

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 2.2k 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.
    • H
      hubsd
      last edited by

      Hello

      the last "problem" i found while upgrading to 1.2.3
      i have the following message on boot :

      Fatal error: Cannot redeclare snort_rm_blocked_install_cron() (previously declared in /usr/local/pkg/snort.inc:683) in /usr/local/pkg/snort.inc on line 683

      Here's what i found in /usr/local/pkg/snort.inc

      • line 681 : if ($snort_rm_blocked_info_ck != "") {

      • line 682 : function snort_rm_blocked_install_cron($should_install) {

      • line 683 :         global $config, $g;

      • line 684 :         conf_mount_rw();

      is it normal or something is broken ?

      thanks

      1 Reply Last reply Reply Quote 0
      • J
        jamesdean
        last edited by

        If your using snort-dev please reinstall the package.

        James

        1 Reply Last reply Reply Quote 0
        • H
          hubsd
          last edited by

          i'm using snort 2.8.4.1_5 pkg v.1.7

          1 Reply Last reply Reply Quote 0
          • J
            jamesdean
            last edited by

            I'll check the code.

            James

            @hubsd:

            i'm using snort 2.8.4.1_5 pkg v.1.7

            1 Reply Last reply Reply Quote 0
            • A
              aphk99
              last edited by

              After upgrade to 1.2.3-release

              I got the same message when reinstall SNORT

              Try uninstall SNORT first, after install it seem problem gone. No error

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