Hey,
May I please get some help on why daloRADIUS can't see the radius log? All of the standard fixes that I have found here and else where have been unsuccessful. Radius is logging successfullly, but dalo can't see it. It doesn't give an error, just a blank screen.
Not that it should matter, but this radius server is being used for pppoe authentication.
All other log views through dalo are working properly.
Environment info
Radius Log Path: /var/log/radius/radius.log
daloRADIUS version: 0.9-9
FreeRADIUS version: 2.1.12
Radius log folder permissions
drwxr-xr-x 3 radiusd radiusd 4096 Jul 1 03:09 radius
Radius log file permissions:
-rwxrwxrwx 1 radiusd radiusd 756260 Jul 26 12:35 radius.log
What has been tried
The permission fix listed below:
nano /etc/raddb/radiusd.conf
file = /var/log/radius.log
service radiusd restart
change permissions on radius.log
chmod 644 /var/log/radius.log
chmod 644 /var/log/messages
touch /tmp/daloradius.log
chown apache.apache /tmp/daloradius.log
nano /var/www/html/daloradius/library/exten-radius_log.php
$logfile_loc = array();
$logfile_loc[1] = '/var/log/freeradius/radius.log';
$logfile_loc[2] = '/usr/local/var/log/radius/radius.log';
$logfile_loc[3] = '/var/log/radius/radius.log';
$logfile_loc[4] = '/var/log/radius.log';
Liran's suggestion:
Ok so the issue might be the ownership.
Try to do 'chmod 777 /var/log/radius/radius.log'
Changing the reading code in the php file referenced here:
https://github.com/lirantal/daloradius/issues/23
https://github.com/lirantal/daloradius/pull/25/commits/a0a7bd943675f2fb92240f9bc775be7121e7c95f
Please help with this issue as I have been unable to find a fix.
Thanks,
Brad
Anonymous
Does anyone have an idea about this?
Thanks,
Brad
Can someone please pick this ticket up and respond?
Thanks,
Brad