|
Hi, I got the same issue and I solved it modifying the file : /usr/local/etc/raddb/radiusd.conf I replaced the line : db_dir = $(raddbdir) By : db_dir = ${raddbdir} I use freeRadius 2.0.5 on a freeBSD 6.3 [EMAIL PROTECTED] a écrit : Message: 2 Date: Thu, 13 Nov 2008 18:21:17 -0500 From: Ted Lum <[EMAIL PROTECTED]> Subject: Re: rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied To: Alan DeKok <[EMAIL PROTECTED]> Cc: FreeRadius users mailing list <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowedThe default user and group have not been modified. The server DOES NOT run as root. It always starts as root, but changes its self. ...from radiusd.conf # We STRONGLY recommend that you run the server with as few permissions # as possible. That is, if you're not using shadow passwords, the # user and group items below should be set to radius'. They are: user = radiusd group = radiusd In fact, the db.daily file was created by the application and this is the sole reason for the file's ownership being what it is. In addition I have moved the location to /tmp where everyone has permission and it still fails. This is a ps after "service start radiusd": UID PID PPID C STIME TTY TIME CMD radiusd 6909 1 0 Nov12 ? 00:00:00 /usr/sbin/radiusd This is a ps after "/usr/sbin/radiusd -X": UID PID PPID C STIME TTY TIME CMD radiusd 6998 6933 5 15:48 pts/0 00:00:00 /usr/sbin/radiusd -X This is a ps after "strace /usr/sbin/radiusd": UID PID PPID C STIME TTY TIME CMD radiusd 7004 1 0 15:50 ? 00:00:00 /usr/sbin/radiusd In all cases its running as radiusd. So, any more ideas on how to fix this? -Ted- Alan DeKok wrote: --
|
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

