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

    FreeRADIUS terminating abnormally, no clues in log file

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 550 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.
    • ?
      A Former User
      last edited by

      I'm having an issue where every few months, clients are unable to connect to the wireless network. Authentication is being handled by FreeRADIUS running on pfSense.

      Upon inspection the FreeRADIUS service is in stopped status. Manually restarting it resumes normal operation.

      I had a look at the system log (snippet here and it doesn't seem to indicate a reason why the service terminated.

      In the log file, May 23 00:34:59 was the last time a client successfully authenticated.

      May 23 09:30:56 the service terminated for no apparent reason which required a manual restart on May 24 11:37:11.

      Any ideas?

      NogBadTheBadN GertjanG 2 Replies Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad @A Former User
        last edited by NogBadTheBad

        @Spicy-Spice

        Have you entered any additional in the 3 windows at the bottom of the user or mac fields, if you have it’s likely to be associated with that.

        Andy

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

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @A Former User
          last edited by

          @Spicy-Spice said in FreeRADIUS terminating abnormally, no clues in log file:

          Upon inspection the FreeRADIUS service is in stopped status. Manually restarting it resumes normal operation.
          I had a look at the system log (snippet here and it doesn't seem to indicate a reason why the service terminated.
          In the log file, May 23 00:34:59 was the last time a client successfully authenticated.
          May 23 09:30:56 the service terminated for no apparent reason which required a manual restart on May 24 11:37:11.

          Processes like FreeRadius can get a 'signal' to restart.
          It will actually stop - to restart on the fly.
          Why it didn't start upon restart, is not shown in the logs - it probably died, so no more logs.

          To see more info, open a console access, option 8 (SSH into it - use a big window back log as can be setup in Putty) - stop FreeRadius in the GUI? and start FreeRadius manually, with

          radiusd -X
          

          Leave it there. You will have more log details, ready to analyze when something went wrong.

          I'm using FreeRadius also, coupled to an external MariaDB SQL database, and it's up for weeks if not months. It better be, clienst of our company are using it all the time. What I want to say it's stable.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @NogBadTheBad
            No, nothing is entered into the "advanced" fields. Nevertheless, this isn't an issue with authentication, it's an issue with the service itself.

            @Gertjan
            Thanks, I'll give that a go, see if anything pops up.

            NogBadTheBadN 1 Reply Last reply Reply Quote 0
            • NogBadTheBadN
              NogBadTheBad @A Former User
              last edited by

              @Spicy-Spice said in FreeRADIUS terminating abnormally, no clues in log file:

              @NogBadTheBad
              No, nothing is entered into the "advanced" fields. Nevertheless, this isn't an issue with authentication, it's an issue with the service itself.

              "IMPORTANT: If you don't format this field correctly, FreeRADIUS will not start because of syntax errors.
              Verify your changes by checking the authorized_macs file (View config > Users)."

              Thats why I mentioned it.

              Andy

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

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                @NogBadTheBad
                Appreciate it. FreeRADIUS seems to start just fine and will run for many weeks without an issue, until it stops and doesn't automatically restart.

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