(rlm_ippool does not create DB and IDX files) rlm_ippool can not open DB/IDX files
Fajar A. Nugraha
list at fajar.net
Wed Apr 18 08:33:28 CEST 2012
On Wed, Apr 18, 2012 at 11:47 AM, rogiermulder <rogier at mulder.org> wrote:
> Thanks Alan!
>
> Now it creates the files but only when I issue /sbin/radiusd as root, it can
> create/access the idx and db files. When I start it issuing (as root)
> /etc/init.d/radiusd start, it fail:
>
> Wed Apr 18 06:41:59 2012 : Info: Loaded virtual server inner-tunnel
> Wed Apr 18 06:41:59 2012 : Error: rlm_ippool: Failed to open file
> //etc/raddb/db.mp.nl.sycada.com_pool: Permission denied
> radiusd.conf :
>
> user = radiusd
> group = radius
is that a copy-paste error? radius or radiusd?
>
>
> ls -latr /etc/raddb:
>
> -rw-------. 1 radiusd radiusd 12288 Apr 18 06:27
> idx.mp.nl.sycada.com_pool
> -rw-------. 1 radiusd radiusd 1032256 Apr 18 06:27
> db.mp.nl.sycada.com_pool
> drwxr-xr-x. 7 radiusd radiusd 4096 Apr 18 06:45 .
Looks like permission problem. See /var/log/messsages for anything
like "denied", and try to disable selinux and friends (if currently
enabled).
--
Fajar
More information about the Freeradius-Users
mailing list