Problem with nxlog-ce

Tags:

#1 nazir.haron

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

#2 Zhengshi Nxlog ✓
#1 nazir.haron
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

The default config file /etc/nxlog.cof has nxlog-ce running as the user nxlog with group nxlog. That user likely does not have access(permissions) to the file locations you are trying to read.

https://nxlog.co/docs/nxlog-ce/nxlog-reference-manual.html#config_global_user

User    nxlog
Group    nxlog