On Fri, 2008-09-26 at 17:31 +0100, John Horne wrote: > Hi, > > I have installed FR2.1.1 onto a test server, built using the Fedora > rawhide RPM source. No problems building and installing FR, but when I > start FR it seems to immediately stop. The radius.log file just shows: > > Fri Sep 26 17:20:58 2008 : Error: Failed to > stat /var/run/radiusd/radiusd.sock: Permission denied > > The ls command shows: > > ls -l /var/run/radiusd/radiusd.sock > srw-rw---- 1 radiusd radiusd 0 Sep 26 > 16:53 /var/run/radiusd/radiusd.sock > > I have tried disabling selinux, and iptables, but they made no > difference. Changing the permissions to 666 on the socket made no > difference. > Running 'radiusd -C' shows nothing, and 'radiusd -X' starts up okay. If > I then use a different terminal I can run 'radmin' with no problem > (which I gather uses the socket). > > The problem is, I can't see what permissions may be wrong. Anyone any > ideas on this? > Sigh. It's always on a Friday afternoon that you get these problems, send the message to the list and then see what the problem is! :-)
Okay, I deleted the socket and then tried starting FR; it failed but the log file showed: Fri Sep 26 17:41:37 2008 : Error: Failed binding to /var/run/radiusd/radiusd.sock: Permission denied Disabling selinux, and FR then started up okay. Strange because I had tried disabling selinux before. oh well. Setting the selinux boolean 'radiusd_disable_trans' to on, and enabling selinux, seems to allow FR to work. However, I'm not sure what these booleans actually do (or restrict). John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 587001 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html