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

    Freeradius2 removal breaks racoon (IPsec)

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 2.3k 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.
    • B
      bdwyer
      last edited by

      After removing freeradius2, racoon refuses to start.  Logs show that it might be removing system files that should remain resident post-removal.

      Shared object "libsasl2.so.2" not found, required by "libldap-2.4.so.8"

      Reinstalling freeradius2 brought my IPsec VPN back online.

      CCNP, MCITP

      Intel Atom N550 - 2gb DDR3
      Jetway NC9C-550-LF
      Antec ISK 300-150
      HP ProCurve 1810-24
      Cisco 1841 & 2821, Cisco 3550 x3

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        You will need to install package dependencies after freeradius deinstall.

        I386
        http://files.pfsense.org/packages/8/All/openldap-sasl-client-2.4.23.tbz

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by

          @marcelloc:

          You will need to install package dependencies after freeradius deinstall.

          I386
          http://files.pfsense.org/packages/8/All/openldap-sasl-client-2.4.23.tbz

          Is there a way to prevent freeraidus2 from uninstalling the openldap dependencies ?
          Or should I implement some code on the deinstall routine of freeradius2 package which checks if openldap package is still installed on the system or needs to be reinstalled !?

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            It's not on freeradius code, when you uninstall a package it removes dependencies.

            It happens with a lot of packages

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • B
              bdwyer
              last edited by

              Fixed, thanks for the heads up marcelloc.  Two packages needed to be put back in.  racoon now runs without reinstalling freeradius2.  Learned my lesson, will use a sandbox to play with pfsense packages, didn't expect the domino effect there.

              cd /tmp/
              fetch http://files.pfsense.org/packages/amd64/8/All/cyrus-sasl-2.1.25_1.tbz
              fetch http://files.pfsense.org/packages/amd64/8/All/openldap-sasl-client-2.4.23.tbz
              pkg_add cyrus-sasl-2.1.25_1.tbz
              pkg_add openldap-sasl-client-2.4.23.tbz

              CCNP, MCITP

              Intel Atom N550 - 2gb DDR3
              Jetway NC9C-550-LF
              Antec ISK 300-150
              HP ProCurve 1810-24
              Cisco 1841 & 2821, Cisco 3550 x3

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

                it doesn't happen with many packages anymore as we take some precautions to prevent it as much as possible, but it does happen on some, have to be careful when messing with packages. 2.1 uses PBI packages to eliminate such dependency hell.

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