Snort : Fatal error - Cannot redeclare snort_rm_blocked_install_cron



  • 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



  • If your using snort-dev please reinstall the package.

    James



  • i'm using snort 2.8.4.1_5 pkg v.1.7



  • I'll check the code.

    James

    @hubsd:

    i'm using snort 2.8.4.1_5 pkg v.1.7



  • 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


Log in to reply