Project

General

Profile

Actions

Bug #7965

closed

freeradius 3 with MySQL

Added by Konstantin Ab over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FreeRADIUS
Target version:
-
Start date:
10/17/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

sorry, I will duplicate issue 7947, BUT i think this is a 100% bug. Please, let's take it seriously.

I'm upgrading from 2.3.4 to and I tried a clean installation of 2.4.

FreeRadius3 width checked MYSQL - not worked!

Oct 16 10:47:45 radiusd 26285 /usr/local/etc/raddb/sites-enabled/default[142]: Failed to find "daily" as a module or policy.
Oct 16 10:47:45 radiusd 26285 /usr/local/etc/raddb/sites-enabled/default[142]: Please verify that the configuration exists in /usr/local/etc/raddb/mods-enabled/daily.
Oct 16 10:47:45 radiusd 26285 /usr/local/etc/raddb/sites-enabled/default[127]: Errors parsing accounting section.

I'm editing /usr/local/etc/raddb/sites-enabled/default , section "accounting":

accounting {
......
  1. sql DISABLED ###
    -daily
    -weekly
    -monthly
    -forever

Only this edit allows you to start the freeradius with MYSQL!!! I NOT USE ACCOUNTING! This parsing error!!!

the "-" sign indicates that the module is loaded if it is configured. In log:

Oct 18 11:12:01 radiusd 58508 [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT".
Oct 18 11:12:01 radiusd 58508 [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT".
Oct 18 11:12:01 radiusd 58508 Loaded virtual server <default>
Oct 18 11:12:01 radiusd 58508 Ignoring "daily" (see raddb/mods-available/README.rst)
Oct 18 11:12:01 radiusd 58508 Ignoring "weekly" (see raddb/mods-available/README.rst)
Oct 18 11:12:01 radiusd 58508 Ignoring "monthly" (see raddb/mods-available/README.rst)

it turns out, these modules "by default" are not configured?

AND BUG №2:
i'm upgraded server from 2.3.4 to 2.4 and radius to freeradius 3.
I use 2 servers MYSQL in reduntant mode.
After upgrade AND uncheck mysql №2 - freeradius writes an error in the log:

Oct 18 11:03:13 radiusd 62974 /usr/local/etc/raddb/sites-enabled/default[45]: Failed to find "sql2" as a module or policy.
Oct 18 11:03:13 radiusd 62974 /usr/local/etc/raddb/sites-enabled/default[45]: Please verify that the configuration exists in /usr/local/etc/raddb/mods-enabled/sql2.
Oct 18 11:03:13 radiusd 62974 /usr/local/etc/raddb/sites-enabled/default[45]: Failed to parse "sql2" entry.
Oct 18 11:03:13 radiusd 62974 /usr/local/etc/raddb/sites-enabled/default[8]: Errors parsing authorize section.
Oct 18 11:03:13 radiusd 62974 Failed to load virtual server default

on this server I do not edited files

Actions

Also available in: Atom PDF