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

    pfSense 2.4.4_1 update has broken barnyard2

    Scheduled Pinned Locked Moved IDS/IPS
    5 Posts 4 Posters 4.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.
    • NogBadTheBadN
      NogBadTheBad
      last edited by NogBadTheBad

      Dec 3 16:34:51 php-fpm 4880 /snort/snort_interfaces.php: The command '/usr/local/bin/barnyard2 -r 16395 -f "snort_16395_igb0.5.u2" --pid-path /var/run --nolock-pidfile -c /usr/local/etc/snort/snort_16395_igb0.5/barnyard2.conf -d /var/log/snort/snort_igb0.516395 -D -q' returned exit code '1', the output was 'Shared object "libmysqlclient.so.18" not found, required by "barnyard2"'

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

        I experience the same problem

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

          This is most likely due to updates to the MySQL shared library that happened with the pfSense 2.4.4_1 update. Barnyard2 on FreeBSD has not been updated in several years. The package has issues as a result. I'm not even sure it is maintained at the upstream source anymore. It's been a while since I've checked, though.

          I will send an email to the pfSense developer responsible for the binary packages and advise him of this issue. He may post back here with a suggested fix.

          NogBadTheBadN 1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad @bmeeks
            last edited by NogBadTheBad

            @bmeeks

            https://redmine.pfsense.org/issues/9164

            Updated by Jim Pingle about 1 hour ago

            That library is a part of mysql56-client-5.6.41 which is there for 2.4.4-p1. If it isn't pulled in by barnyard2 that's an issue with the pkg dependencies.

            You can probably work around it by running pkg install -fy mysql56-client until the package maintainer can get it sorted.

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 3
            • J
              jscime
              last edited by jscime

              @nogbadthebad

              I just followed Jim's reco and it solved the Barnyard2 starting issue. I am able to start it now.

              Thanks for the suggestion.

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