Hi, can somebody help me to solve this problem
2018-05-15 16:33:33 ERROR failed to open /var/log/freeradius/linelog-accounting;Permission denied
2018-05-15 16:33:35 ERROR apr_stat failed on file /var/log/freeradius/linelog-accounting;Permission denied
Comments (4)
already chown to nxlog ..but still problem
-rw-r--r-- 1 nxlog nxlog 0 May 16 08:30 linelog-accounting
error msg:
2018-05-16 08:32:43 ERROR apr_stat failed on file /var/log/freeradius/linelog-accounting;Permission denied
What about the permissions on
/var/log/freeradius
? The user needs to be able to see and get inside of that directory as well (+x)that folder belongs to freerad:freerad
drwxr-x--- 4 freerad freerad 4096 May 16 08:30 freeradius/
In this case, NXLog cannot access the directory. You either have to change the rights from freerad:freerad to freerad:nxlog, or give read and execution bit (755 instead of current 750) to everyone, or nxlog user has to belong to the freerad group so that nxlog can access the directory.