Hi all sorry for my english. i'm running a freeradius server on FreeBSD and i wanted to test it but it doesn't work and i don't know why. i have tried this command : *radtest yhsina yhsina @IPserver 1 testing123. * *yhsina* is a user who is located in a LDAP server. it give me this thing : radclient: no reponse from server for ID 107 have any idea please thank for your help in advance. Uness
Hi,
Hi all sorry for my english. i'm running a freeradius server on FreeBSD and i wanted to test it but it doesn't work and i don't know why. i have tried this command : *radtest yhsina yhsina @IPserver 1 testing123.
radtest username password servername 1812 serversecret eg radtest yhsina yhsina IPserver 1812 testing123
radclient: no reponse from server for ID 107 have any idea please
firewall? Is FreeRADIUS actually running? I would advise that you have 2 terminal windows open, one running radiusd -X the other running your radtest. then you can see whats happening alan
Hi again,i don't have a graphic mode so i can't run 2 terminal. i think that my freeradius server is running cause when i make this command : *# /usr/local/etc/rc.d/radiusd status* *Th Mai 24 12:32:00 2008: Info: Starting - reading configuration files ... *normaly it is running but i still have the same probelem i can't test my server. for the firewall i don't know how can i verify if there is a firewall or not thank you for your help again uness. 2008/5/20 <A.L.M.Buxey@lboro.ac.uk>:
Hi,
Hi all sorry for my english. i'm running a freeradius server on FreeBSD and i wanted to test it but it doesn't work and i don't know why. i have tried this command : *radtest yhsina yhsina @IPserver 1 testing123.
radtest username password servername 1812 serversecret
eg
radtest yhsina yhsina IPserver 1812 testing123
radclient: no reponse from server for ID 107 have any idea please
firewall? Is FreeRADIUS actually running? I would advise that you have 2 terminal windows open, one running
radiusd -X
the other running your radtest. then you can see whats happening
alan
Hi,
Hi again,i don't have a graphic mode so i can't run 2 terminal. i think that my freeradius server is running cause when i make this command
who uses graphics? "man screen" - you can pop between multiple console sessions with ease...with a single window. you MUST run radiusd in proper, full debug mode...otherwise you cannot see why it is failing. and to be honest I think its probably a directory/file permission error..and its dying without you knowing. test this thoery easily, run your radiusd startup script...and then ps aux | grep radius see a process running? alan
thank for you response. i started my radiusd and then i tried : ps aux | grep radius i have no proccess running even radiusd server is starting regards, uness 2008/5/20 <A.L.M.Buxey@lboro.ac.uk>:
Hi,
Hi again,i don't have a graphic mode so i can't run 2 terminal. i think that my freeradius server is running cause when i make this command
who uses graphics? "man screen" - you can pop between multiple console sessions with ease...with a single window.
you MUST run radiusd in proper, full debug mode...otherwise you cannot see why it is failing. and to be honest I think its probably a directory/file permission error..and its dying without you knowing. test this thoery easily, run your radiusd startup script...and then
ps aux | grep radius
see a process running?
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- HSINA Youness Etudiant R&T - IUT--Velizy 78140 Tél : 06.28.73.76.75
Hi,
thank for you response.
i started my radiusd and then i tried : ps aux | grep radius i have no proccess running even radiusd server is starting
okay. now run, as the user that you have configured radiusd to run as (eg 'radiusd') the radiusd eg
su - radiusd radiusd -x
this will show you why its failing. as said before, suspect 100% file permissions - either on eg /var/log/radiusd type files or /var/run/radiusd/ directory etc alan
Whene i run this command :
radiusd -x
in the end i have : *Ready to process requests* it means that the server is running corrcetly and waiting for requests . but i still don't know why the test doesnt work
this will show you why its failing. as said before, suspect 100% file permissions - either on eg /var/log/radiusd type files or /var/run/radiusd/ directory etc
which permission shoud i give to these files and how can i do it ? thank you for your help
Hi,
Whene i run this command :
radiusd -x
in the end i have : *Ready to process requests*
did you do that as root, or as the user defined in radiusd.conf? if done as root, then it would work.
which permission shoud i give to these files and how can i do it ? thank you for your help
none, until you know what is going wrong! dont make changes unless you know the issue. blindly making config and permission changes will mess things up. alan
i did this as root . for information i have an ldap server wich contains my users. i have find an error in my log file : *rlm_ldap: connection attempt failed* *rlm_ldap: could not start TLS can't contact ldap server* regards, uness
Hi,
i did this as root .
do you run the server as root though? what does radiusd.conf say? what do your init scripts say?
for information i have an ldap server wich contains my users. i have find an error in my log file : *rlm_ldap: connection attempt failed* *rlm_ldap: could not start TLS can't contact ldap server*
that wont help... and if your users are only available by that method..and its cannot be contacted then you will get timeouts alan
i run the server as root . i can't give you c coupy f my radiusd.conf file, because i'm running the server in a machine with no graphic mode. for init script, i hav this thing : Tue May 20 16:06:03 2008: Info: Starting - reading configuration files ... thank for your help , uness
Hi,
i can't give you c coupy f my radiusd.conf file, because i'm running the server in a machine with no graphic mode.
I dont want a copy of the radiusd.conf - just what the user/group entries state in that file. and to send someone a copy, simply copy the config to the system you are emailing from and then 'insert' it - with my emailer (mutt) i use 'vi' as my editor, esc :a filename.txt - done. config in file, or use mutt, sending email page. press a to attach. cant blame technology when its capable of doing the task! :-)
for init script, i hav this thing :
Tue May 20 16:06:03 2008: Info: Starting - reading configuration files ...
thats not the init script, thats the output - once again, what does the rc.d/radiusd script DO? alan
participants (2)
-
A.L.M.Buxey@lboro.ac.uk -
youness hsina