Hi, I just migrated my radius from Cistron to freeradius. It's working fine as far as authenticating our dialups goes. I do have one concern though, because this shouldn't be happening (at least I don't think so). If I were to restart the radius daemon now, all would be well: Thu Jul 19 10:53:51 2007 : Info: Using deprecated naslist file. Support for this will go away soon. Thu Jul 19 10:53:51 2007 : Info: Using deprecated realms file. Support for this will go away soon. Thu Jul 19 10:53:51 2007 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Thu Jul 19 10:53:51 2007 : Info: Ready to process requests. But if I make changes to my users file (and accidently make a mistake), I get errors regarding that of course when I restart radius, but I also get errors regarding the radiusd.conf file. For example, this morning I left off a comma at the end of a line. Thu Jul 19 10:13:10 2007 : Info: Using deprecated naslist file. Support for this will go away soon. Thu Jul 19 10:13:10 2007 : Info: Using deprecated realms file. Support for this will go away soon. Thu Jul 19 10:13:10 2007 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Thu Jul 19 10:13:10 2007 : Error: /usr/local/etc/raddb/users[4375]: Syntax error: Previous line is missing a trailing comma for entry bruce Thu Jul 19 10:13:10 2007 : Error: Errors reading /usr/local/etc/raddb/users Thu Jul 19 10:13:10 2007 : Error: radiusd.conf[1067]: files: Module instantiation failed. Thu Jul 19 10:13:10 2007 : Error: radiusd.conf[1852] Unknown module "files". Thu Jul 19 10:13:10 2007 : Error: radiusd.conf[1788] Failed to parse authorize section. I correct the error in the users file and get no more complaints regarding radiusd.conf Why? Lisa Casey
Lisa Casey wrote:
But if I make changes to my users file (and accidently make a mistake), I get errors regarding that of course when I restart radius, but I also get errors regarding the radiusd.conf file.
No, those errors are saying "radiusd.conf says to load the files module, which says to load the users file, but something went wrong".
I correct the error in the users file and get no more complaints regarding radiusd.conf
Why?
If something goes wrong with your car, a little red light often shows up on the dashboard. But the light isn't the problem, it's just the complaint about the problem. The same thing applies here. Alan DeKok.
Lisa Casey said:
I correct the error in the users file and get no more complaints regarding radiusd.conf
Why?
I've noticed this as well. I've always assumed it's a knock-on effect from the error in the users file. Same way missing a quote or a semi colon in something like perl can cause dozens of knock on errors that go away when you fix the actual problem. The configuration parsing in freeradius is very complex, so it wouldn't be surprising if a formatting error causes a 'cascade effect'. Or it might be because if the users file can't be read, then the 'files' module isn't instantiated. Bottom line, I wouldn't worry about it. In fact, I don't worry about it. Fix the users file, everything works. :-)
Lisa Casey
-- hugh
participants (3)
-
Alan DeKok -
Hugh Messenger -
Lisa Casey