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

    Radius keeps restarting and failing

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 1.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.
    • junicastJ
      junicast
      last edited by

      My Wifi isn't really working as it should, since the certificates seem to get regenerated every once in a while. There also seem to be radius restarts and also sometimes the service just stops.
      This happens, when I recovered from a pfsense backup (2.1.5 amd64  and freeradius2 2.1.12_1/2.2.5_3 pkg v1.6.10).

      Here are some excerpts

      I log into /var/log/radius.log (this block of messages keeps repeating):

      Sat Jan  3 09:29:39 2015 : Error: rlm_eap: SSL error error:02001002:system library:fopen:No such file or directory
      Sat Jan  3 09:29:39 2015 : Error: rlm_eap_tls: Error reading certificate file /usr/pbi/freeradius-amd64/etc/raddb/certs/server.pem
      Sat Jan  3 09:29:39 2015 : Error: rlm_eap: Failed to initialize type tls
      Sat Jan  3 09:29:39 2015 : Error: /usr/pbi/freeradius-amd64/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
      Sat Jan  3 09:29:39 2015 : Error: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[328]: Failed to find "eap" in the "modules" section.
      Sat Jan  3 09:29:39 2015 : Error: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section.
      Sat Jan  3 09:29:39 2015 : Error: Failed to load virtual server <default></default>
      

      This is from /var/log/system.log:

      Jan  3 09:43:50 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      Jan  3 09:43:54 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      Jan  3 09:43:57 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      Jan  3 09:43:59 pfsense php: rc.start_packages: freeRADIUS: deleting all CA, Server and Client certs, DH, random and database files in /usr/pbi/freeradius-amd64/etc/raddb/certs
      Jan  3 09:43:59 pfsense php: rc.start_packages: freeRADIUS: Creating new DH and random file in /usr/pbi/freeradius-amd64/etc/raddb/certs
      Jan  3 09:44:11 pfsense php: rc.start_packages: freeRADIUS: Creating new CA, Server and Client certs in /usr/pbi/freeradius-amd64/etc/raddb/certs
      Jan  3 09:44:12 pfsense php: rc.start_packages: freeRADIUS: Added client.csr .crt .key .pem together with ca.der in /usr/pbi/freeradius-amd64/etc/raddb/certs/client.tar
      Jan  3 09:44:12 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      Jan  3 09:44:12 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      Jan  3 09:44:14 pfsense php: rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
      

      Help would be much appreciated.

      1 Reply Last reply Reply Quote 0
      • junicastJ
        junicast
        last edited by

        My issue seems to be related to this one:
        https://forum.pfsense.org/index.php?topic=76969.0

        I also changed my interface names prior to restoring the config. Anyhow I did not replace any strings within any certificates (AFAIR).

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