Radtest failes on new installation. System: FreeBSD6.0-RELEASE
Godday. I have installed the latest Freeradius on a FreeBSD6.0 box. The installations goes fine and I'm for the initial tests. I start up the server with "radiusd -X" to get the initial debugging information. The server starts up just fine and doesn't produce any warnings or errors. Eventually it says "ready for prosessing" In another window i do the "radtest test test localhost 0 testing123" This is were the strage part comes in. In the "debug" window i don't see anything. In the command windows i get the response "radclient: Xfailed to get value" So, i dig a little deeper and fire up another window where fire up tcpdump. When doing the ocmmand i will get the "radclient: ....." but no output from tcpdump nor from the debug window. This is where I'm stuck. Is this something related to FreeBSD 6.0? Since the most people recommend doing small changes to configs and then test connectivity in order to not break anything I haven't made any changes whatsoever to my configs. Well, that's about it. Thanks in advance for any ideas,tips or pointers /Goran
"=?ISO-8859-1?Q?G=F6ran_Nilsson?=" <goran.nilsson@gmail.com> wrote:
So, i dig a little deeper and fire up another window where fire up tcpdump. When doing the ocmmand i will get the "radclient: ....." but no output from tcpdump nor from the debug window.
Try doing 'ktrace radclient', to see what it's doing. It looks like it isn't even reading the dictionaries. Barring that, read the source to see why it says "failed to get value" Alan DeKok.
Well, i just skipped the part and installed ntradping on another computer and got response from it. First i couldn't get "System" to work. After som further investigation it turned out that "nobody:nobody" that i runned the radiusd didn't have the rights to execute some file. What file it was im not sure. Anyway it worked when comment out the nobody user and group. Doesn anyone know what files that nobody should have execute perms on? Couldn't find anything in the docs about it. /Goran On 7/4/06, Alan DeKok <aland@nitros9.org> wrote:
"=?ISO-8859-1?Q?G=F6ran_Nilsson?=" <goran.nilsson@gmail.com> wrote:
So, i dig a little deeper and fire up another window where fire up tcpdump. When doing the ocmmand i will get the "radclient: ....." but no output from tcpdump nor from the debug window.
Try doing 'ktrace radclient', to see what it's doing. It looks like it isn't even reading the dictionaries.
Barring that, read the source to see why it says "failed to get value"
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
"=?ISO-8859-1?Q?G=F6ran_Nilsson?=" <goran.nilsson@gmail.com> wrote:
Anyway it worked when comment out the nobody user and group. Doesn anyone know what files that nobody should have execute perms on? Couldn't find anything in the docs about it.
raddb/radiusd.conf, look for the "user" entry you commented out. The comments a few lines above explain this. Alan DeKok.
participants (2)
-
Alan DeKok -
Göran Nilsson