New install does not respond to requests
hey all we just upgraded from 1.x.x to latest version of FreeRadius unfortunately its aint working :( well i see config files have changed dramatically so maybe i did something wrong. What we did we installed everything, unquoted SQL module in dadiusd.config add proper MySQL info When i start in -X mode i don't see any errors but the half of the log is cut off (i guess output is too long) When I send request i'm getting response that client is unknown. (I did add nas info in the nas table) I fugue that SQL statements are not executed but how can i debug that? In sql config i enabled detailed output but it still does not show anything. I guess i'm doing something wrong and I hope i can get some help here? Thanks a lot!
When i start in -X mode i don't see any errors but the half of the log is cut off (i guess output is too long)
So send the output to a file.
When I send request i'm getting response that client is unknown. (I did add nas info in the nas table)
Did you enable readclients in sql.conf?
I fugue that SQL statements are not executed but how can i debug that?
radiusd -X. It will show which clients are read from the nas table. Ivan Kalik Kalik Informatika ISP
Ok readclients was not enabled :( Still enabling that did not help. (I did restart the server after enabling it ;-) How do I output screen to file? I tried radiusd -X >radius_log.txt but that just didnt execure anything :( tnx for helping On Mon, Sep 28, 2009 at 6:03 PM, Ivan Kalik <tnt@kalik.net> wrote:
When i start in -X mode i don't see any errors but the half of the log is cut off (i guess output is too long)
So send the output to a file.
When I send request i'm getting response that client is unknown. (I did add nas info in the nas table)
Did you enable readclients in sql.conf?
I fugue that SQL statements are not executed but how can i debug that?
radiusd -X. It will show which clients are read from the nas table.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
Ok readclients was not enabled :( Still enabling that did not help. (I did restart the server after enabling it ;-)
How do I output screen to file? I tried radiusd -X >radius_log.txt but that just didnt execure anything :(
you can do multiple way 'script' or 'screen'; can be used - script will dump all output to a file.. but you must exit the session cleanly so the file is readable and nothing still buffered. screen will easily let you leave/join the session - handy if you only have one access terminal as for 'ddint excute anything'; - are you sure? it should dump to radius_log.txt in the background you may not see any output at all on the screen...control-C to quit the process and then read the file alan
Hi,
unfortunately its aint working :( well i see config files have changed dramatically so maybe i did something wrong.
so long as you didnt just paste the old configs over you'll be okay
What we did we installed everything, unquoted SQL module in dadiusd.config add proper MySQL info
When i start in -X mode i don't see any errors but the half of the log is cut off (i guess output is too long) When I send request i'm getting response that client is unknown. (I did add nas info in the nas table)
where are your clients defined (NAS) - in clients.conf or in MySQL table? you need to check the debug log thoroughly - it will tell you where things arent right. for example, did you see a list of clients when it started up? if not, its not using NAS table - check the dialup.conf file for the MySQL to see if read_clients is yes etc. alan
Alex M wrote:
When i start in -X mode i don't see any errors but the half of the log is cut off (i guess output is too long)
What does that mean? If half the log is missing, it's because the configuration is wrong.
I fugue that SQL statements are not executed but how can i debug that?
Debug mode? It's suggested rather often...
In sql config i enabled detailed output but it still does not show anything. I guess i'm doing something wrong and I hope i can get some help here?
See the FAQ for "it doesn't work" Alan DeKok.
participants (4)
-
Alan Buxey -
Alan DeKok -
Alex M -
Ivan Kalik