Hi there, Anyone have any experience implementing the module coa_relay? I have FreeRadius V3.0 installed and I am trying to send COA disconnect requests from a program to each NAS (Cambium access points). I currently able to manually send COA disconnects using the radclient command directly to the IP address of each AP. I would like to use the COA relay module so that I can run a script to automatically disconnect a user based on mac address, and send the COA disconnect request to the appropriate access points (NAS). I enabled the module, however I am getting the following error when starting the FreeRadius server: Failed to parse “detail_coa.accounting” I have the detail module enabled in sites-available/. Any ideas? Thanks Nick Harney Nickologic LLC PO Box 164, Sunset Beach, CA 90742
Nick Harney via Freeradius-Users <freeradius-users@lists.freeradius.org> writes:
I enabled the module, however I am getting the following error when starting the FreeRadius server: Failed to parse “detail_coa.accounting”
There are pretty clear instructions given in raddb/sites-available/coa-relay: # In addition to configuring and activating this site, a detail # writer module must be configured in mods-enabled: # # detail detail_coa { # filename = ${radacctdir}/detail_coa # escape_filenames = no # permissions = 0600 # header = "%t" # locking = yes # } # Did you do that?
I have the detail module enabled in sites-available/.
This makes no sense whatsoever. "detail" != "detail_coa" "available" != "enabled" "sites" != "mods" Bjørn
Hi there, Yes, I enabled the writer module. I'm sorry, I meant to say I have the detail module enabled in mods-enabled Thank you On 4/15/23, 1:27 AM, "Bjørn Mork" <bjorn@mork.no <mailto:bjorn@mork.no>> wrote: Nick Harney via Freeradius-Users <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> writes:
I enabled the module, however I am getting the following error when starting the FreeRadius server: Failed to parse “detail_coa.accounting”
There are pretty clear instructions given in raddb/sites-available/coa-relay: # In addition to configuring and activating this site, a detail # writer module must be configured in mods-enabled: # # detail detail_coa { # filename = ${radacctdir}/detail_coa # escape_filenames = no # permissions = 0600 # header = "%t" # locking = yes # } # Did you do that?
I have the detail module enabled in sites-available/.
This makes no sense whatsoever. "detail" != "detail_coa" "available" != "enabled" "sites" != "mods" Bjørn
On Apr 16, 2023, at 2:53 PM, Nick Harney via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
Yes, I enabled the writer module.
I'm sorry, I meant to say I have the detail module enabled in mods-enabled
Please post the debug output as suggested in all of the documentation. The email you get when you join the list also says this. Alan DeKok.
Debug Output: /etc/freeradius/3.0/sites-enabled/coa-relay[163]: Failed to find "detail_coa.accounting" as a module or policy. /etc/freeradius/3.0/sites-enabled/coa-relay[163]: Please verify that the configuration exists in /etc/freeradius/3.0/mods-enabled/detail_coa.accounting. /etc/freeradius/3.0/sites-enabled/coa-relay[163]: Failed to parse "detail_coa.accounting" entry. /etc/freeradius/3.0/sites-enabled/coa-relay[162]: Failed to parse "if" subsection. /etc/freeradius/3.0/sites-enabled/coa-relay[134]: Failed to parse "if" subsection. /etc/freeradius/3.0/sites-enabled/coa-relay[133]: Failed to parse "foreach" subsection. /etc/freeradius/3.0/sites-enabled/coa-relay[95]: Errors parsing recv-coa section. On 4/16/23, 1:46 PM, "Alan DeKok" <aland@deployingradius.com <mailto:aland@deployingradius.com>> wrote: On Apr 16, 2023, at 2:53 PM, Nick Harney via Freeradius-Users <freeradius-users@lists.freeradius.org <mailto:freeradius-users@lists.freeradius.org>> wrote:
Yes, I enabled the writer module.
I'm sorry, I meant to say I have the detail module enabled in mods-enabled
Please post the debug output as suggested in all of the documentation. The email you get when you join the list also says this. Alan DeKok.
On Apr 16, 2023, at 5:09 PM, Nick Harney <nick@nickologic.com> wrote:
Debug Output:
/etc/freeradius/3.0/sites-enabled/coa-relay[163]: Failed to find "detail_coa.accounting" as a module or policy. /etc/freeradius/3.0/sites-enabled/coa-relay[163]: Please verify that the configuration exists in /etc/freeradius/3.0/mods-enabled/detail_coa.accounting.
That message seems pretty clear. What else needs to be explained? And I really don't understand what you're doing here. Every message you've posted so is vague, incorrect, or fails to follow the documentation. What I would suggest is giving a descriptive (and correct) explanation of what you did, and what problem you're running into. I'd also suggest actually reading the documentation, and following the instructions in it. If you're not going to follow the recommendations (and include the debug output... ALL OF THE DEBUG OUTPUT), then I don't see why you're posting messages here. We can't help you if you insist on giving as little information as possible, or wrong information. Alan DeKok.
participants (3)
-
Alan DeKok -
Bjørn Mork -
Nick Harney