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

    FreeRadius2 Package Install Stalls

    Scheduled Pinned Locked Moved pfSense Packages
    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.
    • R Offline
      robertor
      last edited by

      I have a NanoBSD installation, that has 4GB SD card and 4Gb of ram.
      I cannot get the FreeRadius2 package to install. It gets to the extracting stage, and then freezes. The browser then stops refreshing. No information can be found in system.log.
      It's basically the same issue as listed here: https://forum.pfsense.org/index.php?topic=70875.0

      I have increased the size of the /var and /tmp partitions:

      Filesystem           Size    Used   Avail Capacity  Mounted on
      /dev/ufs/pfsense0    1.8G    279M    1.4G    17%    /
      devfs                1.0k    1.0k      0B   100%    /dev
      /dev/ufs/cf           48M    2.0M     42M     5%    /cf
      /dev/md0             484M    388k    445M     0%    /tmp
      /dev/md1             484M     20M    425M     4%    /var
      devfs                1.0k    1.0k      0B   100%    /var/dhcpd/dev
      

      Any further ideas? I have tried removing it completely, rebooting several times and installing it again. However it always stalls then it gets to the extracting stage. I also left it an hour as indicated in the link above, and nothing happens.

      Any other ideas?

      1 Reply Last reply Reply Quote 0
      • B Offline
        bfeitell
        last edited by

        After banging on this for most of the day on a 4GB x86_64 nanobsd install I finally managed to get freeradius2 to install.

        I manually deleted the prior bad remnants by deleting /usr/pbi/freeradius-amd64

        Something is weird here because I had to manually dig down through the directory tree to delete everything.

        I then deleted /usr/local/pkg/freeradius.xml (there was no freeradius.inc file after failed attempts to intall via GUI).

        I then downloaded the latest platform specific freeradius package from https://files.pfsense.org/packages/10/All/ using fetch at the command line.

        I then installed the package at the command line forcing a verbose install using (in my platform specific case) pbi_add -v -f freeradius-2.2.6_3-amd64.pbi

        The install completed successfully, but the package did not appear as installed in the installed package GUI, or in the menus.

        I then reinstalled the package from "available packages", and the missing bits all fell into place.

        The odd bit for me is that I have freeradius installed on three other boxes I administer, one of which is completely identical, although all of them had the package installed several revisions ago with respect to both pfsense 2.2.

        I hope this helps someone else.

        Cheers,
        Bennett

        1 Reply Last reply Reply Quote 0
        • S Offline
          Snailkhan
          last edited by

          i also faced similar issue and installed as mentioned below.
          but i cannot start its service ..
          when i check system logs i see below

          Nov 23 23:06:43 root: /usr/pbi/freeradius-i386/local/etc/rc.d/radiusd: WARNING: run_rc_command: cannot run /usr/local/sbin/radiusd
          Nov 23 23:05:58 root: /usr/pbi/freeradius-i386/local/etc/rc.d/radiusd: WARNING: run_rc_command: cannot run /usr/local/sbin/radiusd
          Nov 23 23:05:32 check_reload_status: Reloading filter
          Nov 23 23:05:30 php-fpm[85699]: /pkg_mgr_install.php: Successfully installed package: freeradius2.
          Nov 23 23:05:30 check_reload_status: Syncing firewall
          Nov 23 23:05:27 php-fpm[85699]: /pkg_mgr_install.php: FreeRADIUS: Creating backup of the original file to /usr/pbi/freeradius-i386/local/etc/raddb/files.backup
          Nov 23 23:05:27 php-fpm[85699]: /pkg_mgr_install.php: FreeRADIUS: Creating backup of the original file to /usr/pbi/freeradius-i386/local/etc/raddb/policy.conf.backup
          Nov 23 23:05:02 check_reload_status: Syncing firewall
          Nov 23 23:04:57 php-fpm[85699]: /pkg_mgr_install.php: Beginning package installation for freeradius2 .

          @bfeitell:

          After banging on this for most of the day on a 4GB x86_64 nanobsd install I finally managed to get freeradius2 to install.

          I manually deleted the prior bad remnants by deleting /usr/pbi/freeradius-amd64

          Something is weird here because I had to manually dig down through the directory tree to delete everything.

          I then deleted /usr/local/pkg/freeradius.xml (there was no freeradius.inc file after failed attempts to intall via GUI).

          I then downloaded the latest platform specific freeradius package from https://files.pfsense.org/packages/10/All/ using fetch at the command line.

          I then installed the package at the command line forcing a verbose install using (in my platform specific case) pbi_add -v -f freeradius-2.2.6_3-amd64.pbi

          The install completed successfully, but the package did not appear as installed in the installed package GUI, or in the menus.

          I then reinstalled the package from "available packages", and the missing bits all fell into place.

          The odd bit for me is that I have freeradius installed on three other boxes I administer, one of which is completely identical, although all of them had the package installed several revisions ago with respect to both pfsense 2.2.

          I hope this helps someone else.

          Cheers,
          Bennett

          1 Reply Last reply Reply Quote 0
          • C Offline
            CallFromUSA
            last edited by

            I Have same issue I am putting what I got. My Verson is latest but I am getting this problem.

            When I Do this config :

            Add an interface with the IP address of 127.0.0.1.
                Set the interface type to 'Auth' , use the default port (1812).
                Add a client/NAS with the IP of 127.0.0.1 and the shared secret 'test'.
                Create a test user account on the users tab.
                Log into pfSense via SSH or use the command prompt feature in the diagnostics menu.
                Run the command below, replacing <username>, and <password>with the credentials you assigned.

            radtest <username><password>127.0.0.1:1812 0 test

            I get this error message :

            radclient: no response from server for ID 120 socket 3
            Sending Access-Request of id 120 to 127.0.0.1 port 1812
              User-Name = "User"
              User-Password = "abc"
              NAS-IP-Address = 10.11.11.48
              NAS-Port = 0
              Message-Authenticator = 0x00000000000000000000000000000000
            Sending Access-Request of id 120 to 127.0.0.1 port 1812
              User-Name = "User"
              User-Password = "abc"
              NAS-IP-Address = 10.11.11.48
              NAS-Port = 0
              Message-Authenticator = 0x00000000000000000000000000000000
            Sending Access-Request of id 120 to 127.0.0.1 port 1812
              User-Name = "User"
              User-Password = "abc"
              NAS-IP-Address = 10.11.11.48
              NAS-Port = 0
              Message-Authenticator = 0x00000000000000000000000000000000

            I do not think this is good.</password></username></password></username>

            So That I do not doublicate posts  I am posting my original Thread : https://forum.pfsense.org/index.php?topic=112769.0

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

              @CallFromUSA:

              I Have same issue I am putting what I got. My Verson is latest but I am getting this problem.

              When I Do this config :

              Add an interface with the IP address of 127.0.0.1.
                  Set the interface type to 'Auth' , use the default port (1812).
                  Add a client/NAS with the IP of 127.0.0.1 and the shared secret 'test'.
                  Create a test user account on the users tab.
                  Log into pfSense via SSH or use the command prompt feature in the diagnostics menu.
                  Run the command below, replacing <username>, and <password>with the credentials you assigned.

              radtest <username><password>127.0.0.1:1812 0 test

              I get this error message :

              radclient: no response from server for ID 120 socket 3
              Sending Access-Request of id 120 to 127.0.0.1 port 1812
                User-Name = "User"
                User-Password = "abc"
                NAS-IP-Address = 10.11.11.48
                NAS-Port = 0
                Message-Authenticator = 0x00000000000000000000000000000000
              Sending Access-Request of id 120 to 127.0.0.1 port 1812
                User-Name = "User"
                User-Password = "abc"
                NAS-IP-Address = 10.11.11.48
                NAS-Port = 0
                Message-Authenticator = 0x00000000000000000000000000000000
              Sending Access-Request of id 120 to 127.0.0.1 port 1812
                User-Name = "User"
                User-Password = "abc"
                NAS-IP-Address = 10.11.11.48
                NAS-Port = 0
                Message-Authenticator = 0x00000000000000000000000000000000

              I do not think this is good.</password></username></password></username>

              So That I do not doublicate posts  I am posting my original Thread : https://forum.pfsense.org/index.php?topic=112769.0

              What you write has absolutly nothing to do with what this thread is talking about. Further it makes no sense to hijack this thread and then open another separate thread for the same question.

              1 Reply Last reply Reply Quote 0
              • C Offline
                CallFromUSA
                last edited by

                Hi Guys i Managed to make it work and wrote a guide for this : https://forum.pfsense.org/index.php?topic=113228.msg629777#msg629777

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