1. Cant read radius.log (Adam Schappell)
Hi Adam, You have already been told Daloradius may not be the most appropriate or up to date interface to use. Permissions may not be fine, and they are not certainly fine in my debian for 3rd party tools to access that file. PHP/CGI processes are run under the www-data user in Debian, not freerad. Regards
Message: 1 Date: Fri, 3 Apr 2015 12:25:04 -0400 From: Adam Schappell <aschappell@clearedgeit.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Cant read radius.log Message-ID: < CAHoRX4Kj9u29QAUeL3_dxUmO_P6JVgunA+ybWcZd8KGUZrq_kQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
Hello,
In dalo radius I get the error: error reading log file:
looked for log file in '/var/log/freeradius/radius.log, /usr/local/var/log/radius/radius.log, /var/log/radius/radius.log' but couldn't find it. if you know where your freeradius log file is located, set it's location in /daloradius/rep-logs-radius.php
I go through the file system and can find it at /var/log/radius/radius.log. Weird thing is that if I just keep pressing tab it wont pick it up. I have to stop at the radius/ and type ll and it will come up. Permissions seem fine. Cant really figure out why. And in the /daloradius/rep-logs-radius.php, there is no where to set a path.
Thanks.
-- Regards, -- Rui Ribeiro Senior Sysadm ISCTE-IUL https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434
Hi Following command will help you add users in other group so that web server service owner user can read radius logs. Usermod -a -G www-data freerad Above should work on debian based distro. Else you can find the user owner of both web server and radius services and replace them in above command. On Apr 4, 2015 6:11 PM, "Rui Ribeiro" <ruyrybeyro@gmail.com> wrote:
Hi Adam,
You have already been told Daloradius may not be the most appropriate or up to date interface to use.
Permissions may not be fine, and they are not certainly fine in my debian for 3rd party tools to access that file. PHP/CGI processes are run under the www-data user in Debian, not freerad.
Regards
Message: 1 Date: Fri, 3 Apr 2015 12:25:04 -0400 From: Adam Schappell <aschappell@clearedgeit.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Cant read radius.log Message-ID: < CAHoRX4Kj9u29QAUeL3_dxUmO_P6JVgunA+ybWcZd8KGUZrq_kQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
Hello,
In dalo radius I get the error: error reading log file:
looked for log file in '/var/log/freeradius/radius.log, /usr/local/var/log/radius/radius.log, /var/log/radius/radius.log' but couldn't find it. if you know where your freeradius log file is located, set it's location in /daloradius/rep-logs-radius.php
I go through the file system and can find it at /var/log/radius/radius.log. Weird thing is that if I just keep pressing tab it wont pick it up. I have to stop at the radius/ and type ll and it will come up. Permissions seem fine. Cant really figure out why. And in the /daloradius/rep-logs-radius.php, there is no where to set a path.
Thanks.
-- Regards,
-- Rui Ribeiro Senior Sysadm ISCTE-IUL https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I figured it out. I had to change permission at /var/log/radius not /var/log/radius/radius.log. There is not many interfaces out there for freeradius. Adam Schappell System Administrator II Clearedge IT Solutions, LLC 10620 Guilford Road Jessup, MD 20794 Office:443-212-4712 Fax:443-212-4809 www.ClearEdgeIT.com <http://www.clearedgeit.com/> On Sat, Apr 4, 2015 at 8:34 AM, Rui Ribeiro <ruyrybeyro@gmail.com> wrote:
Hi Adam,
You have already been told Daloradius may not be the most appropriate or up to date interface to use.
Permissions may not be fine, and they are not certainly fine in my debian for 3rd party tools to access that file. PHP/CGI processes are run under the www-data user in Debian, not freerad.
Regards
Message: 1 Date: Fri, 3 Apr 2015 12:25:04 -0400 From: Adam Schappell <aschappell@clearedgeit.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Cant read radius.log Message-ID: < CAHoRX4Kj9u29QAUeL3_dxUmO_P6JVgunA+ybWcZd8KGUZrq_kQ@mail.gmail.com> Content-Type: text/plain; charset=UTF-8
Hello,
In dalo radius I get the error: error reading log file:
looked for log file in '/var/log/freeradius/radius.log, /usr/local/var/log/radius/radius.log, /var/log/radius/radius.log' but couldn't find it. if you know where your freeradius log file is located, set it's location in /daloradius/rep-logs-radius.php
I go through the file system and can find it at /var/log/radius/radius.log. Weird thing is that if I just keep pressing tab it wont pick it up. I have to stop at the radius/ and type ll and it will come up. Permissions seem fine. Cant really figure out why. And in the /daloradius/rep-logs-radius.php, there is no where to set a path.
Thanks.
-- Regards,
-- Rui Ribeiro Senior Sysadm ISCTE-IUL https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Apr 6, 2015, at 8:32 AM, Adam Schappell <aschappell@clearedgeit.com> wrote:
I figured it out. I had to change permission at /var/log/radius not /var/log/radius/radius.log. There is not many interfaces out there for freeradius.
The default installation uses the correct permissions. If they're wrong, it's because you changed something, and broke the server. This is basic Unix system administration. Alan DeKok.
Lol actually your wrong Alan, I never did change permissions! It is a bug in daloradius when reading the freeradius files. Thanks. Adam Schappell System Administrator II Clearedge IT Solutions, LLC 10620 Guilford Road Jessup, MD 20794 Office:443-212-4712 Fax:443-212-4809 www.ClearEdgeIT.com <http://www.clearedgeit.com/> On Mon, Apr 6, 2015 at 8:53 AM, Alan DeKok <aland@deployingradius.com> wrote:
On Apr 6, 2015, at 8:32 AM, Adam Schappell <aschappell@clearedgeit.com> wrote:
I figured it out. I had to change permission at /var/log/radius not /var/log/radius/radius.log. There is not many interfaces out there for freeradius.
The default installation uses the correct permissions. If they're wrong, it's because you changed something, and broke the server.
This is basic Unix system administration.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Adam Schappell -
Alan DeKok -
Rui Ribeiro -
Vijay S