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

    Snort will not install in Beta 5

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 5 Posters 1.9k 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
      hankjrfan00
      last edited by

      I have seen some others here are having Snort problems, but it seems like my problem is different.  I cannot get snort to install at all in Beta 5.  Here is what I get when I try to install it:

      
      Beginning package installation for snort...
      Downloading package configuration file... done.
      Saving updated package information... done.
      Downloading snort and its dependencies... 
      Checking for package installation... 
       Downloading http://www.pfsense.com/packages/config/snort/bin/8.1x86/mysql-client-5.1.53.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/mysql-client-5.1.53.tbz.
      of mysql-client-5.1.53 failed!
      
      Installation aborted.Backing up libraries... 
      Removing package...
      Skipping package deletion for pcre-8.10 because it is a dependency.
      Starting package deletion for mysql-client-5.1.53...done.
      Starting package deletion for snort-2.8.6.1...done.
      Removing snort components...
      Menu items... done.
      Services... done.
      Loading package instructions...
      Include file snort.inc could not be found for inclusion.
      Deinstall commands... 
      Not executing custom deinstall hook because an include is missing.
      Removing package instructions...done.
      Auxiliary files... done.
      Package XML... done.
      Configuration... done.
      Cleaning up... Failed to install package.
      
      Installation halted.
      
      

      Please let me know if you can help.  Thanks!!

      1 Reply Last reply Reply Quote 0
      • rcfaR
        rcfa
        last edited by

        Same issue here… was just about to post something when I saw your post

        1 Reply Last reply Reply Quote 0
        • M
          m4rcu5
          last edited by

          It is an already known an reported problem. The mysql packages is not found.

          Here is the work around.
          In the shell do: pkg_add -r http://files.pfsense.org/packages/8/All/mysql-client-5.1.53.tbz
          Then start the Snort install again form the gui.

          It should now install without problem, at leased it did for me.

          The link to redmine: http://redmine.pfsense.org/issues/1080

          -m4rcu5

          1 Reply Last reply Reply Quote 0
          • C
            ChrisProls
            last edited by

            Thanks for the tip, it fixed the problem for me too

            1 Reply Last reply Reply Quote 0
            • rcfaR
              rcfa
              last edited by

              The workaround did it for me, too. Should be an easy fix, though: either the relevant files should be put where the web interface is looking for them, or the URL the package expects needs to be modified.

              1 Reply Last reply Reply Quote 0
              • T
                ToxIcon
                last edited by

                at command or shell then install snort

                pkg_add -r http://ftp.riken.go.jp/pub/FreeBSD/ports/packages/databases/mysql-client-5.1.53.tbz

                pkg_add -r http://www.koksek.ru/pub/FreeBSD/ports/i386/packages/databases/mysql-client-5.1.53.tbz

                updating emergingthreats rules

                for those with the update problem just edit your

                snort_check_for_rule_updates.php

                $emergingthreats_filename_md5 = "emerging.rules.tar.gz.md5";

                /*  download md5 sig from rules.emergingthreats.net/open/snort-2.8.6/ */

                $image = @file_get_contents("http://rules.emergingthreats.net/open/snort-2.8.6/emerging.rules.tar.gz.md5");

                download_file_with_progress_bar2("http://rules.emergingthreats.net/open/snort-2.8.6/emerging.rules.tar.gz", $tmpfname . "/{$emergingthreats_filename}", "read_body_firmware");

                this work for me

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