Couldn't stop Freeradius server on Debian!!
Dear All, I installed freeradius 1.1.0-1 on a debian system (2.6.15-1-686, etch) 2 days ago, via "aptitude install". The radius server started well automatically and each time when the system booting. But when I wanted to stop it for some test on my modified configuration files, I got trouble to stop the server! I tried to stop the server using command: 'freeradius stop' ('radiusd' command doesn't work on this debian system - anyone knows why this behavior??) But so werid, no matter what command I gave, with parameter stop|start|restart or even just a question mark(?), the server ALWAYS goes to START again!! even though from the /etc/init.d/freeradius I can read that the 'stop' param should stop the server! Can anyone tell me why the command doesn't stop the server and how should I stop it from command line?? The log file shows entries like this for each of my trying, even the command given was to "stop" it: Tue Apr 4 01:14:13 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Tue Apr 4 01:14:13 2006 : Error: There appears to be another RADIUS server running on the authenticat What is happenning here? Also, from the log file I noticed: for each system automatically started freeradius server deamon, it is "Using deprecated naslist file"! The log entries show like this: Fri Mar 31 13:51:54 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Fri Mar 31 13:51:54 2006 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Fri Mar 31 13:51:55 2006 : Info: Ready to process requests. Can anyone tell me what is happenning here? Why it keeps using the deprecating naslist file? But the installed radiusd.conf file doesn't show the server will use the naslist file at all! How can I stop the server to use this deprecating file? Also what does the 2nd line of the above log entries mean? Any help would be greatly appreciated! I am very much obliged for any of your help!! Thanks a lot!! Best regrads, leo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue 04 Apr 2006 20:17, lmyho wrote:
Dear All,
I installed freeradius 1.1.0-1 on a debian system (2.6.15-1-686, etch) 2 days ago, via "aptitude install". The radius server started well automatically and each time when the system booting. But when I wanted to stop it for some test on my modified configuration files, I got trouble to stop the server! I tried to stop the server using command: 'freeradius stop'
"/etc/init.d/freeradius stop" works fine on Debian as you would expect. You appear to be directly calling the freeradius binary however which unlike the init script doesn't have a stop (or start) option. Am I correct in saying that you are fairly new to linux/unix? This is pretty standard for most systems..
('radiusd' command doesn't work on this debian system - anyone knows why this behavior??)
Debian rename the binary to fit with Debian packaging rules.
But so werid, no matter what command I gave, with parameter stop|start|restart or even just a question mark(?), the server ALWAYS goes to START again!! even though from the /etc/init.d/freeradius I can read that the 'stop' param should stop the server! Can anyone tell me why the command doesn't stop the server and how should I stop it from command line??
See above.
The log file shows entries like this for each of my trying, even the command given was to "stop" it:
Tue Apr 4 01:14:13 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Tue Apr 4 01:14:13 2006 : Error: There appears to be another RADIUS server running on the authenticat
What is happenning here?
See above.
Also, from the log file I noticed: for each system automatically started freeradius server deamon, it is "Using deprecated naslist file"! The log entries show like this:
Fri Mar 31 13:51:54 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Fri Mar 31 13:51:54 2006 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Fri Mar 31 13:51:55 2006 : Info: Ready to process requests.
Can anyone tell me what is happenning here?
Everything is working as expected.
Why it keeps using the deprecating naslist file?
Because it exists.
But the installed radiusd.conf file doesn't show the server will use the naslist file at all! How can I stop the server to use this deprecating file?
delete it (rm /etc/freeradius/naslist)
Also what does the 2nd line of the above log entries mean?
Ignore it.
Any help would be greatly appreciated! I am very much obliged for any of your help!! Thanks a lot!!
You're welcome.. I suggest you read up a little on linux init scripts however, and things will become clearer. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Thanks Peter! Please see below: --- Peter Nixon <listuser@peternixon.net> wrote:
On Tue 04 Apr 2006 20:17, lmyho wrote:
Dear All,
I installed freeradius 1.1.0-1 on a debian system (2.6.15-1-686, etch) 2 days ago, via "aptitude install". The radius server started well automatically and each time when the system booting. But when I wanted to stop it for some test on my modified configuration files, I got trouble to stop the server! I tried to stop the server using command: 'freeradius stop'
"/etc/init.d/freeradius stop" works fine on Debian as you would expect. You appear to be directly calling the freeradius binary however which unlike the init script doesn't have a stop (or start) option. No, "/etc/init.d/freeradius stop" doesn't work! Please see the screen output for my just trying: Debian:/etc/init.d# freeradius stop Tue Apr 4 12:20:48 2006 : Info: Starting - reading configuration files ... Debian:/etc/init.d#
You can see that the command I gave was correct as you indicated, but the result is starting... :( __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue 04 Apr 2006 21:27, lmyho wrote:
Thanks Peter! Please see below:
--- Peter Nixon <listuser@peternixon.net> wrote:
On Tue 04 Apr 2006 20:17, lmyho wrote:
Dear All,
I installed freeradius 1.1.0-1 on a debian system (2.6.15-1-686, etch) 2 days ago, via "aptitude install". The radius server started well automatically and each time when the system booting. But when I wanted to stop it for some test on my modified configuration files, I got trouble to stop the server! I tried to stop the server using command: 'freeradius stop'
"/etc/init.d/freeradius stop" works fine on Debian as you would expect. You appear to be directly calling the freeradius binary however which unlike the init script doesn't have a stop (or start) option.
No, "/etc/init.d/freeradius stop" doesn't work! Please see the screen output for my just trying: Debian:/etc/init.d# freeradius stop Tue Apr 4 12:20:48 2006 : Info: Starting - reading configuration files ... Debian:/etc/init.d# ------------------------ You can see that the command I gave was correct as you indicated, but the result is starting... :(
The command you gave is not correct! Either use the full command that I gave you above, or if you want to run something from the local directory like you are trying to, then use ./freeradius stop Just typing "freeradius stop" will use the freeradius binary from your path NOT from the current dir. Type "which freeradius" if you want to see what you are executing currently... Like I said, you need to read up a little more on how unix/linux works. Its normal, as a newbie you are not expected to know everything all at once but please DO listen and do what people tell you when they try to help you :-) -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
...
The command you gave is not correct! Either use the full command that I gave you above, or if you want to run something from the local directory like you are trying to, then use ./freeradius stop
Just typing "freeradius stop" will use the freeradius binary from your path NOT from the current dir. Type "which freeradius" if you want to see what you are executing currently...
Like I said, you need to read up a little more on how unix/linux works. Its normal, as a newbie you are not expected to know everything all at once but please DO listen and do what people tell you when they try to help you :-)
Thank you Peter!! Will listen! Certainly! for my mistake, please excuse.:) and will ask more help from all of you!:) Best regards, leo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Sorry Peter! I just tried again '/etc/init.d/freeradius stop' and it worked! Appologize! So 'Debian:/etc/init.d# freeradius stop ' is different from '/etc/init.d/freeradius stop'. :) --- Peter Nixon <listuser@peternixon.net> wrote:
On Tue 04 Apr 2006 20:17, lmyho wrote:
Dear All,
I installed freeradius 1.1.0-1 on a debian system (2.6.15-1-686, etch) 2 days ago, via "aptitude install". The radius server started well automatically and each time when the system booting. But when I wanted to stop it for some test on my modified configuration files, I got trouble to stop the server! I tried to stop the server using command: 'freeradius stop'
"/etc/init.d/freeradius stop" works fine on Debian as you would expect. You appear to be directly calling the freeradius binary however which unlike the init script doesn't have a stop (or start) option.
Am I correct in saying that you are fairly new to linux/unix? This is pretty standard for most systems..
('radiusd' command doesn't work on this debian system - anyone knows why this behavior??)
Debian rename the binary to fit with Debian packaging rules.
But so werid, no matter what command I gave, with parameter stop|start|restart or even just a question mark(?), the server ALWAYS goes to START again!! even though from the /etc/init.d/freeradius I can read that the 'stop' param should stop the server! Can anyone tell me why the command doesn't stop the server and how should I stop it from command line??
See above.
The log file shows entries like this for each of my trying, even the command given was to "stop" it:
Tue Apr 4 01:14:13 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Tue Apr 4 01:14:13 2006 : Error: There appears to be another RADIUS server running on the authenticat
What is happenning here?
See above.
Also, from the log file I noticed: for each system automatically started freeradius server deamon, it is "Using deprecated naslist file"! The log entries show like this:
Fri Mar 31 13:51:54 2006 : Info: Using deprecated naslist file. Support for this will go away soon. Fri Mar 31 13:51:54 2006 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Fri Mar 31 13:51:55 2006 : Info: Ready to process requests.
Can anyone tell me what is happenning here?
Everything is working as expected.
Why it keeps using the deprecating naslist file?
Because it exists.
But the installed radiusd.conf file doesn't show the server will use the naslist file at all! How can I stop the server to use this deprecating file?
delete it (rm /etc/freeradius/naslist)
Also what does the 2nd line of the above log entries mean?
Ignore it.
Any help would be greatly appreciated! I am very much obliged for any of your help!! Thanks a lot!!
You're welcome.. I suggest you read up a little on linux init scripts however, and things will become clearer.
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Tue 04 Apr 2006 21:32, lmyho wrote:
Sorry Peter! I just tried again '/etc/init.d/freeradius stop' and it worked! Appologize! So 'Debian:/etc/init.d# freeradius stop ' is different from '/etc/init.d/freeradius stop'. :)
Yes. Welcome to unix... Unlike DOS, the current working directory is NOT in the PATH unless you specifically add it (which you shouldn't because it is a bad idea for security reasons) In future you should ask these questions on the users list. This list if for development discussion... Have fun :-) -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
On Wed 05 Apr 2006 09:39, Peter Nixon wrote:
On Tue 04 Apr 2006 21:32, lmyho wrote:
Sorry Peter! I just tried again '/etc/init.d/freeradius stop' and it worked! Appologize! So 'Debian:/etc/init.d# freeradius stop ' is different from '/etc/init.d/freeradius stop'. :)
Yes. Welcome to unix... Unlike DOS, the current working directory is NOT in the PATH unless you specifically add it (which you shouldn't because it is a bad idea for security reasons)
In future you should ask these questions on the users list. This list if for development discussion...
Ahh.. I just scanned the users list, and realised that you HAD asked the question there, but had not received the correct answer. Oh well. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
--- Peter Nixon <listuser@peternixon.net> wrote:
On Wed 05 Apr 2006 09:39, Peter Nixon wrote:
On Tue 04 Apr 2006 21:32, lmyho wrote:
Sorry Peter! I just tried again '/etc/init.d/freeradius stop' and it worked! Appologize! So 'Debian:/etc/init.d# freeradius stop ' is different from '/etc/init.d/freeradius stop'. :)
Yes. Welcome to unix... Unlike DOS, the current working directory is NOT in the PATH unless you specifically add it (which you shouldn't because it is a bad idea for security reasons)
In future you should ask these questions on the users list. This list if for development discussion...
Ahh.. I just scanned the users list, and realised that you HAD asked the question there, but had not received the correct answer. Oh well.
That's why I need to ask the developer team for the correct answer! :) Thanks again! And I like the "security reasons" idea - like an excuse,;) but true! Hope to still get wonderful help fromhere in the future, when necessary! :) Regards, leo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (2)
-
lmyho -
Peter Nixon