rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied

Ted Lum freeradius.org at tedworld.com
Thu Nov 13 04:06:29 CET 2008


Any idea how to fix this?

Wed Nov 12 21:29:16 2008 : Error: rlm_counter: Failed to open file
/etc/raddb/db.daily: Permission denied
Wed Nov 12 21:29:16 2008 : Error: /etc/raddb/radiusd.conf[152]:
Instantiation failed for module "daily"
Wed Nov 12 21:29:16 2008 : Error: Errors initializing modules

This is an rpmbuild on Centos 5.2
radiusd: FreeRADIUS Version 2.1.1, for host i686-redhat-linux-gnu, built
on Nov 11 2008 at 10:29:34

/etc
drwxrwxr-x  7 root radiusd   4096 Nov 12 21:29 raddb


/etc/raddb
-rw-------  1 radiusd radiusd 12312 Nov 12 21:29 db.daily

This works:
# /usr/sbin/radiusd -X

This works:
# strace /usr/sbin/radiusd

This does not work:
# service radiusd start
Starting RADIUS server:                                    [FAILED]

This does not work:
    counter daily {
        filename = ${raddbdir}/db.daily
.
.
.

This does not work:
    counter daily {
        filename = /tmp/db.daily
.
.
.

-Ted-


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Freeradius-Users mailing list