FreeRadius2 fails to start after upgrading to 2.2.4



  • Any help rectifying this is appreciated. I have tried reinstalling the package.

    Here's the tail of the radius.log.

    
    Sun Jul 26 19:16:44 2015 : Info: Signalled to terminate
    Sun Jul 26 19:16:46 2015 : Info: Exiting normally.
    Sun Jul 26 19:23:59 2015 : Error: rlm_eap: SSL error error:02001002:system library:fopen:No such file or directory
    Sun Jul 26 19:23:59 2015 : Error: rlm_eap_tls: Error reading certificate file /usr/local/etc/raddb/certs/server_cert.pem
    Sun Jul 26 19:23:59 2015 : Error: rlm_eap: Failed to initialize type tls
    Sun Jul 26 19:23:59 2015 : Error: /usr/local/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
    Sun Jul 26 19:23:59 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[328]: Failed to find "eap" in the "modules" section.
    Sun Jul 26 19:23:59 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section.
    Sun Jul 26 19:23:59 2015 : Error: Failed to load virtual server <default>Sun Jul 26 20:17:29 2015 : Error: rlm_eap: SSL error error:02001002:system library:fopen:No such file or directory
    Sun Jul 26 20:17:29 2015 : Error: rlm_eap_tls: Error reading certificate file /usr/local/etc/raddb/certs/server_cert.pem
    Sun Jul 26 20:17:29 2015 : Error: rlm_eap: Failed to initialize type tls
    Sun Jul 26 20:17:29 2015 : Error: /usr/local/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
    Sun Jul 26 20:17:29 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[328]: Failed to find "eap" in the "modules" section.
    Sun Jul 26 20:17:29 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section.
    Sun Jul 26 20:17:29 2015 : Error: Failed to load virtual server <default>Sun Jul 26 20:20:16 2015 : Error: rlm_eap: SSL error error:02001002:system library:fopen:No such file or directory
    Sun Jul 26 20:20:16 2015 : Error: rlm_eap_tls: Error reading certificate file /usr/local/etc/raddb/certs/server_cert.pem
    Sun Jul 26 20:20:16 2015 : Error: rlm_eap: Failed to initialize type tls
    Sun Jul 26 20:20:16 2015 : Error: /usr/local/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
    Sun Jul 26 20:20:16 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[328]: Failed to find "eap" in the "modules" section.
    Sun Jul 26 20:20:16 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section.
    Sun Jul 26 20:20:16 2015 : Error: Failed to load virtual server <default>Sun Jul 26 20:20:22 2015 : Error: rlm_eap: SSL error error:02001002:system library:fopen:No such file or directory
    Sun Jul 26 20:20:22 2015 : Error: rlm_eap_tls: Error reading certificate file /usr/local/etc/raddb/certs/server_cert.pem
    Sun Jul 26 20:20:22 2015 : Error: rlm_eap: Failed to initialize type tls
    Sun Jul 26 20:20:22 2015 : Error: /usr/local/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
    Sun Jul 26 20:20:22 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[328]: Failed to find "eap" in the "modules" section.
    Sun Jul 26 20:20:22 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section.
    Sun Jul 26 20:20:22 2015 : Error: Failed to load virtual server <default></default></default></default></default> 
    


  • There seems to be an issue with your server certificate. Go to 'EAP'  tab under FreeRADIUS config and make sure 'SSL Server Certificate' field is populated. Then save the page and try to start the server again.