Hello, I recently migrated my Radius server to a new machine but it's giving me errors now when I try to start it. I had to change permissions in /etc/raddb to 755 in order to get it to start (even 750 wouldn't work) but I know that isn't an ideal long-term solution. I am on CentOS 6.5 with FreeRadius version 2.1.12. Thanks in advance. Wed Mar 18 11:34:55 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied Wed Mar 18 11:34:55 2015 : Error: rlm_eap_tls: Error reading certificate file /etc/raddb/certs/server.pem Wed Mar 18 11:34:55 2015 : Error: rlm_eap: Failed to initialize type tls Wed Mar 18 11:34:55 2015 : Error: /etc/raddb/eap.conf[17]: Instantiation failed for module "eap" Wed Mar 18 11:34:55 2015 : Error: /etc/raddb/sites-enabled/default[310]: Failed to load module "eap". Wed Mar 18 11:34:55 2015 : Error: /etc/raddb/sites-enabled/default[252]: Errors parsing authenticate section. Wed Mar 18 11:34:55 2015 : Error: Failed to load virtual server <default>
Hi,
I recently migrated my Radius server to a new machine but it's giving me errors now when I try to start it. I had to change permissions in /etc/raddb to 755 in order to get it to start (even 750 wouldn't work) but I know that isn't an ideal long-term solution. I am on CentOS 6.5 with FreeRadius version 2.1.12. Thanks in advance.
Wed Mar 18 11:34:55 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied
ensure that you have the correct permissions on all subdiretories...if you check radiusd.conf to see what user/group you are running the server as, usually on RH/centos/etc systems its radiusd:radiusd so chown -R radiusd:radiusd /etc/raddb is enough for this issue to be resolved. ..then you've got SELinux stuff to deal with....did you just copy these files across? you might need to restorecon -Rv on the directory too alan
Thank you. It looks like chown -R radiusd:radiusd /etc/raddb worked. On 3/18/2015 5:03 PM, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
I recently migrated my Radius server to a new machine but it's giving me errors now when I try to start it. I had to change permissions in /etc/raddb to 755 in order to get it to start (even 750 wouldn't work) but I know that isn't an ideal long-term solution. I am on CentOS 6.5 with FreeRadius version 2.1.12. Thanks in advance.
Wed Mar 18 11:34:55 2015 : Error: rlm_eap: SSL error error:0200100D:system library:fopen:Permission denied ensure that you have the correct permissions on all subdiretories...if you check radiusd.conf to see what user/group you are running the server as,
usually on RH/centos/etc systems its radiusd:radiusd so
chown -R radiusd:radiusd /etc/raddb
is enough for this issue to be resolved.
..then you've got SELinux stuff to deal with....did you just copy these files across? you might need to restorecon -Rv on the directory too
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Regards, Brian Stringfellow IT Department 877-262-2231 ext. 175 |727-442-3554 ext. 175 Fax: 727-442-1773 bstringfellow@bobcad.com <mailto:bstringfellow@bobcad.com> BobCAD-CAM Logo <http://www.bobcad.com> BobCAD-CAM Facebook <http://www.facebook.com/pages/BobCAD-CAM/261363801413> BobCAD-CAM Twitter <http://twitter.com/BobCAD_CAM> BobCAD-CAM LinkedIn <http://www.linkedin.com/company/bobcad-cam-inc.> BobCAD-CAM YouTube <http://www.youtube.com/user/BobCADCAM> BobCAD-CAM News <http://www.bobcad.com/news> ***** Disclosure Statement ***** This email message is intended only for the addressee(s) and contains information that may be confidential and/or copyright. If you are not the intended recipient please notify the sender by reply email and immediately delete this email. Use, disclosure or reproduction of this email by anyone other than the intended recipient(s) is strictly prohibited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient. Thank you, BobCAD-CAM, Inc.
participants (2)
-
A.L.M.Buxey@lboro.ac.uk -
Brian