FW: Radacct table not working properly
From: Javier Ruiz Escalante [mailto:fruiz002@hotmail.com] Sent: viernes, 23 de marzo de 2012 18:49 To: 'freeradius-users@lists.freeradius.org' Subject: RE: Radacct table not working properly Good evening, I have realized that my radius system does not record the logging information in my radius Data base, in radacct table, but nevertheless creates a folder in /var/log/freeradius for every NAS which is called "radacct" inside this folder there is another folder with the ip of the NAS and inside it there is a txt file with the info that I should have in the radacct table, furthermore I get the following error in radius debug: Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" Any clue? Thanks
On 03/23/2012 11:07 PM, Javier Ruiz Escalante wrote:
I have realized that my radius system does not record the logging information in my radius Data base, in radacct table, but nevertheless creates a folder in /var/log/freeradius for every NAS which is called “radacct” inside this folder there is another folder with the ip of the NAS and inside it there is a txt file with the info that I should have
"radacct" or "detail" file logging is configured by default in the server. SQL is not. Have you configured SQL accounting?
in the radacct table, furthermore I get the following error in radius debug:
What error? There is no error. All you show is debug output from the server startup. There is no error.
Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/freeradius/attrs.access_reject"
Any clue?
Any clue about *what*? You need to ask better questions.
Hello, SQL is configured as long as I know, and actually before, when I had installed chillispot, I think it was working as I had values in my radacct table. What should I check then, because the data is logged, at least part of it but in a file, not in the radacct table. Regards -----Original Message----- From: freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org] On Behalf Of Phil Mayers Sent: sábado, 24 de marzo de 2012 13:02 To: freeradius-users@lists.freeradius.org Subject: Re: FW: Radacct table not working properly On 03/23/2012 11:07 PM, Javier Ruiz Escalante wrote:
I have realized that my radius system does not record the logging information in my radius Data base, in radacct table, but nevertheless creates a folder in /var/log/freeradius for every NAS which is called radacct inside this folder there is another folder with the ip of the NAS and inside it there is a txt file with the info that I should have
"radacct" or "detail" file logging is configured by default in the server. SQL is not. Have you configured SQL accounting?
in the radacct table, furthermore I get the following error in radius debug:
What error? There is no error. All you show is debug output from the server startup. There is no error.
Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/freeradius/attrs.access_reject"
Any clue?
Any clue about *what*? You need to ask better questions. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hello, My server has installed Chillispot and Freeradius, everything is working properly and now I want to use Freeradius without Chillispot. As soon as I uninstall chillispot the radacct table stop working. Can anyody tell me why? Thanks Regards
Javier Ruiz Escalante wrote:
My server has installed Chillispot and Freeradius, everything is working properly and now I want to use Freeradius without Chillispot. As soon as I uninstall chillispot the radacct table stop working. Can anyody tell me why?
If you don't send it RADIUS packets, it doesn't do anything. Alan DeKok.
Hello, I send radius packets, (as long as I know...) I have a hotspot from Mikrotik and I have Radius configured, my client logs on and the information sent by MKT goes to a file but not to radacct table. Thanks Regards -----Original Message----- From: freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: martes, 27 de marzo de 2012 9:58 To: FreeRadius users mailing list Subject: Re: FW: Radacct table not working properly Javier Ruiz Escalante wrote:
My server has installed Chillispot and Freeradius, everything is working properly and now I want to use Freeradius without Chillispot. As soon as I uninstall chillispot the radacct table stop working. Can anyody tell me why?
If you don't send it RADIUS packets, it doesn't do anything. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Javier Ruiz Escalante wrote:
I send radius packets, (as long as I know...) I have a hotspot from Mikrotik and I have Radius configured, my client logs on and the information sent by MKT goes to a file but not to radacct table.
First, figure out exactly what's going on. "Information" is meaningless. Do you mean RADIUS accounting packets? And "goes to a file" is also meaningless. Which file? Why? And, AS ALWAYS, run the server in debugging mode to see what's going on. It's really not that hard. Alan DeKok.
Ok, Look, I should have accounting information about the client (for example all the attributes I need for disconnection) in the radacct table, right? Which ones? The one I past belowatleast, that at the moment are going to a file in "/var/log/freeradius/radacct" Tue Mar 27 09:57:42 2012 Acct-Status-Type = Accounting-On NAS-Identifier = "MikroTik" Acct-Delay-Time = 0 NAS-IP-Address = 192.168.1.11 Acct-Unique-Session-Id = "44c5e5334885d97c" Timestamp = 1332835062 Request-Authenticator = Verified Tue Mar 27 10:12:10 2012 Acct-Status-Type = Accounting-On NAS-Identifier = "MikroTik" Acct-Delay-Time = 0 NAS-IP-Address = 192.168.1.11 Acct-Unique-Session-Id = "44c5e5334885d97c" Timestamp = 1332835930 Request-Authenticator = Verified Tue Mar 27 10:30:48 2012 Acct-Status-Type = Accounting-On NAS-Identifier = "MikroTik" Acct-Delay-Time = 0 NAS-IP-Address = 192.168.1.11 Acct-Unique-Session-Id = "44c5e5334885d97c" Timestamp = 1332837048 Request-Authenticator = Verified Tue Mar 27 10:57:16 2012 Acct-Status-Type = Accounting-On NAS-Identifier = "MikroTik" Acct-Delay-Time = 0 NAS-IP-Address = 192.168.1.11 Acct-Unique-Session-Id = "44c5e5334885d97c" Timestamp = 1332838636 Request-Authenticator = Verified 2nd. I have Freeradius in debug mode, and the output is attached but I can't see where is the problem. I hope it's the information you wanted and you can help me. Best regards -----Original Message----- From: freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: martes, 27 de marzo de 2012 10:53 To: FreeRadius users mailing list Subject: Re: FW: Radacct table not working properly Javier Ruiz Escalante wrote:
I send radius packets, (as long as I know...) I have a hotspot from Mikrotik and I have Radius configured, my client logs on and the information sent by MKT goes to a file but not to radacct table.
First, figure out exactly what's going on. "Information" is meaningless. Do you mean RADIUS accounting packets? And "goes to a file" is also meaningless. Which file? Why? And, AS ALWAYS, run the server in debugging mode to see what's going on. It's really not that hard. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Javier Ruiz Escalante wrote:
Look, I should have accounting information about the client (for example all the attributes I need for disconnection) in the radacct table, right?
So... rather than following instructions, you asked another question.
Which ones? The one I past belowatleast, that at the moment are going to a file in "/var/log/freeradius/radacct"
Ok... that's a step ahead. You know which files it's logging to. What else is going on? Alan DeKok.
Hello, It's solved, It was from Mikrotik, the option "Accounting" has to be marked. Thanks Alan!! -----Original Message----- From: freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: martes, 27 de marzo de 2012 10:53 To: FreeRadius users mailing list Subject: Re: FW: Radacct table not working properly Javier Ruiz Escalante wrote:
I send radius packets, (as long as I know...) I have a hotspot from Mikrotik and I have Radius configured, my client logs on and the information sent by MKT goes to a file but not to radacct table.
First, figure out exactly what's going on. "Information" is meaningless. Do you mean RADIUS accounting packets? And "goes to a file" is also meaningless. Which file? Why? And, AS ALWAYS, run the server in debugging mode to see what's going on. It's really not that hard. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Javier Ruiz Escalante -
Phil Mayers